[Deprecated] Set CKEditor as the default WYSIWIYG editor

Last modified by Gabriela Anechitoaei on 2022/05/03 09:29

Home Nested Spaces Home Run Test

Steps to reproduce

  1. Go to Administer Wiki
  2. Click on Add Extensions
  3. Install CKEditor
  4. With Admin user access this page http://127.0.0.1:8080/xwiki/bin/edit/CKEditor/EditMenuEntry?editor=object
  5. Change the actual code with the code from below
require(['jquery'], function($) {
  $('#tmEdit > a, a#tmEditDefault').attr('href', function(index, url) {
  return url + (url.indexOf('?') < 0 ? '?' : '&') + 'editor=inline&sheet=CKEditor.EditSheet';
  });
  $('a#tmEditWysiwyg').attr('href', function(index, url) {
  return url.replace('editor=wysiwyg', 'editor=inline&sheet=CKEditor.EditSheet');
  });
});
  1. Click on Save&View
  2. Create a simple user (U1)
  3. Clear you cache
  4. With U1 try to edit some pages

For more information about CKEditor access this page http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration

Expected results

CKEditor is now the default WYSIWYG Editor.

Results

per page of Page
Product App Browsers Databases Servlet Containers Tested By Tested On Jira Issue
The environment prevents the table from loading data.
 
Page
Tags:
   

Get Connected