nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
http://ui.toast.com/tui-editor
MIT License
16.91k stars 1.71k forks source link

Simple editor for HTML #3250

Open manuelhz opened 4 weeks ago

manuelhz commented 4 weeks ago

Summary

I folowed the rutorial on the website https://ui.toast.com/tui-editor. I tried using

 const editor = new toastui.Editor({
        el: document.querySelector('#editor'),
        height: '500px',
        initialValue: content,
        initialEditType: 'wysiwyg'
      });

I also changed to const editor = new Editor as it says in another part of the website and they do not work at all. I changed to var editor = new tui.Editor() and it works, but it looks bad. on the screenshots you can see the result. What I need is just a simple text editor like the one on github.

Screenshots

1 2

Version

Using last version.

Additional context

I attach the html file. Please help. tuiEditor.html.zip