Releases: pavittarx/editorjs-html
Reworked
Nested List Support
The library now supports both normal as well as nested lists.
Feature Updates & Bug Fixes
Feature Updates
parser.parseStrict()
strictly checks for parser functions. It will return an error, if any of the parser function is missing. Theparser.parse()
is still supported and works as well.
2.+ parser.validate()
returns a list of missing parser functions, if any. In case all the functions are provided it returns an empty array.
- Support for the
embed
tag.
Bug Fixes
v3.0.3
fixes
Updates & Fixes
There have been a few minor bug fixes, and other major changes.
-
Custom Error when a Parser Function for given Block Type does not exist
The library will now give you more informative error in case your data contains a block for which a parser function is not available. The error message earlier was not at all descriptive of the underlying issue. -
Full block data to the parser functions
In the earlier versions the parser functions only recieveddata
field of the block, but in some cases or in the future versions ofeditorjs
there might be other fields that might be of use to you. Hence, the full data in the block is passed onto the parser functions to use them as you see fit. -
Pararaph Support & Image Parser Fixed
-
Paragraphs are now supported by default.
-
Image parsing have been fixed.
View Docs: https://github.com/pavittarx/editorjs-html/
-