diff --git a/samples/markup-style.html b/samples/markup-style.html
index 2e757e9..fbb4550 100644
--- a/samples/markup-style.html
+++ b/samples/markup-style.html
@@ -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))