Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML Parser not work #3651

Open
shuangru-momenta opened this issue Oct 21, 2024 · 0 comments
Open

HTML Parser not work #3651

shuangru-momenta opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shuangru-momenta
Copy link

shuangru-momenta commented Oct 21, 2024

Description

in the /plate-playground-template/src/components/plate-editor.tsx demo, line:454
add the code below will export an error
editor.children = editor.api.html.deserialize('<p>Hello, world!</p>')

Uncaught TypeError: Cannot read properties of undefined (reading 'cloneNode')
image

Reproduction URL

No response

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Plate version

@udecode/plate-common": "^39.1.8",

Slate React version

"react": "^18.3.1",

Screenshots

No response

Logs

No response

Browsers

No response

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@shuangru-momenta shuangru-momenta added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant