stable
Clone or download
part of story #32315 Add support of markdown Toolbar should be built independently as a web component No functional changes: You can still use the `B` icon to set your text in bold Context: Even if prose mirror and artidoc are still in reflexion, we know for sure that we must replace ckeditor as it has reached its end of life [0] We can not anticipate everything, but today our usages based on ckeditor are based on include/excludes buttons So we decide to extract the vue toolbar in a webcomponent, ideally the web component must: - be able to include/exclude elements - be able to include elements built for other places (exemple buttons coming from artidoc) [0]: https://ckeditor.com/blog/ckeditor-4-end-of-life/ Change-Id: I65fc8554e29e7761771e6991ee55c95658c8b56b
Modified Files
Name | ||||
---|---|---|---|---|
M | build-manifest.json | +4 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/.gitignore | +2 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/package.json | +34 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/pnpm-lock.yaml | +52 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/po/fr_FR.po | +16 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/ToolbarController.ts | +29 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/bold.test.ts | +73 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/bold.ts | +58 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/gettext-provider.ts | +27 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/helpers/helper-for-test.ts | +23 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/main.ts | +23 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/pofile-shims.d.ts | +24 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/scss-shim.d.ts | +24 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/styles.scss | +40 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/toolbar-element.test.ts | +58 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/src/toolbar-element.ts | +67 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/tsconfig.json | +10 | −0 | Go to diff View file |
A | lib/frontend/prose-mirror-editor-toolbar/vite.config.ts | +30 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/package.json | +1 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/pnpm-lock.yaml | +3 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/po/fr_FR.po | +0 | −3 | Go to diff View file |
D | plugins/artidoc/scripts/artidoc/src/components/toolbar/EditorToolbar.test.ts | +0 | −69 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/toolbar/EditorToolbar.vue | +4 | −41 | Go to diff View file |