CARVIEW |
Navigation Menu
-
-
Notifications
You must be signed in to change notification settings - Fork 63
Releases: pavittarx/editorjs-html
Reworked
Compare
Project update and overhaul to support better bug fixes and contributions.
- Removed some unnecessary parser methods
- Type Support directly from editorjs package.
- Modularised code for better contributions
- Prettier & Husky for code management
Assets 2
Nested List Support
Compare
The library now supports both normal as well as nested lists.
Assets 2
Feature Updates & Bug Fixes
Compare
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
Assets 2
v3.0.3
Compare
- The project has been moved to Typescript,
- Support for Quote Block
- Major & Minor Bug Fixes
Assets 2
fixes
Compare
- Fixes to default parsing functions
- Update default parsing fixes to npm
Assets 2
Updates & Fixes
Compare
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/
-