dasmikko / strapi-tiptap-editor

A drop-in replacement for the strapi editor
MIT License
64 stars 29 forks source link

Not working with strapi version latest #51

Closed fauquet-ux closed 1 year ago

fauquet-ux commented 1 year ago

Hello,

strapi version : 4.5.3 tiptap version : 0.9.6 I have this error if a schema contains a richtext type =>
image

Have you an issue ?

Thanks

markhughes commented 1 year ago

I can confirm with 4.5.3, for reference though.. strapi-tiptap-editor is 0.9.6, the actual tiptap version is 2.0.0-beta.199 😄

markhughes commented 1 year ago

I have attempted to update tiptap which resolved the issue:

https://github.com/markhughes/strapi-tiptap-editor/commit/eb890b08236a7499683fe79f315f9de0e2b12576

However when testing in a monorepo I get issues with the GapCursor plugin, related to this I think: https://github.com/ueberdosis/tiptap/issues/3497

markhughes commented 1 year ago
Screen Shot 2022-12-11 at 10 25 32 pm

Actually, there might be something more here. I cannot save the page even without the GapCursor plugin..

SalahAdDin commented 1 year ago
Screen Shot 2022-12-11 at 10 25 32 pm

Actually, there might be something more here. I cannot save the page even without the GapCursor plugin...

It seems GapCursor has a problem with a duplicate plugin ID.

And also the following problems: Screenshot_20221222_021545

@dasmikko it seems something is going wrong when saving the object.

msadcenko commented 1 year ago

Noticed that it works again in 4.5.4

dasmikko commented 1 year ago

I can confirm that it works fine with latest version of strapi. Do not hesitate to re-open this, or a new ticket if it stops working again.