samples: Fix CKEditor markup style switching
This commit is contained in:
parent
0ff4e96c0a
commit
32690de8a7
@ -75,8 +75,8 @@ Kvazimodo ji je ponavadi prinesel hrano in pijačo, medtem ko je spala, da ne bi
|
||||
let my_ckeditor = null
|
||||
ClassicEditor.create(document.querySelector('#ckeditor-control'))
|
||||
.then(newEditor => {
|
||||
my_ckeditor = newEditor
|
||||
BesCKService.register(newEditor.ui.view.editable.element, newEditor, new BesCKStatusIconEventSink())
|
||||
my_ckeditor = newEditor.ui.view.editable.element
|
||||
BesCKService.register(my_ckeditor, newEditor, new BesCKStatusIconEventSink())
|
||||
})
|
||||
.catch(error => console.error(error))
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user