esp-ckeditor 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +32 -0
- data/Rakefile +28 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/_bootstrap.js +87 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor.js +141 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor_base.js +227 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor_basic.js +238 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/command.js +209 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/commanddefinition.js +129 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/config.js +423 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dataprocessor.js +65 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js +32 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/document.js +251 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/documentfragment.js +49 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/domobject.js +258 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/element.js +1691 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/elementpath.js +119 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/event.js +145 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/node.js +696 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/nodelist.js +26 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/range.js +2054 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/rangelist.js +213 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/text.js +128 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/walker.js +462 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom/window.js +96 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dom.js +20 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/dtd.js +266 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/editor.js +1060 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/editor_basic.js +186 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/env.js +305 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/event.js +342 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/eventInfo.js +120 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/focusmanager.js +152 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/basicwriter.js +145 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/cdata.js +43 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/comment.js +60 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/element.js +308 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/filter.js +288 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/fragment.js +518 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/text.js +53 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser.js +224 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/lang.js +157 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/loader.js +240 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/plugindefinition.js +83 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/plugins.js +103 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/resourcemanager.js +238 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/scriptloader.js +180 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/skins.js +184 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/themes.js +19 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/tools.js +763 -0
- data/app/assets/javascripts/esp-ckeditor/_source/core/ui.js +128 -0
- data/app/assets/javascripts/esp-ckeditor/_source/lang/_languages.js +27 -0
- data/app/assets/javascripts/esp-ckeditor/_source/lang/en.js +815 -0
- data/app/assets/javascripts/esp-ckeditor/_source/lang/ru.js +815 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +222 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/en.js +108 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/plugin.js +47 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/basicstyles/plugin.js +129 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/button/plugin.js +290 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/dialogs/paste.js +223 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/plugin.js +453 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/contextmenu/plugin.js +179 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialog/dialogDefinition.js +1166 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialog/plugin.js +3308 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialogadvtab/plugin.js +208 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialogui/plugin.js +1541 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/domiterator/plugin.js +361 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/editingblock/plugin.js +278 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/elementspath/plugin.js +218 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/enterkey/plugin.js +433 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/entities/plugin.js +250 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/dialogs/esp_attachment.js +234 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/images/esp_attachment.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/en.js +22 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/ru.js +22 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/uk.js +22 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/plugin.js +23 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/dialogs/esp_audio.js +207 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/esp_audio.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/placeholder.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/en.js +18 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/ru.js +18 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/uk.js +18 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/plugin.js +182 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/dialogs/esp_blockquote.js +132 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/plugin.js +235 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/dialogs/esp_image.js +1414 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/images/esp_image.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/en.js +9 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/ru.js +9 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/uk.js +9 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/plugin.js +80 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_anchor.js +145 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_link.js +1396 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/anchor.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_anchor.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_link.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_unlink.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/en.js +8 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/ru.js +8 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/uk.js +8 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/plugin.js +379 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_address.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_div.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h1.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h2.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h3.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h4.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h5.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h6.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_p.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_pre.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/plugin.js +163 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/dialogs/esp_video.js +277 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/esp_video.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/placeholder.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/en.js +19 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/ru.js +19 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/uk.js +19 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/plugin.js +182 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/fakeobjects/plugin.js +175 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/filebrowser/plugin.js +534 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/find/dialogs/find.js +915 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/find/plugin.js +47 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/floatpanel/plugin.js +428 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/format/plugin.js +197 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/htmldataprocessor/plugin.js +596 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/htmlwriter/plugin.js +319 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/image/dialogs/image.js +1407 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/image/plugin.js +81 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/indent/plugin.js +461 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/justify/plugin.js +253 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/keystrokes/plugin.js +225 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/list/plugin.js +774 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/listblock/plugin.js +266 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +225 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/plugin.js +66 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/maximize/plugin.js +353 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/menu/plugin.js +541 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/panel/plugin.js +400 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/filter/default.js +1367 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/plugin.js +141 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +67 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/plugin.js +98 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/popup/plugin.js +64 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/removeformat/plugin.js +185 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/resize/plugin.js +168 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/richcombo/plugin.js +381 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/selection/plugin.js +1729 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/showborders/plugin.js +207 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/sourcearea/plugin.js +209 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/styles/plugin.js +1700 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/styles/styles/default.js +88 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/stylescombo/plugin.js +218 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/tab/plugin.js +367 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/table/dialogs/table.js +623 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/table/plugin.js +78 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +525 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/plugin.js +1194 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/toolbar/plugin.js +545 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/undo/plugin.js +578 -0
- data/app/assets/javascripts/esp-ckeditor/_source/plugins/wysiwygarea/plugin.js +1347 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/dialog.css +988 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/editor.css +25 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/elementspath.css +73 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.css +367 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/mainui.css +209 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/menu.css +232 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/panel.css +227 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/presets.css +49 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/reset.css +85 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/richcombo.css +287 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/skin.js +236 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/templates.css +88 -0
- data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/toolbar.css +412 -0
- data/app/assets/javascripts/esp-ckeditor/_source/themes/default/theme.js +407 -0
- data/app/assets/javascripts/esp-ckeditor/application.js +8 -0
- data/app/assets/javascripts/esp-ckeditor/ckeditor.js +137 -0
- data/app/assets/javascripts/esp-ckeditor/ckeditor.pack +194 -0
- data/app/assets/javascripts/esp-ckeditor/ckeditor_source.js +35 -0
- data/app/assets/javascripts/esp-ckeditor/ckpackager.jar +0 -0
- data/app/assets/javascripts/esp-ckeditor/ckpackager.txt +2 -0
- data/app/assets/javascripts/esp-ckeditor/config.js +147 -0
- data/app/assets/javascripts/esp-ckeditor/contents.css +38 -0
- data/app/assets/javascripts/esp-ckeditor/images/spacer.gif +0 -0
- data/app/assets/javascripts/esp-ckeditor/init_ckeditor.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/en.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/he.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/basicstyles/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/button/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/clipboard/dialogs/paste.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/clipboard/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/contextmenu/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/dialog/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/dialogadvtab/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/dialogui/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/domiterator/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/editingblock/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/elementspath/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/enterkey/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/entities/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/dialogs/esp_attachment.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/images/esp_attachment.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/en.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/ru.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/uk.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/dialogs/esp_audio.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/esp_audio.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/placeholder.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/en.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/ru.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/uk.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/dialogs/esp_blockquote.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/dialogs/esp_image.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/images/esp_image.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/en.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/ru.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/uk.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_anchor.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_link.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/anchor.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_anchor.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_link.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_unlink.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/en.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/ru.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/uk.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_address.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_div.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h1.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h2.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h3.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h4.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h5.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h6.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_p.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_pre.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/dialogs/esp_video.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/images/esp_video.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/images/placeholder.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/en.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/ru.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/uk.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/fakeobjects/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/filebrowser/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/find/dialogs/find.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/find/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/floatpanel/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/format/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/htmldataprocessor/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/htmlwriter/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/image/dialogs/image.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/image/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/indent/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/justify/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/keystrokes/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/list/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/listblock/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/liststyle/dialogs/liststyle.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/liststyle/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/maximize/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/menu/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/panel/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/pastefromword/filter/default.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/pastefromword/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/pastetext/dialogs/pastetext.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/pastetext/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/popup/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/removeformat/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/resize/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/richcombo/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/selection/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/showborders/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/sourcearea/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/styles/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/styles/styles/default.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/stylescombo/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/tab/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/table/dialogs/table.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/table/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/tabletools/dialogs/tableCell.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/tabletools/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/toolbar/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/undo/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/plugins/wysiwygarea/plugin.js +1 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/dialog.css +988 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/editor.css +25 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/elementspath.css +73 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/icons.css +367 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/icons.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/icons_rtl.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/images/mini.gif +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/images/noimage.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/images/sprites.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/mainui.css +209 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/menu.css +232 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/panel.css +227 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/presets.css +49 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/reset.css +85 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/richcombo.css +287 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/skin.js +236 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/templates.css +88 -0
- data/app/assets/javascripts/esp-ckeditor/skins/kama/toolbar.css +412 -0
- data/app/inputs/ckeditor_input.rb +42 -0
- data/config/routes.rb +2 -0
- data/lib/esp-ckeditor/engine.rb +9 -0
- data/lib/esp-ckeditor/version.rb +3 -0
- data/lib/esp-ckeditor.rb +17 -0
- data/lib/tasks/esp-ckeditor_tasks.rake +4 -0
- metadata +434 -0
@@ -0,0 +1,423 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/**
|
7
|
+
* @fileOverview Defines the <code>{@link CKEDITOR.config}</code> object that stores the
|
8
|
+
* default configuration settings.
|
9
|
+
*/
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
|
13
|
+
* and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
|
14
|
+
* settings to make the editor produce <code><p></code> tags when
|
15
|
+
* using the <em>Enter</em> key.
|
16
|
+
* @constant
|
17
|
+
*/
|
18
|
+
CKEDITOR.ENTER_P = 1;
|
19
|
+
|
20
|
+
/**
|
21
|
+
* Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
|
22
|
+
* and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
|
23
|
+
* settings to make the editor produce <code><br></code> tags when
|
24
|
+
* using the <em>Enter</em> key.
|
25
|
+
* @constant
|
26
|
+
*/
|
27
|
+
CKEDITOR.ENTER_BR = 2;
|
28
|
+
|
29
|
+
/**
|
30
|
+
* Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
|
31
|
+
* and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
|
32
|
+
* settings to make the editor produce <code><div></code> tags when
|
33
|
+
* using the <em>Enter</em> key.
|
34
|
+
* @constant
|
35
|
+
*/
|
36
|
+
CKEDITOR.ENTER_DIV = 3;
|
37
|
+
|
38
|
+
/**
|
39
|
+
* @namespace Stores default configuration settings. Changes to this object are
|
40
|
+
* reflected in all editor instances, if not specified otherwise for a particular
|
41
|
+
* instance.
|
42
|
+
*/
|
43
|
+
CKEDITOR.config =
|
44
|
+
{
|
45
|
+
/**
|
46
|
+
* The URL path for the custom configuration file to be loaded. If not
|
47
|
+
* overloaded with inline configuration, it defaults to the <code>config.js</code>
|
48
|
+
* file present in the root of the CKEditor installation directory.<br /><br />
|
49
|
+
*
|
50
|
+
* CKEditor will recursively load custom configuration files defined inside
|
51
|
+
* other custom configuration files.
|
52
|
+
* @type String
|
53
|
+
* @default <code>'<em><CKEditor folder></em>/config.js'</code>
|
54
|
+
* @example
|
55
|
+
* // Load a specific configuration file.
|
56
|
+
* CKEDITOR.replace( 'myfield', { customConfig : '/myconfig.js' } );
|
57
|
+
* @example
|
58
|
+
* // Do not load any custom configuration file.
|
59
|
+
* CKEDITOR.replace( 'myfield', { customConfig : '' } );
|
60
|
+
*/
|
61
|
+
customConfig : 'config.js',
|
62
|
+
|
63
|
+
/**
|
64
|
+
* Whether the replaced element (usually a <code><textarea></code>)
|
65
|
+
* is to be updated automatically when posting the form containing the editor.
|
66
|
+
* @type Boolean
|
67
|
+
* @default <code>true</code>
|
68
|
+
* @example
|
69
|
+
* config.autoUpdateElement = true;
|
70
|
+
*/
|
71
|
+
autoUpdateElement : true,
|
72
|
+
|
73
|
+
/**
|
74
|
+
* The base href URL used to resolve relative and absolute URLs in the
|
75
|
+
* editor content.
|
76
|
+
* @type String
|
77
|
+
* @default <code>''</code> (empty)
|
78
|
+
* @example
|
79
|
+
* config.baseHref = 'http://www.example.com/path/';
|
80
|
+
*/
|
81
|
+
baseHref : '',
|
82
|
+
|
83
|
+
/**
|
84
|
+
* The CSS file(s) to be used to apply style to editor contents. It should
|
85
|
+
* reflect the CSS used in the final pages where the contents are to be
|
86
|
+
* used.
|
87
|
+
* @type String|Array
|
88
|
+
* @default <code>'<em><CKEditor folder></em>/contents.css'</code>
|
89
|
+
* @example
|
90
|
+
* config.contentsCss = '/css/mysitestyles.css';
|
91
|
+
* config.contentsCss = ['/css/mysitestyles.css', '/css/anotherfile.css'];
|
92
|
+
*/
|
93
|
+
contentsCss : CKEDITOR.basePath + 'contents.css',
|
94
|
+
|
95
|
+
/**
|
96
|
+
* The writing direction of the language used to create the editor
|
97
|
+
* contents. Allowed values are:
|
98
|
+
* <ul>
|
99
|
+
* <li><code>'ui'</code> – indicates that content direction will be the same as the user interface language direction;</li>
|
100
|
+
* <li><code>'ltr'</code> – for Left-To-Right language (like English);</li>
|
101
|
+
* <li><code>'rtl'</code> – for Right-To-Left languages (like Arabic).</li>
|
102
|
+
* </ul>
|
103
|
+
* @default <code>'ui'</code>
|
104
|
+
* @type String
|
105
|
+
* @example
|
106
|
+
* config.contentsLangDirection = 'rtl';
|
107
|
+
*/
|
108
|
+
contentsLangDirection : 'ui',
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Language code of the writing language which is used to create the editor
|
112
|
+
* contents.
|
113
|
+
* @default Same value as editor UI language.
|
114
|
+
* @type String
|
115
|
+
* @example
|
116
|
+
* config.contentsLanguage = 'fr';
|
117
|
+
*/
|
118
|
+
contentsLanguage : '',
|
119
|
+
|
120
|
+
/**
|
121
|
+
* The user interface language localization to use. If left empty, the editor
|
122
|
+
* will automatically be localized to the user language. If the user language is not supported,
|
123
|
+
* the language specified in the <code>{@link CKEDITOR.config.defaultLanguage}</code>
|
124
|
+
* configuration setting is used.
|
125
|
+
* @default <code>''</code> (empty)
|
126
|
+
* @type String
|
127
|
+
* @example
|
128
|
+
* // Load the German interface.
|
129
|
+
* config.language = 'de';
|
130
|
+
*/
|
131
|
+
language : '',
|
132
|
+
|
133
|
+
/**
|
134
|
+
* The language to be used if the <code>{@link CKEDITOR.config.language}</code>
|
135
|
+
* setting is left empty and it is not possible to localize the editor to the user language.
|
136
|
+
* @default <code>'en'</code>
|
137
|
+
* @type String
|
138
|
+
* @example
|
139
|
+
* config.defaultLanguage = 'it';
|
140
|
+
*/
|
141
|
+
defaultLanguage : 'en',
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Sets the behavior of the <em>Enter</em> key. It also determines other behavior
|
145
|
+
* rules of the editor, like whether the <code><br></code> element is to be used
|
146
|
+
* as a paragraph separator when indenting text.
|
147
|
+
* The allowed values are the following constants that cause the behavior outlined below:
|
148
|
+
* <ul>
|
149
|
+
* <li><code>{@link CKEDITOR.ENTER_P}</code> (1) – new <code><p></code> paragraphs are created;</li>
|
150
|
+
* <li><code>{@link CKEDITOR.ENTER_BR}</code> (2) – lines are broken with <code><br></code> elements;</li>
|
151
|
+
* <li><code>{@link CKEDITOR.ENTER_DIV}</code> (3) – new <code><div></code> blocks are created.</li>
|
152
|
+
* </ul>
|
153
|
+
* <strong>Note</strong>: It is recommended to use the
|
154
|
+
* <code>{@link CKEDITOR.ENTER_P}</code> setting because of its semantic value and
|
155
|
+
* correctness. The editor is optimized for this setting.
|
156
|
+
* @type Number
|
157
|
+
* @default <code>{@link CKEDITOR.ENTER_P}</code>
|
158
|
+
* @example
|
159
|
+
* // Not recommended.
|
160
|
+
* config.enterMode = CKEDITOR.ENTER_BR;
|
161
|
+
*/
|
162
|
+
enterMode : CKEDITOR.ENTER_P,
|
163
|
+
|
164
|
+
/**
|
165
|
+
* Force the use of <code>{@link CKEDITOR.config.enterMode}</code> as line break regardless
|
166
|
+
* of the context. If, for example, <code>{@link CKEDITOR.config.enterMode}</code> is set
|
167
|
+
* to <code>{@link CKEDITOR.ENTER_P}</code>, pressing the <em>Enter</em> key inside a
|
168
|
+
* <code><div></code> element will create a new paragraph with <code><p></code>
|
169
|
+
* instead of a <code><div></code>.
|
170
|
+
* @since 3.2.1
|
171
|
+
* @type Boolean
|
172
|
+
* @default <code>false</code>
|
173
|
+
* @example
|
174
|
+
* // Not recommended.
|
175
|
+
* config.forceEnterMode = true;
|
176
|
+
*/
|
177
|
+
forceEnterMode : false,
|
178
|
+
|
179
|
+
/**
|
180
|
+
* Similarly to the <code>{@link CKEDITOR.config.enterMode}</code> setting, it defines the behavior
|
181
|
+
* of the <em>Shift+Enter</em> key combination.
|
182
|
+
* The allowed values are the following constants the behavior outlined below:
|
183
|
+
* <ul>
|
184
|
+
* <li><code>{@link CKEDITOR.ENTER_P}</code> (1) – new <code><p></code> paragraphs are created;</li>
|
185
|
+
* <li><code>{@link CKEDITOR.ENTER_BR}</code> (2) – lines are broken with <code><br></code> elements;</li>
|
186
|
+
* <li><code>{@link CKEDITOR.ENTER_DIV}</code> (3) – new <code><div></code> blocks are created.</li>
|
187
|
+
* </ul>
|
188
|
+
* @type Number
|
189
|
+
* @default <code>{@link CKEDITOR.ENTER_BR}</code>
|
190
|
+
* @example
|
191
|
+
* config.shiftEnterMode = CKEDITOR.ENTER_P;
|
192
|
+
*/
|
193
|
+
shiftEnterMode : CKEDITOR.ENTER_BR,
|
194
|
+
|
195
|
+
/**
|
196
|
+
* A comma separated list of plugins that are not related to editor
|
197
|
+
* instances. Reserved for plugins that extend the core code only.<br /><br />
|
198
|
+
*
|
199
|
+
* There are no ways to override this setting except by editing the source
|
200
|
+
* code of CKEditor (<code>_source/core/config.js</code>).
|
201
|
+
* @type String
|
202
|
+
* @example
|
203
|
+
*/
|
204
|
+
corePlugins : '',
|
205
|
+
|
206
|
+
/**
|
207
|
+
* Sets the <code>DOCTYPE</code> to be used when loading the editor content as HTML.
|
208
|
+
* @type String
|
209
|
+
* @default <code>'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'</code>
|
210
|
+
* @example
|
211
|
+
* // Set the DOCTYPE to the HTML 4 (Quirks) mode.
|
212
|
+
* config.docType = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
|
213
|
+
*/
|
214
|
+
docType : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
215
|
+
|
216
|
+
/**
|
217
|
+
* Sets the <code>id</code> attribute to be used on the <code>body</code> element
|
218
|
+
* of the editing area. This can be useful when you intend to reuse the original CSS
|
219
|
+
* file you are using on your live website and want to assign the editor the same ID
|
220
|
+
* as the section that will include the contents. In this way ID-specific CSS rules will
|
221
|
+
* be enabled.
|
222
|
+
* @since 3.1
|
223
|
+
* @type String
|
224
|
+
* @default <code>''</code> (empty)
|
225
|
+
* @example
|
226
|
+
* config.bodyId = 'contents_id';
|
227
|
+
*/
|
228
|
+
bodyId : '',
|
229
|
+
|
230
|
+
/**
|
231
|
+
* Sets the <code>class</code> attribute to be used on the <code>body</code> element
|
232
|
+
* of the editing area. This can be useful when you intend to reuse the original CSS
|
233
|
+
* file you are using on your live website and want to assign the editor the same class
|
234
|
+
* as the section that will include the contents. In this way class-specific CSS rules will
|
235
|
+
* be enabled.
|
236
|
+
* @since 3.1
|
237
|
+
* @type String
|
238
|
+
* @default <code>''</code> (empty)
|
239
|
+
* @example
|
240
|
+
* config.bodyClass = 'contents';
|
241
|
+
*/
|
242
|
+
bodyClass : '',
|
243
|
+
|
244
|
+
/**
|
245
|
+
* Indicates whether the contents to be edited are being input as a full
|
246
|
+
* HTML page. A full page includes the <code><html></code>,
|
247
|
+
* <code><head></code>, and <code><body></code> elements.
|
248
|
+
* The final output will also reflect this setting, including the
|
249
|
+
* <code><body></code> contents only if this setting is disabled.
|
250
|
+
* @since 3.1
|
251
|
+
* @type Boolean
|
252
|
+
* @default <code>false</code>
|
253
|
+
* @example
|
254
|
+
* config.fullPage = true;
|
255
|
+
*/
|
256
|
+
fullPage : false,
|
257
|
+
|
258
|
+
/**
|
259
|
+
* The height of the editing area (that includes the editor content),
|
260
|
+
* in relative or absolute units, e.g. <code>30px</code>, <code>5em</code>.
|
261
|
+
* <strong>Note:</strong> Percentage units, like <code>30%</code>, are not supported yet.
|
262
|
+
* @type Number|String
|
263
|
+
* @default <code>'200'</code>
|
264
|
+
* @example
|
265
|
+
* config.height = 500;
|
266
|
+
* config.height = '25em';
|
267
|
+
* config.height = '300px';
|
268
|
+
*/
|
269
|
+
height : 200,
|
270
|
+
|
271
|
+
/**
|
272
|
+
* Comma separated list of plugins to be loaded and initialized for an editor
|
273
|
+
* instance. This setting should rarely be changed. It is recommended to use the
|
274
|
+
* <code>{@link CKEDITOR.config.extraPlugins}</code> and
|
275
|
+
* <code>{@link CKEDITOR.config.removePlugins}</code> for customization purposes instead.
|
276
|
+
* @type String
|
277
|
+
* @example
|
278
|
+
*/
|
279
|
+
plugins :
|
280
|
+
'a11yhelp,' +
|
281
|
+
'basicstyles,' +
|
282
|
+
'button,' +
|
283
|
+
'clipboard,' +
|
284
|
+
'contextmenu,' +
|
285
|
+
'dialogadvtab,' +
|
286
|
+
'elementspath,' +
|
287
|
+
'enterkey,' +
|
288
|
+
'entities,' +
|
289
|
+
'esp_attachment,' +
|
290
|
+
'esp_audio,' +
|
291
|
+
'esp_blockquote,' +
|
292
|
+
'esp_image,' +
|
293
|
+
'esp_link,' +
|
294
|
+
'esp_showblocks,' +
|
295
|
+
'esp_video,' +
|
296
|
+
'filebrowser,' +
|
297
|
+
'find,' +
|
298
|
+
'format,' +
|
299
|
+
'htmldataprocessor,' +
|
300
|
+
'image,' +
|
301
|
+
'indent,' +
|
302
|
+
'justify,' +
|
303
|
+
'keystrokes,' +
|
304
|
+
'list,' +
|
305
|
+
'liststyle,' +
|
306
|
+
'maximize,' +
|
307
|
+
'pastefromword,' +
|
308
|
+
'pastetext,' +
|
309
|
+
'popup,' +
|
310
|
+
'removeformat,' +
|
311
|
+
'resize,' +
|
312
|
+
'showborders,' +
|
313
|
+
'sourcearea,' +
|
314
|
+
'stylescombo,' +
|
315
|
+
'tab,' +
|
316
|
+
'table,' +
|
317
|
+
'tabletools,' +
|
318
|
+
'toolbar,' +
|
319
|
+
'undo,' +
|
320
|
+
'wysiwygarea,' +
|
321
|
+
'',
|
322
|
+
/**
|
323
|
+
* A list of additional plugins to be loaded. This setting makes it easier
|
324
|
+
* to add new plugins without having to touch and potentially break the
|
325
|
+
* <code>{@link CKEDITOR.config.plugins}</code> setting.
|
326
|
+
* @type String
|
327
|
+
* @example
|
328
|
+
* config.extraPlugins = 'myplugin,anotherplugin';
|
329
|
+
*/
|
330
|
+
extraPlugins : '',
|
331
|
+
|
332
|
+
/**
|
333
|
+
* A list of plugins that must not be loaded. This setting makes it possible
|
334
|
+
* to avoid loading some plugins defined in the <code>{@link CKEDITOR.config.plugins}</code>
|
335
|
+
* setting, without having to touch it and potentially break it.
|
336
|
+
* @type String
|
337
|
+
* @example
|
338
|
+
* config.removePlugins = 'elementspath,save,font';
|
339
|
+
*/
|
340
|
+
removePlugins : '',
|
341
|
+
|
342
|
+
/**
|
343
|
+
* List of regular expressions to be executed on input HTML,
|
344
|
+
* indicating HTML source code that when matched, must <strong>not</strong> be available in the WYSIWYG
|
345
|
+
* mode for editing.
|
346
|
+
* @type Array
|
347
|
+
* @default <code>[]</code> (empty array)
|
348
|
+
* @example
|
349
|
+
* config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP code
|
350
|
+
* config.protectedSource.push( /<%[\s\S]*?%>/g ); // ASP code
|
351
|
+
* config.protectedSource.push( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ); // ASP.Net code
|
352
|
+
*/
|
353
|
+
protectedSource : [],
|
354
|
+
|
355
|
+
/**
|
356
|
+
* The editor <code>tabindex</code> value.
|
357
|
+
* @type Number
|
358
|
+
* @default <code>0</code> (zero)
|
359
|
+
* @example
|
360
|
+
* config.tabIndex = 1;
|
361
|
+
*/
|
362
|
+
tabIndex : 0,
|
363
|
+
|
364
|
+
/**
|
365
|
+
* The theme to be used to build the user interface.
|
366
|
+
* @type String
|
367
|
+
* @default <code>'default'</code>
|
368
|
+
* @see CKEDITOR.config.skin
|
369
|
+
* @example
|
370
|
+
* config.theme = 'default';
|
371
|
+
*/
|
372
|
+
theme : 'default',
|
373
|
+
|
374
|
+
/**
|
375
|
+
* The skin to load. It may be the name of the skin folder inside the
|
376
|
+
* editor installation path, or the name and the path separated by a comma.
|
377
|
+
* @type String
|
378
|
+
* @default <code>'default'</code>
|
379
|
+
* @example
|
380
|
+
* config.skin = 'v2';
|
381
|
+
* @example
|
382
|
+
* config.skin = 'myskin,/customstuff/myskin/';
|
383
|
+
*/
|
384
|
+
skin : 'kama',
|
385
|
+
|
386
|
+
/**
|
387
|
+
* The editor width in CSS-defined units or an integer denoting a value in pixels.
|
388
|
+
* @type String|Number
|
389
|
+
* @default <code>''</code> (empty)
|
390
|
+
* @example
|
391
|
+
* config.width = 850;
|
392
|
+
* @example
|
393
|
+
* config.width = '75%';
|
394
|
+
*/
|
395
|
+
width : '',
|
396
|
+
|
397
|
+
/**
|
398
|
+
* The base Z-index for floating dialog windows and popups.
|
399
|
+
* @type Number
|
400
|
+
* @default <code>10000</code>
|
401
|
+
* @example
|
402
|
+
* config.baseFloatZIndex = 2000
|
403
|
+
*/
|
404
|
+
baseFloatZIndex : 10000
|
405
|
+
};
|
406
|
+
|
407
|
+
/**
|
408
|
+
* Indicates that some of the editor features, like alignment and text
|
409
|
+
* direction, should use the "computed value" of the feature to indicate its
|
410
|
+
* on/off state instead of using the "real value".<br />
|
411
|
+
* <br />
|
412
|
+
* If enabled in a Left-To-Right written document, the "Left Justify"
|
413
|
+
* alignment button will be shown as active, even if the alignment style is not
|
414
|
+
* explicitly applied to the current paragraph in the editor.
|
415
|
+
* @name CKEDITOR.config.useComputedState
|
416
|
+
* @type Boolean
|
417
|
+
* @default <code>true</code>
|
418
|
+
* @since 3.4
|
419
|
+
* @example
|
420
|
+
* config.useComputedState = false;
|
421
|
+
*/
|
422
|
+
|
423
|
+
// PACKAGER_RENAME( CKEDITOR.config )
|
@@ -0,0 +1,65 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
/**
|
7
|
+
* @fileOverview Defines the "virtual" {@link CKEDITOR.dataProcessor} class, which
|
8
|
+
* defines the basic structure of data processor objects to be
|
9
|
+
* set to {@link CKEDITOR.editor.dataProcessor}.
|
10
|
+
*/
|
11
|
+
|
12
|
+
/**
|
13
|
+
* If defined, points to the data processor which is responsible to translate
|
14
|
+
* and transform the editor data on input and output.
|
15
|
+
* Generaly it will point to an instance of {@link CKEDITOR.htmlDataProcessor},
|
16
|
+
* which handles HTML data. The editor may also handle other data formats by
|
17
|
+
* using different data processors provided by specific plugins.
|
18
|
+
* @name CKEDITOR.editor.prototype.dataProcessor
|
19
|
+
* @type CKEDITOR.dataProcessor
|
20
|
+
*/
|
21
|
+
|
22
|
+
/**
|
23
|
+
* This class is here for documentation purposes only and is not really part of
|
24
|
+
* the API. It serves as the base ("interface") for data processors
|
25
|
+
* implementation.
|
26
|
+
* @name CKEDITOR.dataProcessor
|
27
|
+
* @class Represents a data processor, which is responsible to translate and
|
28
|
+
* transform the editor data on input and output.
|
29
|
+
* @example
|
30
|
+
*/
|
31
|
+
|
32
|
+
/**
|
33
|
+
* Transforms input data into HTML to be loaded in the editor.
|
34
|
+
* While the editor is able to handle non HTML data (like BBCode), at runtime
|
35
|
+
* it can handle HTML data only. The role of the data processor is transforming
|
36
|
+
* the input data into HTML through this function.
|
37
|
+
* @name CKEDITOR.dataProcessor.prototype.toHtml
|
38
|
+
* @function
|
39
|
+
* @param {String} data The input data to be transformed.
|
40
|
+
* @param {String} [fixForBody] The tag name to be used if the data must be
|
41
|
+
* fixed because it is supposed to be loaded direcly into the <body>
|
42
|
+
* tag. This is generally not used by non-HTML data processors.
|
43
|
+
* @example
|
44
|
+
* // Tranforming BBCode data, having a custom BBCode data processor.
|
45
|
+
* var data = 'This is [b]an example[/b].';
|
46
|
+
* var html = editor.dataProcessor.toHtml( data ); // '<p>This is <b>an example</b>.</p>'
|
47
|
+
*/
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Transforms HTML into data to be outputted by the editor, in the format
|
51
|
+
* expected by the data processor.
|
52
|
+
* While the editor is able to handle non HTML data (like BBCode), at runtime
|
53
|
+
* it can handle HTML data only. The role of the data processor is transforming
|
54
|
+
* the HTML data containined by the editor into a specific data format through
|
55
|
+
* this function.
|
56
|
+
* @name CKEDITOR.dataProcessor.prototype.toDataFormat
|
57
|
+
* @function
|
58
|
+
* @param {String} html The HTML to be transformed.
|
59
|
+
* @param {String} fixForBody The tag name to be used if the output data is
|
60
|
+
* coming from <body> and may be eventually fixed for it. This is
|
61
|
+
* generally not used by non-HTML data processors.
|
62
|
+
* // Tranforming into BBCode data, having a custom BBCode data processor.
|
63
|
+
* var html = '<p>This is <b>an example</b>.</p>';
|
64
|
+
* var data = editor.dataProcessor.toDataFormat( html ); // 'This is [b]an example[/b].'
|
65
|
+
*/
|