diff --git a/editors/editoria/src/config/config.js b/editors/editoria/src/config/config.js index 51001e4d3059c36c75746d7213b30bc5eb5d1579..a1187692dce33a230e0a4905560553ed9b79b022 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()