Hi. I used many text editors, but i dont why suneditor is so complicated. In your readme, i see only this:
Thats nice, and clean. But why the value of the textarea returns null? I used ckeditor and grapesjs, and all listen for this event. Your editor is soo amazing, but this little thing let me leave for use this editor.
Why this textarea returns null after submit the form?? All other texteditors do this not. Only trix-editor, but there have readme for oberserve the textarea.
I fixed the problem now. But is this line to much for your documentation?
editor.onChange = (contents,core) => {
editor.save()
}
Sorry for Post before, but i need 3 hours to implement your editor, because only this one line of code.
@David-Grass-Feria If you just want to save, you can call the editor.save() method right before saving.
Or maybe you can use the onBlur event.
If you wish, you can also get the values directly by calling the getContents() method.
Sorry for Post before, but i need 3 hours to implement your editor, because only this one line of code.
Yes finding functions in your readme file is not easy.
I will improve the demo site.
@JiHong88 Thanks. Yes it works, but i thing this should part of your documenation. Other question:
How i can sponsor your editor project?? Because its important, that your editor will upated for the next years :)
Maby you can add a sponsor button from github :)
@David-Grass-Feria Thank you!!
I created a sponsor button :)
@JiHong88 Great, i created a sponsor for every month. :)
@David-Grass-Feria Thank you so much! :)