I'm sorry if this is blindingly simple, but I cannot for the life of me find some documentation on it.
I've been through .editor/api/latest/index.html and couldn't see it. With most JavaScript wysiwyg editors, they usually dump the data into a <textarea>
, but this one doesn't.
Just checking to see if anyone else has used it and knows how that works. I want to use it within a form and submit the data/text it generates.
I'm sorry if this is blindingly simple, but I cannot for the life of me find some documentation on it.
I've been through http://nhnent.github.io/tui.editor/api/latest/index.html and couldn't see it. With most JavaScript wysiwyg editors, they usually dump the data into a <textarea>
, but this one doesn't.
Just checking to see if anyone else has used it and knows how that works. I want to use it within a form and submit the data/text it generates.
Share Improve this question edited Apr 8, 2018 at 18:16 xil3 asked Apr 8, 2018 at 18:08 xil3xil3 16.4k8 gold badges67 silver badges103 bronze badges3 Answers
Reset to default 2Have you tried: var content = editor.getValue();
?
Use editor.getMarkdown()
;
This gets content to markdown
https://nhn.github.io/tui.editor/latest/ToastUIEditorCore
I am using this
editor.getHTML()