-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Unable to add any multimedia. Getting TypeError: parent is null #179
Comments
yes I'm aware of this error, unfortunately is a bug on the tiptap/core I'm in touch with the tiptap authors to see how could be fixed |
btw, this error is raised when there is an empty content and you add a custom blocks (indeed the ones that are created with the + button) also seen when you turn some block into code block. That is what I currently know. |
@michelson Hey, also would like to thank you for creating this awesome tool. Had some other issues. The documentation is sadly poor, and I can't understand most of what's written and how it's being used. For example, this code block from the <State initial={{ data: "" }}>
{({ state, setState }) => (
<div>
<Dante onUpdate={(editor) => setState({ data: editor.getHTML() })} />
<div class="p-4 border-green-600 rounded-md border-2 overflow-auto">
{`${state.data}`}
</div>
</div>
)}
</State> I can't understand what type of syntax is this, and where is the Thanks... |
Hi , the component is an integration of https://github.com/renatorib/react-powerplug used only for demo tests. |
Problem
Whenever selecting anything from the
+
icon or by drag-dropping (like code snippet, GIF, etc.), I get an error.My code (
Compose.js
)Error
My
package.json
Though I can easily dismiss the error by clicking the
X
at the corner, it still happens all the time, and I don't want my website to be buggy.Additional Info
I have no idea what is causing the error. I just copied the example from the docs. Furthermore, I am using the latest react, and I installed Dante using NPM.
The text was updated successfully, but these errors were encountered: