• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-2577: Fixed a bug preventing multiple CKEditor instances on one page to be properly reinitialized after form submit.

  1. … 27 more files in changeset.
LDEV-2577: Added extra safety measure preventing plain textarea from being show instead of CKEditor instance.

  1. … 27 more files in changeset.
LDEV-2607: Hardcoded CKEditor width as a fix for Chrome inability to process "100%" width correctly.

  1. … 26 more files in changeset.
LDEV-2577: Set default height for CKEditor instances, as in IE it was minimal.

  1. … 27 more files in changeset.
LDEV-2595: As CSS parameter "display: none" does not work in IE, the initial textarea for CKEditor has height = 0px which does the trick instead.

  1. … 27 more files in changeset.
LDEV-2596: Forcing CKEditor be reinitialized after AJAX form submit.

  1. … 28 more files in changeset.
LDEV-2577: Readded videorecorder plugin. Readded missing contentFolderID parameter to CKEditor instances.

  1. … 36 more files in changeset.
LDEV-2577: Reverted CKEditor skin back to "office2003".

  1. … 3 more files in changeset.
LDEV-2577: Removed quotation marks on "displayExpanded" option so it gets parsed correctly.

  1. … 27 more files in changeset.
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.

    • -0
    • +53
    ./web/WEB-INF/tags/CKEditor.tag
  1. … 1092 more files in changeset.
Fixing up index page so it looks like a lams login page, and you can login normally from that page

    • -0
    • +512
    ./web/WEB-INF/lams.tld
    • -0
    • +563
    ./web/WEB-INF/jstl/tlds/c.tld
    • -0
    • +671
    ./web/WEB-INF/jstl/tlds/fmt.tld
    • -0
    • +207
    ./web/WEB-INF/jstl/tlds/fn.tld
    • -0
    • +34
    ./web/WEB-INF/jstl/tlds/permittedTaglibs.tld
    • -0
    • +51
    ./web/WEB-INF/jstl/tlds/scriptfree.tld
    • -0
    • +448
    ./web/WEB-INF/jstl/tlds/x.tld
    • -0
    • +93
    ./web/WEB-INF/tags/AuthoringButton.tag
    • -0
    • +52
    ./web/WEB-INF/tags/Date.tag
    • -0
    • +58
    ./web/WEB-INF/tags/DefineLater.tag
    • -0
    • +59
    ./web/WEB-INF/tags/ExportPortOutput.tag
    • -0
    • +74
    ./web/WEB-INF/tags/FCKEditor.tag
    • -0
    • +41
    ./web/WEB-INF/tags/Head.tag
  1. … 22 more files in changeset.
Adding functionality to the open_id project to make it possible to register users into a default course

    • -0
    • +312
    ./web/register.jsp
Committing the openid project for self-registration and sign on

    • -0
    • +3
    ./conf/jar/META-INF/MANIFEST.MF
    • -0
    • +4
    ./conf/war/META-INF/MANIFEST.MF
  1. … 3 more files in changeset.