stable

Clone or download

Read-only

Add the common mark syntax helper in text field in artifact view

Part of story #18336 add support of markdown How to test: - Choose the 'Markdown' format in the format selector of a text field => The 'Help' should be displayed => By clicking on it, the popover should be displayed => If the format is not the Markdown format, then the button is not displayed. - You can also do the test for the follow up comment in artifact view and mass change view. Change-Id: I7782cb3cf1cb5ac113720349690d9fc749f009e9

Modified Files

Name
M plugins/tracker/scripts/lib/rich-text-editor/.gitignore +1 −0 Go to diff View file
A plugins/tracker/scripts/lib/rich-text-editor/assets/image_example_commonmark.png Binary file Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/package.json +4 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/po/fr_FR.po +12 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/FlamingParrotDocumentAdapter.test.ts +58 −6 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/FlamingParrotDocumentAdapter.ts +49 −5 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/FormatSelectorBuilder.test.ts +58 −3 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/FormatSelectorBuilder.ts +34 −3 Go to diff View file
A plugins/tracker/scripts/lib/rich-text-editor/src/SyntaxHelperButtonToggler.ts +34 −0 Go to diff View file
A plugins/tracker/scripts/lib/rich-text-editor/src/helper/commonmark-syntax-helper.ts +137 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/index.ts +1 −0 Go to diff View file
A plugins/tracker/scripts/lib/rich-text-editor/themes/popovers.css +55 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/tsconfig.json +1 −1 Go to diff View file
M plugins/tracker/themes/FlamingParrot/css/style.scss +13 −0 Go to diff View file
M plugins/tracker/themes/default/css/style.scss +7 −0 Go to diff View file