CKEditor not properly configured

I am using xwiki v9.4. Do we need to explicitly configure the CKEdtior ? Whenever I click WYSIWYG , i get this:
wysiwyg

With wiki editor I get this :
wiki

But I guess CKEditor works well with zone edit macro I use. I get this:
zone

What could possible be wrong or any configurations I need to do.

Thank you :slight_smile:

Try to refresh your browser cache.

It won’t help. Tried already. This problem exists since a long time.

The only 2 problems I can think of:

  • Browser cache
  • You have a broken install of XWiki and some pages for the CKEditor integration are missing

Could you paste the error you have in the javascript console of your browser?

this is the error in console:
error

this is what I can see if I highlight the editor area:
2

I guess it is not readable:

Failed to load resource: the server responded with a status of 404 ()
macroWizard.min.css Failed to load resource: the server responded with a status of 404 ()
jQueryUI Failed to load resource: the server responded with a status of 404 ()
jQuery Failed to load resource: the server responded with a status of 404 ()
jQueryUI Failed to load resource: the server responded with a status of 404 ()
TaskManagerSheet:1 Uncaught TypeError: Cannot set property ‘type’ of null
at TaskManagerSheet:1
at TaskManagerSheet:1
WebHome:1 Uncaught ReferenceError: Highcharts is not defined
at Object.success (WebHome:1)
at i (:8080/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1:2)
at Object.fireWith [as resolveWith] (:8080/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1:2)
at z (:8080/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1:4)
at XMLHttpRequest. (:8080/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1:4)
resourcePicker.bundle.min.js Failed to load resource: the server responded with a status of 404 ()
WebHome:1 Uncaught ReferenceError: Highcharts is not defined
at Object.success (WebHome:1)
at i (:8080/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1:2)
at Object.fireWith [as resolveWith] (:8080/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1:2)
at z (:8080/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1:4)
at XMLHttpRequest. (:8080/xwiki/webjars/wiki%3Axwiki/jquery/2.2.2/jquery.min.js?r=1:4)
require.min.js:7 Uncaught Error: Script error for “resource”
http://requirejs.org/docs/errors.html#scripterror
at F (require.min.js:7)
at HTMLScriptElement.onScriptError (require.min.js:30)
macroWizard.bundle.min.js Failed to load resource: the server responded with a status of 404 ()
require.min.js:7 Uncaught Error: Script error for “macroWizard”
http://requirejs.org/docs/errors.html#scripterror
at F (require.min.js:7)
at HTMLScriptElement.onScriptError (require.min.js:30)
jQueryUI Failed to load resource: the server responded with a status of 404 ()
resourcePicker.min.css Failed to load resource: the server responded with a status of 404 ()
macroWizard.min.css Failed to load resource: the server responded with a status of 404 ()
require.min.js:7 Uncaught Error: Load timeout for modules: ckeditor,resourcePicker
http://requirejs.org/docs/errors.html#timeout
at F (require.min.js:7)
at H (require.min.js:13)
at require.min.js:13
F @ require.min.js:7
H @ require.min.js:13
(anonymous) @ require.min.js:13

The errors in the JavaScript console indicate that the JavaScript code of the CKEditor can’t be loaded because the server doesn’t find them, and thus returns 404. Note that your problem is not limited to the CKEditor. jQueryUI also can’t be loaded and this is not used by CKEditor. I see there are other scripts failing like the TaskManagerSheet and Highcharts. You need to look into why the server returns 404.

Ok. I will give it a try. But how does it work in case of Zone Edit Macro the ?