Blocks

Changelog

This project uses a standard versioning system and changelog format.

1.4.3 –

Fixed

  • Fix an issue where the field name will not get set correctly when a field's <input> spans multiple lines.

1.4.2 –

Fixed

  • Fix issue with nested relationships.

1.4.1 –

Fixed

  • Fix PHP warning when a non-searchable atom is added to a block.
  • Fix spacing between block instructions and the block header bar.
  • Fix where large chunks of text get highlighted when double-clicking on a block's header bar to collapse or expand the content.

1.4.0 –

Added

  • Add a 'searchable' option to atoms to allow entries to be searched by block content.
  • Add blocks_post_save hook.

Fixed

  • Require a confirmation when removing a block.

1.3.3 –

Fixed

  • Fix an issue in Firefox where selecting a text box always focused at the beginning of the box rather than where the user clicked.

1.3.2 –

Fixed

  • Fix an issue where a single relationship in a new block would already have a value instead of being empty.

1.3.1 –

Fixed

  • Only collapse block when double clicking on the block header, not anywhere in the block.

1.3.0 —

Added

  • Add the ability to collapse and expand blocks in the editor.

1.2.4 —

Fixed

  • Fix an issue where relationship data does not save in rare situations.
  • Allow null to be returned from fieldtypes and stored in the database.

Changed

  • No longer create a default block for new entries.
  • Remove foreign keys from the database.

1.2.3 —

Fixed

  • Fix an issue where Blocks incorrectly transforms content that contains a name attribute like <a name="something">.

1.2.2 —

Fixed

  • Fix an issue where Blocks swallows entire unrecognized tag pairs.

1.2.1 —

Fixed

  • Remove a var_dump that was adding unwanted output.

1.2.0 —

Added

Fixed

  • Correctly set the 'col_required' flag when instantiating a fieldtype.
  • Fix a PHP error when a newly created block is deleted after a validation error.

Changed

  • Generate the initial block for a new entry on the server instead of in JavaScript.

1.1.3 —

Fixed

  • Fix an issue where content is lost on a validation error.
  • Don't add a new default block when the publish screen is being displayed after a validation error.

1.1.2 —

Fixed

  • Fix an issue with field type settings not displaying properly.

1.1.1 —

Fixed

  • Tell native fieldtypes that Blocks is actually Grid, because it has so many special cases for Grid.

1.1.0 —

Added

Fixed

  • Call save_settings on a field type when no grid_save_settings is available.
  • Call post_save or grid_post_save on field types, when appropriate.

Changed

  • Set atom fieldtypes' content_type property to 'blocks' and the field_id to be the numeric value of the block it is in. This is more consistent with other content types.

1.0.1 —

Added

  • Add support for ExpressionEngine's built in Rich Text Editor.
  • Add markup to the publish entry screen to enable adding custom CSS based on the block type.

Fixed

  • Fix an issue where the add blocks buttons would submit the page rather than adding a block in certain rare occassions.
  • Fix an issue when installing on PHP 5.3.

1.0.0 —

  • Initial release