editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

is there a way to convert the clean json data to simple HTML

Open mustafaekim opened this issue 2 years ago • 3 comments

Hi,

I liked the project, thanks for making it available. However I did not understand why the library does not output HTML counterpart as well? There are multiple use cases where we need to convert the clean json data into HTML. I saw that there are some 3rd party parsers but I am not sure how well they would integrate with the plugins that we will implement. Besides, I think that such a core function should be handled by the core library. Why isn't it available in the core, are there any reasoning behind it?

mustafaekim avatar May 25 '22 05:05 mustafaekim

We would love this as a core feature

htmbooks avatar Jun 08 '22 14:06 htmbooks

This would also enable editor.js to be used in the static site generator and (headless) CMS ecosystems, which would be really great.

I'm a bit surprised this isn't a core feature 😅

Semmu avatar Sep 19 '22 12:09 Semmu

Other related discussion: https://github.com/codex-team/editor.js/discussions/1924

Semmu avatar Sep 19 '22 12:09 Semmu