stable

Clone or download

Read-only

Prose mirror - toolbar: Add link to toolbar

part of story #38627 : Choice of a new Rich Text Editor How to test: In prose mirror editor you now have a link element in toolbar select some text and then click on link => a modal open and enables you to create your link select an existing link => you can update or delete it Note: The link is not yet clickable (Right click + open in new tab in order to access it) A dedicated task have been added in order to have a tooltip where user will be bale to click on the link Change-Id: Ie241a86a1bf68345604052194f1042e8d4603fa6

Modified Files

Name
M lib/frontend/prose-mirror-editor/package.json +4 −1 Go to diff View file
M lib/frontend/prose-mirror-editor/pnpm-lock.yaml +24 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/po/fr_FR.po +21 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/helpers/helper-for-test.ts +31 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/toolbar/links/fields-adder.ts +66 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/toolbar/links/input-value-updater.ts +78 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/toolbar/links/link-menu-item-builder.ts +102 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/toolbar/links/popover-link.ts +205 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/toolbar/links/popover-links.test.ts +60 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/toolbar/menu.ts +9 −1 Go to diff View file
M lib/frontend/prose-mirror-editor/src/use-editor.ts +1 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/themes/_toolbar.scss +6 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescriptionEditorProseMirror.test.ts +3 −7 Go to diff View file