Skip to content

A package to convert JSON data that Editor.js generates back to html so it can be used.

License

Notifications You must be signed in to change notification settings

maikelmotivo/editorjs-data-converter

Repository files navigation

EditorJS ata Converter

A package to convert JSON data that Editor.js generates back to html so it can be used.

Installation

You can install this package by running the following command in your project:

composer require motivo/editorjs-data-converter

How to use it

To convert the json string so it will return HTML you will need to do the following

resolve(DataConverter::class)->init(json_decode($jsonContent))

Testing

make test

License

The Mozilla Public License Version 2.0 (mpl-2.0). Please see License File for more information.

About

A package to convert JSON data that Editor.js generates back to html so it can be used.

Resources

License

Stars

Watchers

Forks

Packages

No packages published