formfcw / directus-extension-flexible-editor

A rich text editor (WYSIWYG) with JSON output that allows the integration of M2A relations to make it extremely flexible. A truly rich editor for Directus.
https://www.npmjs.com/package/directus-extension-flexible-editor
GNU General Public License v3.0
141 stars 14 forks source link

Issue with saving Inline Marks / Inline Blocks #57

Open JeromeTrottier opened 3 weeks ago

JeromeTrottier commented 3 weeks ago

Describe the bug When adding an inline block or inline mark in the Flexible Editor and saving the document using CMD+S (on Mac) or potentially CTRL+S (on other operating systems), custom marks and inline blocks are flagged with a warning indicating that the related item does not exist. This issue requires the user to recreate the inline mark or inline block. However, if the document is saved using the save button provided by Directus, the warning does not appear.

To Reproduce

Expected Behaviour When saving the document using CMD+S or CTRL+S, the custom marks and inline blocks should be saved correctly without any warnings.

Actual Behaviour Saving the document using CMD+S or CTRL+S results in a warning that the related item does not exist, necessitating the recreation of the inline mark or inline block. This issue does not occur when using the save button provided by Directus.

Flexible Editor Version: 1.8.1

Directus Version: 11.1.0

formfcw commented 2 weeks ago

Thank you for reporting this issue. I can't reproduce this bug. Can you provide more details about your project/instance? What db version are you using? What collection do you have?

Can you reproduce the bug yourself?