I am trying to add CKeditor to my project but I seem to hit a roadblock, their tutorial and yours seem to cover me doing the whole set up, and I managed to get it on my page. But I fail to find a way to get the data out of it. Their documentation says I need to use
var data = CKEDITOR.instances.editor1.getData();
But any attempt I try to get that command to run only results in Radzen saying it can't find CKEditor... any suggestions?
If you guys aren't in the know how of how to do this, do you have any other examples of html editors that could fit better?
PS: I tried to grab the example you guys have in your github for PrimeNG editor, but the TypeScript version seems to be old, and fails to run in modern radzen, maybe update that sometime?
This should work with Radzen - set ngModel to a page property and it would be two-way data-bound. This is what is used in the aforementioned PrimeNG Editor demo:
I followed the docs from CKEditor Angular page as @korchev suggested and wasn't being able to get it to work until I imported CKEditorModule in app.module.ts.