index.html 575 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <!-- @snippet_begin(TipTapDemoHTML) -->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  8. <title>tiptapjs</title>
  9. </head>
  10. <body>
  11. <div id="app">
  12. <tiptap-editor field-name="content1" value='&lt;h1&gt;header&lt;/h1&gt;&lt;p&gt;abc&lt;/p&gt;'></tiptap-editor>
  13. </div>
  14. <script src="http://localhost:3500/app.js"></script>
  15. <script src="http://localhost:3100/app.js"></script>
  16. </body>
  17. <!-- @snippet_end -->
  18. </html>