See https://gitlab.indiscale.com/caosdb/customers/cfaed/management/-/issues/36. This fixes a bug whereby changes made in Source Mode of the WYSIWYG editor would not be saved.
Instead of listening to CKEditor's change:data
event, we're now using the edit mode's state machine and its insert and update transitions to update the text areas that were replaced by the WYSIWYG editor.
Start any CaosDB server with the BUILD_MODULE_EXT_EDITMODE_WYSIWYG_TEXT
build property enabled. Verify that changes made in a text property using the WYSIWYG editor are now saved correctly both within and outside Source Editing after clicking save. Also test this with records that have multiple text properties.
Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.