Move status icon out of core grammar checking service
Status icon is user-implemented now.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<script src="https://cdn.ckeditor.com/ckeditor5/41.1.0/classic/ckeditor.js"></script>
|
||||
<script>const besUrl = 'http://localhost:225/api/v2';</script>
|
||||
<script src="../service.js"></script>
|
||||
<script src="common.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p class="my-block">This is an example of a CKEditor edit control. Edit the text, resize the control or browser window, scroll around, click...</p>
|
||||
@@ -22,7 +23,7 @@
|
||||
<bes-popup-el/>
|
||||
<script>
|
||||
ClassicEditor.create(document.querySelector('#editor'))
|
||||
.then(newEditor => BesCKService.register(newEditor.ui.view.editable.element, newEditor))
|
||||
.then(newEditor => BesCKService.register(newEditor.ui.view.editable.element, newEditor, new BesCKStatusIconEventSink()))
|
||||
.catch(error => console.error(error))
|
||||
</script>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user