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

Editing multiple languages simultaneously results in loss of reference records #59

Open madc opened 1 week ago

madc commented 1 week ago

Describe the bug

We are using the flexible editor inside a translated page. The editor is setup to use multiple relation blocks. Our editor used the split view to edit pages. If thy only edited a single language, everything works as expected. But if both languages got edited, all reference records (in the _nodes collection) for one language got deleted on save.

image

The the record in the relation table still exists, but the relationship got deleted.

Duplication dields in the _nodes collection are set according to documentation: image

To Reproduce

Flexible Editor Version: v1.8.1

Directus Version: 11.1.2

madc commented 1 week ago

Let me know, if there is any additional information, I can provide.