Open cvcvcx opened 6 months ago
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="https://uicdn.toast.com/editor/latest/toastui-editor.min.css" /> <title>Document</title> </head> <body> <h1>Hello!</h1> <div id="editor"></div> <textarea name="" id="" cols="30" rows="10"></textarea> <script src="https://uicdn.toast.com/editor/latest/toastui-editor-all.min.js"></script> <script src="./test.js"></script> </body> </html>
const editor = new toastui.Editor({ el: document.querySelector('#editor'), previewStyle: 'vertical', height: '500px', initialValue: '' });
hello,The following markdwon editor I recommend https://github.com/Vanessa219/vditor https://github.com/imzbf/md-editor-v3 https://github.com/code-farmer-i/vue-markdown-editor
Summary
Screenshots
Version
Additional context
Test.html
Test.js