Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple editor for HTML #3250

Open
manuelhz opened this issue Jun 5, 2024 · 0 comments
Open

Simple editor for HTML #3250

manuelhz opened this issue Jun 5, 2024 · 0 comments
Labels

Comments

@manuelhz
Copy link

manuelhz commented Jun 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant