-
Notifications
You must be signed in to change notification settings - Fork 35
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
importing a HTML file #96
Comments
or make a HTML plugin like the Import plugin. |
I try to create a HTML plugin, the main INSERT command does not work, the code is, onMount(() => { |
I've add a HTML plugin for this project. I will try to push to this project later... |
I've made a HTML plugin, the core code is pasted in the upper comment. but I'm not sure whether it's really needed by others. |
I want to import a HTML file and rending it into the rich editor,
there are 3 ways,
1 do as the lexical has suggested,
getEditor,
getRoot
insertNode
2 make a HTML plugin like the Image plugin, there's so many difference there.
3 examine the copy/paste method in rich editor, which supports HTML content paste.
Any suggestions?
The text was updated successfully, but these errors were encountered: