Answers for "tiptap"

1

tiptap

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
</head>
<body>
  <div class="element"></div>

  <script type="module">
    import { Editor } from 'https://cdn.skypack.dev/@tiptap/core?min'
    import { defaultExtensions } from 'https://cdn.skypack.dev/@tiptap/starter-kit?min'

    const editor = new Editor({
      element: document.querySelector('.element'),
      extensions: defaultExtensions(),
      content: '<p>Hello World :-)</p>',
    })
  </script>
</body>
</html>
Posted by: Guest on April-24-2021

Code answers related to "tiptap"

Browse Popular Code Answers by Language