Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Foren / Cotonti / Support / Default styles in CKEditor

Hodges
#39454 17. April 2014, 12:33

According to this page: http://ckeditor.com/demo#div the editor by default uses an iframe. By changing this to a div container the styles used are inherited from the page.

Does anyone know how to apply this change?

More generally, is it possible to further customise our ckeditors to include plugins/addons such as the equation editor?

I've figured out my second question. Simply:

  1. Add the plugin to the plugins/ckeditor/lib/plugins folder.
  2. Modify the line: "config.extraPlugins = 'eqneditor,more,oembed,syntaxhighlight';" in plugins/ckeditor/lib/config.js.
  3. Add the button 'EqnEditor' somewhere in the full toolbar.

Dieser Beitrag wurde von Hodges (am 17. April 2014, 13:23, vor 7 Jahre) bearbeitet