element-tiptap icon indicating copy to clipboard operation
element-tiptap copied to clipboard

2.0.0-alpha.1 - RangeError: Schema is missing its top node type ('doc')

Open arthabus opened this issue 1 year ago • 3 comments

Describe the bug Trying to setup an minimal version from the example and getting "RangeError: Schema is missing its top node type ('doc')"

To Reproduce Steps to reproduce the behavior:

  1. Follow the isntructions on the mai page for element-tiptap
  2. Observe the issue

Expected behavior It displays the editor with the inititla content

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Max Os 13.2 (22D49)
  • Browser: Chrome 113.0.5672.126 (Official Build) (x86_64)
  • Version 2.0.0-alpha.1

Additional context

I'm using webpack

arthabus avatar May 19 '23 10:05 arthabus

Document!!! not doc

okijhhyu avatar May 22 '23 13:05 okijhhyu

Yes, it's Document. And the readme for alpha needs to be fixed, as in the readme it says "Doc" under the "usage" section

arthabus avatar May 22 '23 16:05 arthabus

This version fixes all the issues: https://github.com/okijhhyu/element-tiptap-vue3 :)

vesper8 avatar Jul 04 '23 15:07 vesper8