fckconfig_custom.js

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Merge lams2_3 to head (including things not merged last time due to eclipse's merge wizard not handling the lams2_3 start point as expected)

  1. … 167 more files in changeset.
LDEV-2175: Added Formulae editor to learner

Adding source to customized planner fckconfig

LDEV-2005 - Voice recording tool - FCKEditor plugin present - Changes to configuration file for Red5 settings - Updates to VideoRecorderForFCK (Flex)

  1. … 76 more files in changeset.
LDEV-2119: Add media player to FCKEditor default toolbarset

LDEV-2111: fixing paths for CSS

LDEV-2112: Customized fckeditor toolbar for pedplanner

LDEV-2091: Adding an equation editor to the fckeditor

  1. … 26 more files in changeset.
Relocating the fckeditor wikilink plugin from lams_central to the wiki tool

  1. … 8 more files in changeset.
LDEV-1657 Progress towards wiki link plugin, button and basic interface in place, next step is to provide link information of existing wikis to the dialog

  1. … 4 more files in changeset.
LDEV-1611 Added custom learner toolbarsSet for fckeditor with the addition of Image and Link buttons. The idea is to show/hide image/link buttons depending on preferences chosen for wiki in author at runtime.

LDEV-1516: Changed so the default tag around the text in the fckeditor is <div>

LDEV-1368: Upgrading FCKEditor to 2.5.1. Removed the universal keyboard (no longer supported. Trying the templates out - customised version going in www project.

LDEV-1368: Support for firefox spellchecked turned on, Added templates, and default popups on _blank

LDEV-1368: Removes the Universalkey menu as part of the FCKEditor 2.5 upgrade (the universal keyboard has been removed out of FCK due to licensing problems http://dev.fckeditor.net/changeset/88). We might be able to include it later as a plugin

Changed the EditorAreaCSS to use defaultHTML_learner.css.

Updated EditorAreaCSS to use the new css file.

Set skin to office2003.

Added FitWindow button.

modified fckeditor toolbar (default)

Set EditorAreaCSS to use lams default css.

Update fckeditor to version 2.3.1.

A custom configuration file has been created under web/includes/javascript/fckconfig_custom.js

All global changes to the fckeditor configuration should be placed in the above file. The fckconfig.js should not be modified.

All local changes to the fckeditor configuration should be placed in a new custom js file and invoked using the fck tag.

Please refer to link below for details.

http://wiki.fckeditor.net/Developer's_Guide/Configuration/Configurations_File

    • -0
    • +25
    ./fckconfig_custom.js
  1. … 727 more files in changeset.