What’s new

Version 2.4.0

Version 2.3.0

  • Legacy images are converted into Image classes.
  • Tables Fields can now have a caption and CSS class specified.
  • 2.3.2 Added support for clearing cache via the Storyblok Publish webhook. This means the Editor Bridge Blade view has had the JavaScript publish event removed.

Version 2.2.0

Version 2.1.0

  • Added support for the live preview in the visual editor

  • Table fields are now automatically converted to HTML

Version 2.0.0

  • A complete rewrite of the entire package
  • Added new Field classes (previously everything was a Block)
  • Automatically detect common field types such as richtext and assets and convert them into the appropiate format.
  • Remove the need to manually specify markdown and richtext fields
  • Lots of tweaks and bug fixes

Version 1.2.0

  • Blocks now have a parent() method which returns the parent Block or Page if you’re on the root Block
  • Blocks have a page() method returning the Page the block is part of
  • Added Schema.org support using Spatie’s Schema.org package
  • Full Page object is now passed to views

Version 1.1.0

  • Blocks now have a _compontentPath array which includes the current and all parent components. This enables you to work out the context of the current Block.
  • New CssClassses trait that can be used to generated css classes for the current Block, the layout it’s in, it’s parent Blocks etc.
  • Traits added to Blocks can be auto-initialised