I have a web app that is made using WinJS. It is a single-page navigation style app, meaning it has a root view and I'm navigating between a few different HTML fragments loaded into a div on the root page.
In any case, I'm trying to add the rich text editor, CKEditor, on one of the pages. As far as I can tell, as long as the main javascript file is loaded and I declare one of my divs as 'content-editable', I should get the CKEditor popup showing up. However, nothing shows up on my web app and I am positive the ckeditor javascript file is loading. I've tried this in both Chrome and Edge.
I've tried manually making CKEditor load with the editable div using the code below and it still doesn't work. (questionDiv is the id for my div)
CKEDITOR.disableAutoInline = !0;
CKEDITOR.inline('questionDiv');
I even tried to load a classic editor using a textarea and using CKEditor's built-in commands to replace the textarea with their iframe. That doesn't seem to do anything, either. It looks just like a textarea.
Has anyone had any experience integrating CKEditor with a WinJS app? What can I be doing wrong?
Followup The same code running on Firefox actually works, but does not work in Chrome and Edge. You can temporarily see it running here:
The editor should be the box under the 'Question' heading.