stable

Clone or download

Read-only

feat: have a link popover

part of story #38627 : Choice of a new Rich Text Editor For the moment, this menu only contains a clickable button opening the target link. Later, it will contain other actions. How to test: - pick up a link in a prose-mirror editor - click on it --> a popover opens --> it contains a clickable button Change-Id: I8da8a763752211435f7d99da66bef18d2f2445ad

Modified Files

Name
M lib/frontend/prose-mirror-editor/package.json +1 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/pnpm-lock.yaml +7 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/po/fr_FR.po +3 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/index.ts +1 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/link-popover/helper/link-popover-inserter.test.ts +51 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/link-popover/helper/link-popover-inserter.ts +70 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/link-popover/helper/link-value-extractor.test.ts +58 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/link-popover/helper/link-value-extractor.ts +33 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/link-popover/index.ts +20 −0 Go to diff View file
A lib/frontend/prose-mirror-editor/src/plugins/link-popover/link-popover.ts +69 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/src/use-editor.ts +2 −1 Go to diff View file
A lib/frontend/prose-mirror-editor/themes/_link-popover.scss +26 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/themes/editor.scss +1 −0 Go to diff View file
M lib/frontend/tlp-popovers/src/popovers.ts +7 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/CommonmarkSyntaxHelper.test.ts +1 −0 Go to diff View file
M src/scripts/tlp/src/scss/components/_button-bar.scss +19 −0 Go to diff View file