From 2c0c30891aacdb03943a100fa8cc6786fd9add7d Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Mon, 22 Jun 2020 12:46:47 +0300 Subject: [PATCH] correct order of services --- editors/editoria/src/config/config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/editors/editoria/src/config/config.js b/editors/editoria/src/config/config.js index 51001e4d3..a1187692d 100644 --- a/editors/editoria/src/config/config.js +++ b/editors/editoria/src/config/config.js @@ -56,26 +56,26 @@ export default { PmPlugins: [columnResizing(), tableEditing(), invisibles([hardBreak()])], - // Always load first TrackChangeService, + // Always load first CommentsService and LinkService, //as it matters on how PM treats nodes and marks services: [ + new DisplayBlockLevelService(), + new DisplayToolGroupService(), + new TextBlockLevelService(), + new TextToolGroupService(), + new ListsService(), new TrackChangeService(), new CommentsService(), new LinkService(), new PlaceholderService(), new ImageService(), - new ListsService(), new InlineAnnotationsService(), new TablesService(), - new TextBlockLevelService(), new BaseService(), new BaseToolGroupService(), - new DisplayBlockLevelService(), new NoteService(), new TableToolGroupService(), - new DisplayToolGroupService(), new ImageToolGroupService(), - new TextToolGroupService(), new AnnotationToolGroupService(), new NoteToolGroupService(), new ListToolGroupService() -- GitLab