element-tiptap
element-tiptap copied to clipboard
Vue 3 example doesn't work: _a2.getBoundingClientRect is not a function
Describe the bug
When creating the simplest example based on official documentation with Vue 3, the UI will not render. The following error will show up:
To Reproduce Steps to reproduce the behavior:
- npm create vite@latest
- Select Vue 3 with typescript
- Copy paste sample code in https://github.com/Leecason/element-tiptap
- See error
Expected behavior It should render the text (but nothing showed up)
Screenshots See attached
Desktop (please complete the following information):
- OS: Mac Pro
- Browser Chrome
- Version: latest
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.