All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added Laravel 11 support, via #104 by @woeler.
- Added
EditorJsImageUploadedevent that triggers when an image is uploaded, via #98 by @woeler. - Added
EditorJsThumbnailCreatedevent that triggers when a thumbnail is generated, via #98 by @woeler.
- Changed GitHub Actions to Node v20, via #106 by @roelofr.
- Changed auto-formatter to use PHP 8.3, via #106 by @roelofr.
- Removed Laravel 9 support, via #104 by @woeler.
- Fixed invalid image reference
image.urlinviews/link.blade.php, via #101 by @roelofr.
- Deprecated support for Laravel 8.x. It might still work, but we're not testing it anymore.
- Improve GitHub Actions and test results, via #95 by @roelofr.
- Suport for Laravel 10, via #93 by @Woeler.
- Fixed ignoring the resolveCallbacks on a field, via #83, by @Woeler.
- Guzzle is now a dependency of this project.
- Added
php-cs-fixerfor code standards. - Added
php-parallel-lintto ensure all files are actually valid PHP code. - Added
pretttierfor consistent Markdown files. - Added RTL support (
editorSettings.rtl)
- Improved image upload handling, using Laravel-native libraries
- Improved link metadata retrieval, using Laravel-native libraries
- Deprecated
editorSettings.initialBlockin favor ofeditorSettings.defaultBlockto match EditorJS
- Fixed HTML escaping on list and raw HTML fields. (#80 by @Harrk)
- When no changes are made to the editor, the value is left as-is, instead of double-encoding it (thanks @waelelsawy)
- Templates for
list',paragraphandtableto use raw-html statements on cleaned fields.
- NovaEditorJsCast now properly handles JSON, not double-encoding stuff and decoding double-encoded properties.
- Constructor of
NovaEditorJsDatanow accepts null values and non-iterables. - PHPDoc return type of
NovaEditorJsData::toHtml().
- Support for
spatie/imageversion 2.x.
composer.jsondidn't require PHP 8.1+, but the codebase did.
- Nova 4 support
NovaEditorJsConverterto split HTML conversion from the Nova FieldNovaEditorJsDatamodel to store JSON data and allow easy HTML conversionNovaEditorJsCastto easily convert between raw data and theNovaEditorJsDatamodel- JS linter, EditorConfig and other tools for better development
- PHP version requirements changed, now requires PHP 8.1 or higher
NovaEditorJsfacade for better separation of concerns- Improved README and separated extending docs to separate file
- Updated Laravel Mix to new version
- Updated Vue to version 3
- The
NovaEditorJsField::displayUsingnow recieves aNovaEditorJsDatamodel - More robust conversion between the model data and the Nova editor field
NovaEditorJs::make, useNovaEditorJsField::makeinstead
2.0.3 - 2020-12-07
- Fix for Amazon S3 file support (#49)
2.0.2 - 2020-11-29
- Reduced minimum height of editor (#47)
- Fix for when using an S3 disk (#46)
2.0.0 - 2020-08-03
- Added support for extending the EditorJS field with custom plugins
For older changes before v2.0.0, please see the releases page.