Split BesService to isolate CKEditor specifics in BesCKService

This commit is contained in:
2024-03-13 13:03:14 +01:00
parent 63584185ae
commit 87c7f79ebe
2 changed files with 141 additions and 63 deletions

View File

@@ -15,7 +15,7 @@
<script>
ClassicEditor.create(document.querySelector('#editor'))
.then(newEditor => {
BesService.register(newEditor.ui.view.editable.element, newEditor)
BesCKService.register(newEditor.ui.view.editable.element, newEditor)
})
.catch(error => {
console.error(error)