You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I Follow the doc and create a basic editor. Calling htmlReact.serialize causes a error: Cannot resolve a DOM point from Slate point: {"path":[0,0],"offset":1}
import{Plate,PlateContent,usePlateEditor,}from"@udecode/plate-common/react";import{HtmlReactPlugin}from"@udecode/plate-html/react";constPlateEditor=()=>{consteditor=usePlateEditor({plugins: [HtmlReactPlugin],});return(<Plateeditor={editor}onChange={({ value })=>{consthtml=editor.api.htmlReact.serialize({nodes: editor.children,});console.log(value,html);}}><PlateContentplaceholder="Type..."/></Plate>);};
Reproduction URL
No response
Reproduction steps
just basic editor with HtmlReactPlugin
Plate version
38.0.4
Slate React version
0.110.1
Screenshots
No response
Logs
No response
Browsers
Chrome
Funding
You can sponsor this specific effort via a Polar.sh pledge below
We receive the pledge once the issue is completed & verified
The text was updated successfully, but these errors were encountered:
Description
I Follow the doc and create a basic editor. Calling htmlReact.serialize causes a error: Cannot resolve a DOM point from Slate point: {"path":[0,0],"offset":1}
Reproduction URL
No response
Reproduction steps
Plate version
38.0.4
Slate React version
0.110.1
Screenshots
No response
Logs
No response
Browsers
Chrome
Funding
The text was updated successfully, but these errors were encountered: