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
EditorJsImageUploaded
event that triggers when an image is uploaded, via #98 by @woeler. - Added
EditorJsThumbnailCreated
event 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.url
inviews/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-fixer
for code standards. - Added
php-parallel-lint
to ensure all files are actually valid PHP code. - Added
pretttier
for 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.initialBlock
in favor ofeditorSettings.defaultBlock
to 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
',paragraph
andtable
to use raw-html statements on cleaned fields.
- NovaEditorJsCast now properly handles JSON, not double-encoding stuff and decoding double-encoded properties.
- Constructor of
NovaEditorJsData
now accepts null values and non-iterables. - PHPDoc return type of
NovaEditorJsData::toHtml()
.
- Support for
spatie/image
version 2.x.
composer.json
didn't require PHP 8.1+, but the codebase did.
- Nova 4 support
NovaEditorJsConverter
to split HTML conversion from the Nova FieldNovaEditorJsData
model to store JSON data and allow easy HTML conversionNovaEditorJsCast
to easily convert between raw data and theNovaEditorJsData
model- JS linter, EditorConfig and other tools for better development
- PHP version requirements changed, now requires PHP 8.1 or higher
NovaEditorJs
facade 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::displayUsing
now recieves aNovaEditorJsData
model - More robust conversion between the model data and the Nova editor field
NovaEditorJs::make
, useNovaEditorJsField::make
instead
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.