stable

Clone or download

Read-only

fix: Text field content can change when format is changed

How to test: - Open a kanban, create a new artifact with a text field (description for example) and set its format to Markdown. - Edit the same artifact and just change its format to HTML, without changing the text content. - Submit the change, and open again the same artifact. The format should be HTML, it should not be back to Markdown. Fix request #34338 Change from Markdown format to HTML is ignored in Artifact Modal Change-Id: I33d4112e9be565b422b7d9bff1a9df2a0c02fae9

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/RichTextEditor.test.ts +11 −18 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/RichTextEditor.ts +20 −31 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/README.md +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/package.json +0 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/TextEditor.test.ts +95 −134 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/TextEditor.ts +11 −13 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/types.ts +1 −1 Go to diff View file
A plugins/tracker/scripts/lib/rich-text-editor/tests/builders/InternalTextEditorOptionsBuilder.ts +60 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/tsconfig.json +1 −1 Go to diff View file