ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.6k stars 3.71k forks source link

CKEditorError: view-position-before-root: You can not make position before root. #5759

Closed MisterTomato closed 1 year ago

MisterTomato commented 4 years ago

This error has occurred a couple times now when setting data from firebase.

The error seems to occur when the article is high in formulas created with the MathType plugin. But this is not the case every time, sometimes setting data with only 1 formula will trigger the error to.

The documentation doesn't say a lot on how to fix or prevent this error, I was hoping you guys could give a bit more guidance in how to handle this error.

It is a bit annoying because now if the client as this error we have to go into the database and remove snippets manually...

To see a document that trows the error please click the link below to see the demo V of the CMS used to create the documents:

https://objective-blackwell-ced0b4.netlify.com username: test@editor.com pw: testing

If any information is needed please let me know.

✔️ Expected result

That any document created with the editor is able to be set as data.

❌ Actual result

Schermafdruk 2019-11-19 13 00 47

📃 Other details


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

MisterTomato commented 4 years ago

I would love some guidance on this error

MisterTomato commented 4 years ago

This issue does still occur here and there. Still have no idea how to fix it...

Reinmar commented 4 years ago

This is most likely a bug in MathType plugin. The team behind is working on doing some architectural changes to resolve this and similar issues.

xaviripo commented 4 years ago

Hi, sorry for the way too long delay. We're looking back on some old issues we never managed to tackle.

I tried to see the error in the demo but the formulas seem to be introduced by MathJax and not by MathType.

@mstermaaten, could you please confirm whether this issue still happens with the latest version of MathType (7.24.1)?

CKEditorBot commented 1 year ago

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot commented 1 year ago

We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).