I'm using CKEditor 5 and unable to make htmlEncodeOutput configuration work as expected.
Following is the code snippet I'm using but even when setting the value to true the editor's element always return decoded value.
ClassicEditor .create(document.querySelector('#editor'), { htmlEncodeOutput: true}) .then(editor => { editorObj = editor; console.log('Editor was initialized', editor); }) .catch(err => { console.error(err.stack); }); Any solution or workaround would be highly appreciated.