I want to insert a span element with random id in to CKEDITOR. I tried to add like this;
const viewFragment = activeEditor.editorInstance.data.processor.toView(<span id=1>name</span>);
const modelFragment = activeEditor.editorInstance.data.toModel(viewFragment );
activeEditor.editorInstance.model.insertContent(modelFragment,activeEditor.editorInstance.model.document.selection );