ckeditor.js

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4429 Preview should show text on a white background

Don't add class to the resulted preview body. It can be achieved by

removing the following line

,d.getAttribute("class")&&(b+='class\x3d"'+d.getAttribute("class")+'" ')

LDEV-4428 Add emojione and autoembed plugins

Both plugins were added as integrated plugins (so no need to specify

them as extraPlugins). At the same time Emojione button replaced Smiley

one.

As a side note, when adding Emojione plugin as integrated one, its icon

gets incorporated into icons.png incorrectly (the size of the icon is

much bigger than 16 px) that's why it doesn't get displayed at all. So

we need to tweak editor.css and replace CSS rule for

.cke_button__emojione_icon with the following:

.cke_button__emojione_icon {background:

url(../../plugins/emojione/icons/emojione.png?t=dee79e2) no-repeat 0 0

!important; background-size: 100% !important;}

  1. … 51 more files in changeset.
LDEV-4428 Revive "Preview" button

In order to make Preview feature available in inline mode, Preview

plugin needed to be tweaked. To achieve it the next command

"a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&(" was removed from the

ckeditor.js; precisely from that line:

CKEDITOR.plugins.add("preview",{init:function(a){a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&(h=this.path,a.addCommand

  1. … 1 more file in changeset.
LDEV-4428 Upgrade CKEditor to the latest version 4.7.3

Build is created using CKEditor's Download builder. Full preset is

chosen after which some of the plugins were removed (for details on

which plugins is chosen see \lams_central\web\ckeditor\build-config.js).

Office2013 skin is selected as the default skin.

  1. … 386 more files in changeset.
LDEV-3946: adding Greek characters to CKEditor's symbols special characters dialog

  1. … 1 more file in changeset.
LDEV-3946: adding Greek characters to CKEditor's symbols special characters dialog

  1. … 1 more file in changeset.
LDEV-3559 Introducing new CKEditor plugin jlatexmath

  1. … 102 more files in changeset.
LDEV-3559 Replaces equation editor in CKEditor with JLatexMath plugin * refresh formula on cut event * image transparency * ability to open and edit existing formulas

  1. … 4 more files in changeset.
LDEV-3310 Switched to using office2013 skin

  1. … 15 more files in changeset.
LDEV-3310 Switched to using office2013 skin

  1. … 39 more files in changeset.
LDEV-3296 Upgrade CKEditor to version 4.4.3

  1. … 327 more files in changeset.
LDEV-3296 Upgrade CKEditor to version 4.4.3

  1. … 327 more files in changeset.
LDEV-2991: Add CKEditor for lesson description.

  1. … 5 more files in changeset.
LDEV-2746: Reapply changes made to previous 3.4.2 version: Add custom configuration file.

Changed position of dialogs from "fixed" to "absolute" to display them properly in iframes.

http://code.lamsfoundation.org/fisheye/changelog/lams/lams_central/web/ckeditor?cs=MAIN:marcin:20101027185233

Change link default target:

http://code.lamsfoundation.org/fisheye/changelog/lams/lams_central/web/ckeditor?cs=MAIN:marcin:20101006100917

  1. … 2 more files in changeset.
LDEV-2746: Unmodified CKEditor version 3.6.2 with filemanager, movieplayer, videorecorder, pain and equation copied from previous version.

  1. … 158 more files in changeset.
LDEV-2577: Changed position of dialogs from "fixed" to "absolute" to display them properly in iframes.

LDEV-2577 The new CKEditor does not have Java Integration library (yet). We have been using it to: a) get the tag library to create our own tag <lams:FCKeditor> But the new CKEditor uses AJAX to get the contents, so the library is not needed anymore. The references to it has been deleted from every tool. FCKEditor.tag has been rewritten to use the new syntax. b) get a FCKEditor internal file manager by a Connector from the jar The new CKEditor does not provide a file manager - the license became commercial and the whole thing became a separate project, CKFinder. There were alternatives suggested on the web: jasfinder - http://sourceforge.net/projects/jasfinder/support kcfinder - http://kcfinder.sunhater.com/ some other - http://www.miguelmanchego.com/2009/gestor-de-archivos-ckeditor/ but we have already nicely integrated with the old file manager. This page: http://jacek-kromski.jogger.pl/2009/09/25/integracja-ckeditor-z-przegladarka-plikow-z-fckeditor/ in polish says how to use the file manager from the old FCKEditor. The steps that have to be done: - download the new CKEditor - download the old FCKEditor - copy the filemanager to ckeditor directory - in the file browser/default/frmresourceslist.html, line 92 (with SetUrl call) needs to be replaced to: window.top.opener.CKEDITOR.tools.callFunction( window.top.document.CKEditorFuncNum, fileUrl, '' ); - in the file browser/default/browser.html add in line 80: document.CKEditorFuncNum = GetUrlParam( 'CKEditorFuncNum');

FCKeditor has been used in version 2.6.6, the last one before switching to CKEditor project.

Changes required to use newer version of Java Integration library

for FCKEditor so it was upgraded to the latest (for FCKEditor, because one for CKEditor does not exist) version 2.6.

This also required the Prototype to be upgraded to the latest 1.6.1.

The CKEditor code also needed to be changed, so if another upgrade to a newer version occurs, we need to remember to repeat these steps:

http://cksource.com/forums/viewtopic.php?f=5&t=15750

It says:

/ckeditor/plugins/link/dialogs/link.js

Changes

label:a.lang.common.target,'default':'notSet' --> label:a.lang.common.target,'default':'_blank'

label:a.lang.link.targetFrameName,'default':'' --> label:a.lang.link.targetFrameName,'default':'_blank'

It is also worth mentioning that if you include the ckeditor.js file twice in the same page, sometimes it causes trouble, thus detection in the CKEditor.tag files.

  1. … 1096 more files in changeset.