bustle / mobiledoc-kit

A toolkit for building WYSIWYG editors with Mobiledoc
https://bustle.github.io/mobiledoc-kit/demo/
MIT License
1.55k stars 151 forks source link

Add deprecation around DOM / Text Renderer removal from mobiledoc-kit #665

Closed rondale-sc closed 5 years ago

rondale-sc commented 5 years ago

In the next major bump I believe we can remove our dependency on Domrenderer and TextRenderer here with little downsides. The standalone repositories would continue to exist as they do today this function would be only for the mobiledoc format which will return a "mobiledoc" that can be passed into the standalone Renderers to reterieve their output.

The main advantage this is that it decouples us from these renderers.

The work that'd need to happen to land this is as follows:

rondale-sc commented 5 years ago

Was looking to remove this in another PR and cross reference. But I've found that we use these renderers to enable copy/paste functionality.

I'm looking into a way to remove these without breaking this functionality, and will update this PR soon to reflect my findings.

You can see more details around this from this commit: https://github.com/bustle/mobiledoc-kit/commit/8a1ae77a390284ac20b6df3f9a67f8132281b8fd