bustle / mobiledoc-kit

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

Edit mode by default in plain javascript? #727

Closed willowsokora closed 2 years ago

willowsokora commented 4 years ago

I'm building an editor that only needs to be able to edit cards, not display them. I'm struggling to find a way to do this in plain javascript, can anyone help?

willowsokora commented 4 years ago

I no longer need this feature for my editor, but it would still be nice to have documentation so I’m leaving this open!

gpoitch commented 2 years ago

Since you create the DOM for cards you would just always create the editing DOM. There is a flag you typically check to known whether to render the editing or display mode which you can just ignore

https://github.com/bustle/mobiledoc-kit/blob/master/CARDS.md