I got Boiler plate to work on 2.1 editing the orders.php file
- CKEditor 5’s visible editor is not updating at all because CKEditor 5 ignores direct DOM updates (innerHTML) and will immediately revert to its internal model.
- The only reliable way to update CKEditor 5 is via its editor instance API: editor.setData(...).
So I rebuilt the handler to find the CKEditor 5 editor instance (even if Zen Cart stores it in a non-obvious place) and then insert using:
- editor.getData() + editor.setData(current + comment)


Reply With Quote
