stable

Clone or download

Read-only

Load cross references at init

part of story #38627 : Choice of a new Rich Text Editor *How to test: Open an artidoc with several references inside => references are loaded Implementation note: This is a temporary way to resolve the issue, ProseMirror `init` function is not asynchronous and load references won't be an easy trick This quick solution enables us to have referencies for the release, but is not a long term solution Change-Id: I70332bed77f4fcf08acb961495eadaea759989ab

Modified Files

Name
M lib/frontend/prose-mirror-editor/src/plugins/extract-referencies/index.ts +8 −4 Go to diff View file
M lib/frontend/prose-mirror-editor/src/use-editor.ts +3 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/App.vue +6 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/print/SectionPrinterVersion.vue +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/section/SectionContent.vue +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescription.test.ts +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescription.vue +3 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/section/description/SectionDescriptionEditorProseMirror.vue +3 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/artidoc-section.type.ts +2 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/artifact-section.factory.ts +6 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/pending-artifact-section.factory.ts +6 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/rest-querier.ts +11 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/ConfigurationStoreStub.ts +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/stubs/InjectSectionsStoreStub.ts +4 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/stores/configuration-store.ts +6 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/stores/useSectionsStore.test.ts +34 −29 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/stores/useSectionsStore.ts +35 −3 Go to diff View file