stable
Clone or download
Read-only
Part of story #18336 add support of markdown How to test: - Rebuild the rich text editor lib in tracker and plugin tracker: $ (cd plugins/tracker/scripts/lib/rich-text-editor && npm run build) \ && (cd plugins/tracker && npm run build) - Edit an existing artifact and open one of its text fields. The format of the text field should be the one that was saved (either HTML or Text) - Change the format (and edit content) of text fields. When you submit, the format and content are saved correctly. - No functional change expected in TestManagement steps display. - No functional change for image upload in CKEditors. Change-Id: I51c71a7e6c3c4dec045a3082d6855a531141b4de
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DefinitionRepresentationBuilder.php | +3 | −3 | Go to diff View file |
M | plugins/testmanagement/tests/unit/TestManagement/REST/v1/DefinitionRepresentations/DefinitionRepresentationBuilderTest.php | +4 | −4 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Text.class.php | +2 | −21 | Go to diff View file |
A | plugins/tracker/scripts/artifact/RichTextEditorsCreator.test.ts | +198 | −0 | Go to diff View file |
A | plugins/tracker/scripts/artifact/RichTextEditorsCreator.ts | +112 | −0 | Go to diff View file |
M | plugins/tracker/scripts/artifact/edit-view.ts | +12 | −32 | Go to diff View file |
M | plugins/tracker/scripts/legacy/TrackerArtifact.js | +3 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/README.md | +14 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/src/DisplayInterface.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/src/FormatSelectorBuilder.test.ts | +4 | −4 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/src/FormatSelectorBuilder.ts | +3 | −3 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/src/RichTextEditorFactory.ts | +6 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/src/TextEditor.ts | +4 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/src/index.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/src/types.ts | +1 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/rich-text-editor/webpack.common.js | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Artifact/Tracker_Artifact_ChangesetValue_TextTest.php | +6 | −20 | Go to diff View file |
M | plugins/tracker/webpack.common.js | +1 | −1 | Go to diff View file |