You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load the editor dynamically and getting a "Failed to load a file" error from qcubed.js line 439.
I haven't been able to figure out which file isn't loading. This happens every time on Chrome and IE but on FF, if I reload the page and then click on the button which dynamically loads the QPanel which the Ckeditor lives one...then the file is loaded.
After trying to do a bunch of digging...it seems that the ckeditor/adapters/jquery.js file is throwing an error which is then being bubbled up to QCubed. The error is "CKEditor should be loaded before CKEditor jQuery adapter". The file is minified but when using the "pretty" function in Chrome it is on like 8.
I'm going to keep trying to make this work but was hoping someone else would have some insight.
The files are being referenced in the proper order in the QCkeditor plugin....or at least it seems that way to me. I'm thinking maybe qcubed loads the list of js files to add through ajax in some different order?
Any hints in the right direction would be much appreciated. I really suck a javascript.
The text was updated successfully, but these errors were encountered:
I made a control which is a QPanel. That QPanel has a "view" and "edit" state. The view state is a QPanel which displays just html and an edit button. When you click the edit button the QPanel with the Html is replaced with a Panel containing the CkEditor.
So basically the CkEditor is being generated through an Ajax call.
CKEditor is a pretty big javascript application and may not respond well to ajax loading. Instead of "replacing", can you instead just set Visible to true on it, and set Visible to false on the other things. Doing it that way will cause all the CKEditor javasacript to be loaded when the page loads.
I'm trying to load the editor dynamically and getting a "Failed to load a file" error from qcubed.js line 439.
I haven't been able to figure out which file isn't loading. This happens every time on Chrome and IE but on FF, if I reload the page and then click on the button which dynamically loads the QPanel which the Ckeditor lives one...then the file is loaded.
After trying to do a bunch of digging...it seems that the ckeditor/adapters/jquery.js file is throwing an error which is then being bubbled up to QCubed. The error is "CKEditor should be loaded before CKEditor jQuery adapter". The file is minified but when using the "pretty" function in Chrome it is on like 8.
I'm going to keep trying to make this work but was hoping someone else would have some insight.
The files are being referenced in the proper order in the QCkeditor plugin....or at least it seems that way to me. I'm thinking maybe qcubed loads the list of js files to add through ajax in some different order?
Any hints in the right direction would be much appreciated. I really suck a javascript.
The text was updated successfully, but these errors were encountered: