Editorjs Html Versions Save

A javascript library to parse editorjs clean data to html. It is adaptable and usable in all kind of projects.

v3.4.0

2 years ago

The library now supports both normal as well as nested lists.

v3.2.0

3 years ago

Feature Updates

  1. parser.parseStrict() strictly checks for parser functions. It will return an error, if any of the parser function is missing. The parser.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.

  1. Support for the embed tag.

Bug Fixes

  • The undefined image url tag is fixed. It supports both the previos and newer versions. data.fileand data.file.url.

  • Fixed #24 with feature update 1.

  • Fixed #21, a different parser instace to be created with different parser functions.

v3.0.3

3 years ago
  • The project has been moved to Typescript,
  • Support for Quote Block
  • Major & Minor Bug Fixes

v2.1.0

3 years ago
  • Fixes to default parsing functions
  • Update default parsing fixes to npm

v2.0.0

3 years ago

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 recieved data field of the block, but in some cases or in the future versions of editorjs 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