stable
Clone or download
Read-only
Part of story #38627: Choice of a new Rich Text Editor When the current user cannot edit the document, then there is no reason to display a live prosemirror editor and the mono-toolbar. How to test: - Go to an artidoc you cannot edit --> No toolbar --> Every section description and title are readonly - Go to an artidoc you can edit --> The toolbar is displayed --> ProseMirror editors everywhere --> Section titles are editable Change-Id: I597492b6dc39824555aa7d8d7ecc6ea1d5ddfe2e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.test.ts | +3 | −2 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.vue | +1 | −1 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescription.test.ts | +117 | −80 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescription.vue | +17 | −4 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/header/SectionHeader.test.ts | +98 | −47 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/header/SectionHeader.vue | +13 | −3 | Go to diff View file |