diff --git a/editors/editoria/src/config/config.js b/editors/editoria/src/config/config.js index 330869dd759e49766351fbc9089d99b055b8fe3d..3770e336084a8e9adbb3ff9f782766756227921d 100644 --- a/editors/editoria/src/config/config.js +++ b/editors/editoria/src/config/config.js @@ -35,7 +35,6 @@ import { HighlightService, TextHighlightToolGroupServices, EditorInfoToolGroupServices, - CounterInfoService, BottomInfoService, TransformService, TransformToolGroupService, @@ -154,7 +153,6 @@ export default { new HighlightService(), new TextHighlightToolGroupServices(), new EditorInfoToolGroupServices(), - new CounterInfoService(), new BottomInfoService(), new TransformService(), new TransformToolGroupService(), diff --git a/editors/editoria/src/config/configMobile.js b/editors/editoria/src/config/configMobile.js index 6aee8c869f433b9bda63f42195dec34c02ba3841..ccb689354db90700c210888b90a37fd4174a7952 100644 --- a/editors/editoria/src/config/configMobile.js +++ b/editors/editoria/src/config/configMobile.js @@ -29,7 +29,6 @@ import { HighlightService, TextHighlightToolGroupServices, EditorInfoToolGroupServices, - CounterInfoService, BottomInfoService, TransformService, TransformToolGroupService, @@ -117,7 +116,6 @@ export default { new HighlightService(), new TextHighlightToolGroupServices(), new EditorInfoToolGroupServices(), - new CounterInfoService(), new BottomInfoService(), new TransformService(), new TransformToolGroupService(), diff --git a/wax-prosemirror-services/src/BottomInfoService/index.js b/wax-prosemirror-services/src/BottomInfoService/index.js index d6d1738de67ec12cd1cae1bbef0525681e0f82c7..31bf3aad94bfffa0aeb661bf2841edb0125a62a0 100644 --- a/wax-prosemirror-services/src/BottomInfoService/index.js +++ b/wax-prosemirror-services/src/BottomInfoService/index.js @@ -1 +1,3 @@ -export default []; +import CounterInfoService from './CounterInfoService/CounterInfoService'; + +export default [new CounterInfoService()]; diff --git a/wax-prosemirror-services/src/WaxToolGroups/BottomToolGroupService/InfoToolGroupService/EditorInfoToolGroupService.js b/wax-prosemirror-services/src/WaxToolGroups/BottomToolGroupService/InfoToolGroupService/EditorInfoToolGroupService.js index 4a8726b514d2ae0c29ec2761736c4df296cc02ec..6ffc6203857260c4e0423a9681040b3adaefd7b5 100644 --- a/wax-prosemirror-services/src/WaxToolGroups/BottomToolGroupService/InfoToolGroupService/EditorInfoToolGroupService.js +++ b/wax-prosemirror-services/src/WaxToolGroups/BottomToolGroupService/InfoToolGroupService/EditorInfoToolGroupService.js @@ -3,9 +3,9 @@ import Service from '../../../Service'; import InfoToolGroup from './InfoTool'; class EditorInfoToolGroupServices extends Service { - name = "EditorInfoToolGroupServices"; - register(){ - this.container.bind('InfoToolGroup').to(InfoToolGroup); - } + name = 'EditorInfoToolGroupServices'; + register() { + this.container.bind('InfoToolGroup').to(InfoToolGroup); + } } -export default EditorInfoToolGroupServices; \ No newline at end of file +export default EditorInfoToolGroupServices;