GrapesJS Issues

3,464 parsed GitHub issues — 370 solved · 90 open. Search, filter and explore battle-tested answers.

211 issues found

🔍 feature
#371October 4, 2017by edwardjiawei3 answers
0 reactions

Enable the default RTE with a custom function

Do my API call correctly, want to add a RTE with custom function to add a link/open new windows/open modal: Command work for fontSize but the dropdown are not aligned and show the option value Command not work for insertHTML. Function not working (Intended/Not a Features) http://grapesjs.com/demo.html I think even com...

artf

Hi @edwardjiawei, it doesn't work because the command: 'tlb' in RichTextEditor.add it's not GrapesJS's Command but the one from execCommand's API (eg. 'fontSize', 'insertHTML', etc.) so currently, you can't attach custom behaviors to RTE....

edwardjiawei

Hopefully support some RTE with more permissive license like MIT or BSD. I guess some companies might even don't choose BSD. CKEditor integration are quite easy, but the license might not be good for some companies. Thanks anyway.

artf

CKEditor is too much big for being the built-in solution (but you can find it as a plugin if you want to use it) I'll probably go with https://github.com/jaredreich/pell this is all its code https://github.com/jaredreich/pell/blob/master/s...