stable
Clone or download
Read-only
part of story #38627 Choice of a new Rich Text Editor Note: The options for headings 4 to 6 have been removed in order to be iso-functional with the what's available in Tuleap in terms of rich text edition. How to test: - You can switch plain text to headings of different levels - You can switch a heading to plain text - You can switch plain text to heading using keyboard shortcuts (Ctrl+Shift+<1..3>) - When some content is selected in the editor, the select tells what type of node it is (heading/plain text). Please note that if the selection contains several nodes, it will only display "Styles" Change-Id: Ia5f78beeddbfc55eeae089ede7d9290d743016e4
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/prose-mirror-editor-toolbar/package.json | +4 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/pnpm-lock.yaml | +14 | −0 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/po/fr_FR.po | +14 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/heading-option-template.test.ts | +86 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/heading-option-template.ts | +68 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/plain-text-option-template.test.ts | +65 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/plain-text-option-template.ts | +42 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/styles-option-template.test.ts | +79 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/styles-option-template.ts | +33 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/text-style.test.ts | +53 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/elements/buttons/text-style/text-style.ts | +65 | −0 | Go to diff View file |
M | lib/frontend/prose-mirror-editor-toolbar/src/elements/toolbar-element.ts | +15 | −2 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/package.json | +0 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/pnpm-lock.yaml | +0 | −29 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/po/fr_FR.po | +0 | −21 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/link-popover/element/LinkPopoverElement.ts | +5 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/link-popover/element/forms/EditCrossReferenceFormElement.ts | +5 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/link-popover/element/forms/EditLinkFormElement.ts | +5 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/link-popover/element/items/CopyToClipboardButtonElement.ts | +5 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/link-popover/element/items/EditLinkButtonElement.ts | +5 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/link-popover/element/items/OpenLinkButtonElement.ts | +5 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/link-popover/element/items/RemoveLinkButtonElement.ts | +5 | −1 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/helper/MonoToolbarActionActivator.ts | +3 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/helper/MonoToolbarTextStyleItemsActivator.test.ts | +75 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/helper/MonoToolbarTextStyleItemsActivator.ts | +41 | −0 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/helper/toolbar-bus.ts | +15 | −0 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/index.ts | +6 | −22 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/src/plugins/toolbar/menu.ts | +0 | −37 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/mono-toolbar.ts | +34 | −20 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/Heading.ts | +22 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/HeadingInSelectionRetriever.test.ts | +113 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/HeadingInSelectionRetriever.ts | +71 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/HeadingsInSelectionDetector.test.ts | +69 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/HeadingsInSelectionDetector.ts | +40 | −0 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/get-text-style-menu-items.test.ts | +0 | −47 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/get-text-style-menu-items.ts | +0 | −60 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/index.ts | +0 | −22 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/stub/DetectHeadingsInSelectionStub.ts | +29 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/stub/RetrieveHeadingStub.ts | +30 | −0 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/text-style-dropdown-menu.test.ts | +0 | −41 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/text-style-dropdown-menu.ts | +0 | −45 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/text-style.test.ts | +0 | −93 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/text-style.ts | +0 | −77 | Go to diff View file |
A | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/transform-text.test.ts | +146 | −0 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-style/transform-text.ts | +25 | −19 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/src/use-editor.ts | +1 | −1 | Go to diff View file |
D | lib/frontend/prose-mirror-editor/themes/_toolbar.scss | +0 | −111 | Go to diff View file |
M | lib/frontend/prose-mirror-editor/themes/editor.scss | +2 | −8 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescriptionEditorProseMirror.vue | +0 | −14 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/toolbar/EditorToolbar.vue | +3 | −2 | Go to diff View file |