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

Vue 3 example doesn't work: _a2.getBoundingClientRect is not a function

Open lakeeast opened this issue 1 month ago • 0 comments

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: Screenshot 2024-05-12 at 3 25 20 PM

To Reproduce Steps to reproduce the behavior:

  1. npm create vite@latest
  2. Select Vue 3 with typescript
  3. Copy paste sample code in https://github.com/Leecason/element-tiptap
  4. 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.

lakeeast avatar May 12 '24 13:05 lakeeast