stable

Clone or download

Read-only

feat: feature flag to choose editor

Introduce a feature flag to allow developer to choose between the legacy editor (ckeditor) and the next gen one (prosemirror). To enable the feature flag: tuleap config-set feature_flag_enable_next_gen_editor_in_artidoc 1 The choice is kept in the local storage to ease development debugging (no need to choose again prosemirror at each page reload) Not really part of story #38630: Export to file Change-Id: I5994b7b73dc0a7b13862a179f8586c55c3f1540c

Modified Files

Name
M plugins/artidoc/include/Artidoc/ArtidocController.php +10 −0 Go to diff View file
M plugins/artidoc/include/Artidoc/ArtidocPresenter.php +1 −0 Go to diff View file
M plugins/artidoc/include/Artidoc/artidoc.mustache +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/DocumentContent.vue +2 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/EditorChoice.vue +41 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/helpers/editor-choice.ts +46 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/index.ts +5 −0 Go to diff View file