radiant-ck_editor_filter-extension 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +7 -1
- data/VERSION +1 -1
- data/ck_editor_filter_extension.rb +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/CHANGES.html +1130 -373
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/INSTALL.html +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/LICENSE.html +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/application.xml +32 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/run.bat +9 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/run.sh +8 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/sample.html +45 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/ajax.html +23 -25
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api.html +64 -24
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api_dialog.html +36 -19
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api_dialog/my_dialog.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/advanced.asp +105 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/events.asp +136 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/index.html +103 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/replace.asp +72 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/replaceall.asp +77 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/sample_posteddata.asp +46 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/standalone.asp +72 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/_posteddata.php +59 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/output_for_flash.fla +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/output_xhtml.css +204 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/parsesample.css +70 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/assets/swfobject.js +18 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/autogrow.html +103 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/bbcode.html +136 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/devtools.html +94 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/divreplace.html +27 -10
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/enterkey.html +39 -12
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/fullpage.html +33 -13
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/index.html +88 -25
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/jqueryadapter.html +34 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/output_for_flash.html +275 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/output_html.html +285 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/output_xhtml.html +181 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/advanced.php +56 -29
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/events.php +58 -35
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/index.html +47 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/replace.php +48 -24
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/replaceall.php +50 -30
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/php/standalone.php +52 -33
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/placeholder.html +81 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/readonly.html +91 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/replacebyclass.html +22 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/replacebycode.html +25 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/sample.css +85 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/sample.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/sample_posteddata.php +21 -59
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/sharedspaces.html +32 -10
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/skins.html +38 -11
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/stylesheetparser.html +93 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/tableresize.html +115 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/ui_color.html +49 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/ui_languages.html +53 -23
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/adapters/jquery.js +17 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/_bootstrap.js +21 -18
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ckeditor.js +42 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ckeditor_base.js +66 -29
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ckeditor_basic.js +12 -15
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/command.js +138 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/commanddefinition.js +59 -16
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/config.js +142 -18
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dataprocessor.js +6 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom.js +2 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/comment.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/document.js +29 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/documentfragment.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/domobject.js +59 -11
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/element.js +249 -27
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/elementpath.js +18 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/event.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/node.js +84 -56
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/nodelist.js +4 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/range.js +345 -48
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/rangelist.js +213 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/text.js +6 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/walker.js +40 -29
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/window.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dtd.js +15 -11
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/editor.js +336 -15
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/editor_basic.js +19 -12
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/env.js +80 -17
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/event.js +12 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/eventInfo.js +5 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/focusmanager.js +27 -12
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser.js +17 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/basicwriter.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/cdata.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/comment.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/element.js +14 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/filter.js +34 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/fragment.js +105 -108
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/text.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/lang.js +12 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/loader.js +7 -9
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/plugindefinition.js +18 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/plugins.js +21 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/resourcemanager.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/scriptloader.js +7 -25
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/skins.js +5 -25
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/themes.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/tools.js +61 -12
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ui.js +13 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/_languages.js +2 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/_translationstatus.txt +58 -57
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/af.js +521 -410
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ar.js +160 -49
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/bg.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/bn.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/bs.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ca.js +260 -149
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/cs.js +233 -122
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/cy.js +159 -48
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/da.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/de.js +217 -106
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/el.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/en-au.js +166 -55
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/en-ca.js +166 -55
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/en-gb.js +277 -166
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/en.js +166 -55
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/eo.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/es.js +182 -71
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/et.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/eu.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fa.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fi.js +178 -67
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fo.js +339 -228
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fr-ca.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/fr.js +261 -150
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/gl.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/gu.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/he.js +179 -68
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/hi.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/hr.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/hu.js +341 -230
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/is.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/it.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ja.js +195 -84
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ka.js +810 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/km.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ko.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/lt.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/lv.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/mn.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ms.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/nb.js +286 -175
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/nl.js +178 -67
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/no.js +286 -175
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/pl.js +279 -168
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/pt-br.js +318 -208
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/pt.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ro.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/ru.js +159 -48
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sk.js +192 -81
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sl.js +161 -50
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sr-latn.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sr.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/sv.js +357 -247
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/th.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/tr.js +345 -235
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/uk.js +387 -276
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/vi.js +336 -225
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/zh-cn.js +271 -160
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/lang/zh.js +162 -51
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +16 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/a11yhelp/lang/en.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/a11yhelp/plugin.js +4 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/about/dialogs/about.js +4 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/about/plugin.js +2 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/adobeair/plugin.js +228 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/ajax/plugin.js +152 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/autogrow/plugin.js +88 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/basicstyles/plugin.js +27 -19
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/bbcode/plugin.js +924 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/bidi/plugin.js +331 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/blockquote/plugin.js +8 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/button/plugin.js +70 -55
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/clipboard/dialogs/paste.js +115 -78
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/clipboard/plugin.js +133 -69
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/colorbutton/plugin.js +91 -23
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +192 -43
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/colordialog/plugin.js +12 -10
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/contextmenu/plugin.js +124 -221
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/devtools/lang/en.js +16 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/devtools/plugin.js +173 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/dialog/dialogDefinition.js +840 -56
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/dialog/plugin.js +652 -301
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/dialogadvtab/plugin.js +205 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/dialogui/plugin.js +179 -50
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/div/dialogs/div.js +40 -40
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/div/plugin.js +4 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/docprops/dialogs/docprops.js +686 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/docprops/plugin.js +22 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/domiterator/plugin.js +59 -53
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/editingblock/plugin.js +62 -17
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/elementspath/plugin.js +137 -108
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/enterkey/plugin.js +117 -47
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/entities/plugin.js +95 -45
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/fakeobjects/plugin.js +22 -16
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/filebrowser/plugin.js +75 -30
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/find/dialogs/find.js +111 -69
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/find/plugin.js +2 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/flash/dialogs/flash.js +28 -20
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/flash/plugin.js +14 -11
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/floatpanel/plugin.js +50 -21
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/font/plugin.js +3 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/format/plugin.js +17 -13
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/button.js +38 -55
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/checkbox.js +21 -11
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/form.js +6 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +26 -17
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/radio.js +6 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/select.js +13 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/textarea.js +4 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/dialogs/textfield.js +11 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/forms/plugin.js +112 -41
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/horizontalrule/plugin.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/htmldataprocessor/plugin.js +200 -63
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/htmlwriter/plugin.js +26 -21
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/iframe/dialogs/iframe.js +257 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/iframe/plugin.js +106 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/iframedialog/plugin.js +59 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/image/dialogs/image.js +243 -218
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/image/plugin.js +19 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/indent/plugin.js +335 -223
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/justify/plugin.js +115 -30
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/keystrokes/plugin.js +3 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/link/dialogs/anchor.js +85 -40
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/link/dialogs/link.js +163 -184
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/link/plugin.js +180 -32
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/list/plugin.js +165 -81
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/listblock/plugin.js +11 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +204 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/liststyle/plugin.js +66 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/maximize/plugin.js +109 -40
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/menu/plugin.js +166 -67
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/menubutton/plugin.js +12 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/newpage/plugin.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pagebreak/plugin.js +95 -29
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/panel/plugin.js +43 -20
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/panelbutton/plugin.js +10 -11
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pastefromword/filter/default.js +316 -119
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pastefromword/plugin.js +32 -11
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +19 -29
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/pastetext/plugin.js +15 -79
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +71 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/lang/en.js +16 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/lang/he.js +16 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/placeholder/plugin.js +171 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/popup/plugin.js +9 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/preview/plugin.js +3 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/print/plugin.js +2 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/removeformat/plugin.js +89 -36
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/resize/plugin.js +71 -18
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/richcombo/plugin.js +40 -29
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/save/plugin.js +2 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/scayt/dialogs/options.js +114 -110
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/scayt/plugin.js +531 -170
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/selection/plugin.js +791 -331
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showblocks/plugin.js +14 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/showborders/plugin.js +63 -26
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/dialogs/smiley.js +31 -22
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/smiley/plugin.js +15 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/sourcearea/plugin.js +18 -14
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +36 -59
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/specialchar/lang/en.js +89 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/specialchar/plugin.js +45 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/styles/plugin.js +632 -212
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/{stylescombo → styles}/styles/default.js +5 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/stylescombo/plugin.js +77 -140
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/stylesheetparser/plugin.js +143 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/tab/plugin.js +109 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/table/dialogs/table.js +106 -23
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/table/plugin.js +11 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/tableresize/plugin.js +450 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +66 -64
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/tabletools/plugin.js +348 -179
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/dialogs/templates.js +41 -36
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/plugin.js +3 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/templates/templates/default.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/toolbar/plugin.js +193 -122
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +6 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/lang/en.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/lang/he.js +15 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/plugin.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/undo/plugin.js +73 -12
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/dialogs/wsc.css +1 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/dialogs/wsc.js +20 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wsc/plugin.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/wysiwygarea/plugin.js +751 -251
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/xml/plugin.js +170 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/dialog.css +116 -18
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/editor.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/elementspath.css +2 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/icons.css +42 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/mainui.css +25 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/menu.css +36 -15
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/panel.css +18 -17
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/presets.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/reset.css +7 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/richcombo.css +27 -10
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/skin.js +4 -36
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/templates.css +16 -12
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/kama/toolbar.css +69 -83
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/dialog.css +111 -13
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/editor.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/elementspath.css +2 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/icons.css +40 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/mainui.css +33 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/menu.css +37 -15
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/panel.css +23 -22
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/presets.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/reset.css +7 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/richcombo.css +40 -20
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/skin.js +10 -17
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/templates.css +16 -10
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/office2003/toolbar.css +79 -32
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/dialog.css +112 -13
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/editor.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/elementspath.css +2 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/icons.css +40 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/mainui.css +25 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/menu.css +38 -16
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/panel.css +22 -21
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/presets.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/reset.css +7 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/richcombo.css +36 -23
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/skin.js +10 -17
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/templates.css +16 -10
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/toolbar.css +67 -27
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/themes/default/theme.js +106 -46
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/adapters/jquery.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.asp +955 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.js +141 -117
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.pack +13 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.php +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_basic.js +4 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_basic_source.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_php4.php +27 -54
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_php5.php +26 -53
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor_source.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/config.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/contents.css +4 -16
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/_languages.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/_translationstatus.txt +58 -57
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/af.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ar.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bg.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bn.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/bs.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ca.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/cs.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/cy.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/da.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/de.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/el.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-au.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-ca.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en-gb.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/en.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/eo.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/es.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/et.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/eu.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fa.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fi.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fo.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fr-ca.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/fr.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/gl.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/gu.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/he.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hi.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hr.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/hu.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/is.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/it.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ja.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ka.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/km.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ko.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/lt.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/lv.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/mn.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ms.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/nb.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/nl.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/no.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pl.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pt-br.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/pt.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ro.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/ru.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sk.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sl.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sr-latn.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sr.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/sv.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/th.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/tr.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/uk.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/vi.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/zh-cn.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/lang/zh.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/lang/en.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/about/dialogs/about.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/adobeair/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/ajax/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/bbcode/plugin.js +9 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/clipboard/dialogs/paste.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/colordialog/dialogs/colordialog.js +3 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/devtools/lang/en.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/devtools/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/div/dialogs/div.js +3 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/docprops/dialogs/docprops.js +10 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/docprops/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/find/dialogs/find.js +5 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/flash/dialogs/flash.js +5 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/button.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/checkbox.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/form.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/hiddenfield.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/radio.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/select.js +4 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/textarea.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/dialogs/textfield.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/iframedialog/plugin.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/image/dialogs/image.js +9 -9
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/dialogs/anchor.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/dialogs/link.js +7 -7
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/liststyle/dialogs/liststyle.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pastefromword/filter/default.js +7 -6
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pastetext/dialogs/pastetext.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/lang/en.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/lang/he.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/placeholder/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/radiantpreview/images/radiant-preview.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/dialogs/options.js +4 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/scayt/dialogs/toolbar.css +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/smiley/dialogs/smiley.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/dialogs/specialchar.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/specialchar/lang/en.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/{stylescombo → styles}/styles/default.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/stylesheetparser/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/table/dialogs/table.js +5 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/tabletools/dialogs/tableCell.js +4 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/dialogs/templates.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/templates/templates/default.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/dialogs/uicolor.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/lang/en.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/plugin.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/assets/yui.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/uicolor/yui/yui.js +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/ciframe.html +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/wsc.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/wsc/dialogs/wsc.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/xml/plugin.js +6 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/dialog.css +5 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/editor.css +9 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/skin.js +3 -3
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/kama/templates.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/dialog.css +5 -5
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/editor.css +10 -9
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/skin.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/office2003/templates.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/dialog.css +5 -4
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/editor.css +9 -8
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/skin.js +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/templates.css +2 -2
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/themes/default/theme.js +4 -4
- data/public/javascripts/extensions/ck_editor_filter/radiant.ckeditor.js +21 -12
- metadata +94 -9
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/ajax.js +0 -143
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/imagecacher.js +0 -58
- data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/xml.js +0 -165
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
@@ -9,20 +9,17 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
9
9
|
|
10
10
|
(function()
|
11
11
|
{
|
12
|
-
//
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
var backgroundImageUrl = useSpacer ? ( CKEDITOR.basePath + 'images/spacer.gif' ) :
|
20
|
-
useBlank ? 'about:blank' : 'data:image/png;base64,';
|
12
|
+
// Disable HC detaction in WebKit. (#5429)
|
13
|
+
if ( CKEDITOR.env.webkit )
|
14
|
+
{
|
15
|
+
CKEDITOR.env.hc = false;
|
16
|
+
return;
|
17
|
+
}
|
21
18
|
|
19
|
+
// Check whether high contrast is active by creating a colored border.
|
22
20
|
var hcDetect = CKEDITOR.dom.element.createFromHtml(
|
23
|
-
'<div style="width:0px;height:0px;' +
|
24
|
-
'
|
25
|
-
'background-image:url(' + backgroundImageUrl + ')"></div>', CKEDITOR.document );
|
21
|
+
'<div style="width:0px;height:0px;position:absolute;left:-10000px;' +
|
22
|
+
'border: 1px solid;border-color: red blue;"></div>', CKEDITOR.document );
|
26
23
|
|
27
24
|
hcDetect.appendTo( CKEDITOR.document.getHead() );
|
28
25
|
|
@@ -30,12 +27,13 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
30
27
|
// Catch exception needed sometimes for FF. (#4230)
|
31
28
|
try
|
32
29
|
{
|
33
|
-
CKEDITOR.env.hc =
|
30
|
+
CKEDITOR.env.hc = hcDetect.getComputedStyle( 'border-top-color' ) == hcDetect.getComputedStyle( 'border-right-color' );
|
34
31
|
}
|
35
32
|
catch (e)
|
36
33
|
{
|
37
34
|
CKEDITOR.env.hc = false;
|
38
35
|
}
|
36
|
+
|
39
37
|
if ( CKEDITOR.env.hc )
|
40
38
|
CKEDITOR.env.cssClass += ' cke_hc';
|
41
39
|
|
@@ -59,9 +57,7 @@ CKEDITOR.plugins.load( CKEDITOR.config.corePlugins.split( ',' ), function()
|
|
59
57
|
}
|
60
58
|
});
|
61
59
|
|
62
|
-
|
63
|
-
TODO: Enable the following and check if effective.
|
64
|
-
|
60
|
+
// Needed for IE6 to not request image (HTTP 200 or 304) for every CSS background. (#6187)
|
65
61
|
if ( CKEDITOR.env.ie )
|
66
62
|
{
|
67
63
|
// Remove IE mouse flickering on IE6 because of background images.
|
@@ -75,7 +71,14 @@ if ( CKEDITOR.env.ie )
|
|
75
71
|
// line. For safety, let's just ignore errors.
|
76
72
|
}
|
77
73
|
}
|
78
|
-
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Indicates that CKEditor is running on a High Contrast environment.
|
77
|
+
* @name CKEDITOR.env.hc
|
78
|
+
* @example
|
79
|
+
* if ( CKEDITOR.env.hc )
|
80
|
+
* alert( 'You're running on High Contrast mode. The editor interface will get adapted to provide you a better experience.' );
|
81
|
+
*/
|
79
82
|
|
80
83
|
/**
|
81
84
|
* Fired when a CKEDITOR core object is fully loaded and ready for interaction.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
@@ -59,9 +59,10 @@ CKEDITOR.add = function( editor )
|
|
59
59
|
};
|
60
60
|
|
61
61
|
/**
|
62
|
-
* Removes
|
63
|
-
* is available for internal use
|
64
|
-
*
|
62
|
+
* Removes an editor instance from the global {@link CKEDITOR} object. This function
|
63
|
+
* is available for internal use only. External code must use {@link CKEDITOR.editor.prototype.destroy}
|
64
|
+
* to avoid memory leaks.
|
65
|
+
* @param {CKEDITOR.editor} editor The editor instance to be removed.
|
65
66
|
* @example
|
66
67
|
*/
|
67
68
|
CKEDITOR.remove = function( editor )
|
@@ -69,6 +70,16 @@ CKEDITOR.remove = function( editor )
|
|
69
70
|
delete CKEDITOR.instances[ editor.name ];
|
70
71
|
};
|
71
72
|
|
73
|
+
/**
|
74
|
+
* Perform global clean up to free as much memory as possible
|
75
|
+
* when there are no instances left
|
76
|
+
*/
|
77
|
+
CKEDITOR.on( 'instanceDestroyed', function ()
|
78
|
+
{
|
79
|
+
if ( CKEDITOR.tools.isEmpty( this.instances ) )
|
80
|
+
CKEDITOR.fire( 'reset' );
|
81
|
+
});
|
82
|
+
|
72
83
|
// Load the bootstrap script.
|
73
84
|
CKEDITOR.loader.load( 'core/_bootstrap' ); // @Packager.RemoveLine
|
74
85
|
|
@@ -95,9 +106,36 @@ CKEDITOR.TRISTATE_OFF = 2;
|
|
95
106
|
*/
|
96
107
|
CKEDITOR.TRISTATE_DISABLED = 0;
|
97
108
|
|
109
|
+
/**
|
110
|
+
* The editor which is currently active (have user focus).
|
111
|
+
* @name CKEDITOR.currentInstance
|
112
|
+
* @type CKEDITOR.editor
|
113
|
+
* @see CKEDITOR#currentInstance
|
114
|
+
* @example
|
115
|
+
* function showCurrentEditorName()
|
116
|
+
* {
|
117
|
+
* if ( CKEDITOR.currentInstance )
|
118
|
+
* alert( CKEDITOR.currentInstance.name );
|
119
|
+
* else
|
120
|
+
* alert( 'Please focus an editor first.' );
|
121
|
+
* }
|
122
|
+
*/
|
123
|
+
|
98
124
|
/**
|
99
125
|
* Fired when the CKEDITOR.currentInstance object reference changes. This may
|
100
126
|
* happen when setting the focus on different editor instances in the page.
|
101
127
|
* @name CKEDITOR#currentInstance
|
102
128
|
* @event
|
129
|
+
* var editor; // Variable to hold a reference to the current editor.
|
130
|
+
* CKEDITOR.on( 'currentInstance' , function( e )
|
131
|
+
* {
|
132
|
+
* editor = CKEDITOR.currentInstance;
|
133
|
+
* });
|
134
|
+
*/
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Fired when the last instance has been destroyed. This event is used to perform
|
138
|
+
* global memory clean up.
|
139
|
+
* @name CKEDITOR#reset
|
140
|
+
* @event
|
103
141
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
@@ -9,20 +9,28 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
9
9
|
*/
|
10
10
|
|
11
11
|
// #### Compressed Code
|
12
|
-
// Must be updated on changes in the script
|
12
|
+
// Must be updated on changes in the script as well as updated in the
|
13
13
|
// ckeditor_source.js and ckeditor_basic_source.js files.
|
14
14
|
|
15
|
-
// if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.
|
15
|
+
// if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.6',rev:'6902',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i);if(g){d=g[1];break;}}}if(d.indexOf(':/')==-1)if(d.indexOf('/')===0)d=location.href.match(/^.*?:\/\/[^\/]*/)[0]+d;else d=location.href.match(/^[^\?]*\/(?:)/)[0]+d;return d;})(),getUrl:function(d){if(d.indexOf(':/')==-1&&d.indexOf('/')!==0)d=this.basePath+d;if(this.timestamp&&d.charAt(d.length-1)!='/')d+=(d.indexOf('?')>=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})();
|
16
16
|
|
17
17
|
// #### Raw code
|
18
18
|
// ATTENTION: read the above "Compressed Code" notes when changing this code.
|
19
19
|
|
20
|
+
/* @Packager.RemoveLine
|
21
|
+
// Avoid having the editor code initialized twice. (#7588)
|
22
|
+
// Use CKEDITOR.dom to check whether the full ckeditor.js code has been loaded
|
23
|
+
// or just ckeditor_basic.js.
|
24
|
+
// Remove these lines when compressing manually.
|
25
|
+
if ( window.CKEDITOR && window.CKEDITOR.dom )
|
26
|
+
return;
|
27
|
+
@Packager.RemoveLine */
|
28
|
+
|
20
29
|
if ( !window.CKEDITOR )
|
21
30
|
{
|
22
31
|
/**
|
23
|
-
* This is the API entry point. The entire CKEditor code runs under this object.
|
24
32
|
* @name CKEDITOR
|
25
|
-
* @namespace
|
33
|
+
* @namespace This is the API entry point. The entire CKEditor code runs under this object.
|
26
34
|
* @example
|
27
35
|
*/
|
28
36
|
window.CKEDITOR = (function()
|
@@ -34,36 +42,37 @@ if ( !window.CKEDITOR )
|
|
34
42
|
/**
|
35
43
|
* A constant string unique for each release of CKEditor. Its value
|
36
44
|
* is used, by default, to build the URL for all resources loaded
|
37
|
-
* by the editor code,
|
45
|
+
* by the editor code, guaranteeing clean cache results when
|
38
46
|
* upgrading.
|
39
47
|
* @type String
|
40
48
|
* @example
|
41
49
|
* alert( CKEDITOR.timestamp ); // e.g. '87dm'
|
42
50
|
*/
|
43
51
|
// The production implementation contains a fixed timestamp, unique
|
44
|
-
// for each release
|
52
|
+
// for each release and generated by the releaser.
|
45
53
|
// (Base 36 value of each component of YYMMDDHH - 4 chars total - e.g. 87bm == 08071122)
|
46
|
-
timestamp : '
|
54
|
+
timestamp : 'B49E5BQ',
|
47
55
|
|
48
56
|
/**
|
49
57
|
* Contains the CKEditor version number.
|
50
58
|
* @type String
|
51
59
|
* @example
|
52
|
-
* alert( CKEDITOR.version ); // e.g. 'CKEditor 3.
|
60
|
+
* alert( CKEDITOR.version ); // e.g. 'CKEditor 3.4.1'
|
53
61
|
*/
|
54
|
-
version : '3.
|
62
|
+
version : '3.6',
|
55
63
|
|
56
64
|
/**
|
57
65
|
* Contains the CKEditor revision number.
|
58
|
-
*
|
66
|
+
* The revision number is incremented automatically, following each
|
67
|
+
* modification to the CKEditor source code.
|
59
68
|
* @type String
|
60
69
|
* @example
|
61
70
|
* alert( CKEDITOR.revision ); // e.g. '3975'
|
62
71
|
*/
|
63
|
-
revision : '
|
72
|
+
revision : '6902',
|
64
73
|
|
65
74
|
/**
|
66
|
-
* Private object used to hold core stuff. It should not be used
|
75
|
+
* Private object used to hold core stuff. It should not be used outside of
|
67
76
|
* the API code as properties defined here may change at any time
|
68
77
|
* without notice.
|
69
78
|
* @private
|
@@ -71,17 +80,17 @@ if ( !window.CKEDITOR )
|
|
71
80
|
_ : {},
|
72
81
|
|
73
82
|
/**
|
74
|
-
* Indicates the API loading status. The following
|
83
|
+
* Indicates the API loading status. The following statuses are available:
|
75
84
|
* <ul>
|
76
85
|
* <li><b>unloaded</b>: the API is not yet loaded.</li>
|
77
86
|
* <li><b>basic_loaded</b>: the basic API features are available.</li>
|
78
87
|
* <li><b>basic_ready</b>: the basic API is ready to load the full core code.</li>
|
79
88
|
* <li><b>loading</b>: the full API is being loaded.</li>
|
80
|
-
* <li><b>
|
89
|
+
* <li><b>loaded</b>: the API can be fully used.</li>
|
81
90
|
* </ul>
|
82
91
|
* @type String
|
83
92
|
* @example
|
84
|
-
* if ( <b>CKEDITOR.status</b> == '
|
93
|
+
* if ( <b>CKEDITOR.status</b> == 'loaded' )
|
85
94
|
* {
|
86
95
|
* // The API can now be fully used.
|
87
96
|
* }
|
@@ -90,16 +99,16 @@ if ( !window.CKEDITOR )
|
|
90
99
|
|
91
100
|
/**
|
92
101
|
* Contains the full URL for the CKEditor installation directory.
|
93
|
-
* It
|
102
|
+
* It is possible to manually provide the base path by setting a
|
94
103
|
* global variable named CKEDITOR_BASEPATH. This global variable
|
95
|
-
* must be set
|
104
|
+
* must be set <strong>before</strong> the editor script loading.
|
96
105
|
* @type String
|
97
106
|
* @example
|
98
107
|
* alert( <b>CKEDITOR.basePath</b> ); // "http://www.example.com/ckeditor/" (e.g.)
|
99
108
|
*/
|
100
109
|
basePath : (function()
|
101
110
|
{
|
102
|
-
// ATTENTION: fixes
|
111
|
+
// ATTENTION: fixes to this code must be ported to
|
103
112
|
// var basePath in "core/loader.js".
|
104
113
|
|
105
114
|
// Find out the editor directory path, based on its <script> tag.
|
@@ -121,9 +130,9 @@ if ( !window.CKEDITOR )
|
|
121
130
|
}
|
122
131
|
}
|
123
132
|
|
124
|
-
// In IE (only) the script.src string is the raw
|
125
|
-
// HTML. Other browsers return the full resolved URL instead.
|
126
|
-
if ( path.indexOf('
|
133
|
+
// In IE (only) the script.src string is the raw value entered in the
|
134
|
+
// HTML source. Other browsers return the full resolved URL instead.
|
135
|
+
if ( path.indexOf(':/') == -1 )
|
127
136
|
{
|
128
137
|
// Absolute path.
|
129
138
|
if ( path.indexOf( '/' ) === 0 )
|
@@ -133,18 +142,24 @@ if ( !window.CKEDITOR )
|
|
133
142
|
path = location.href.match( /^[^\?]*\/(?:)/ )[0] + path;
|
134
143
|
}
|
135
144
|
|
145
|
+
if ( !path )
|
146
|
+
throw 'The CKEditor installation path could not be automatically detected. Please set the global variable "CKEDITOR_BASEPATH" before creating editor instances.';
|
147
|
+
|
136
148
|
return path;
|
137
149
|
})(),
|
138
150
|
|
139
151
|
/**
|
140
152
|
* Gets the full URL for CKEditor resources. By default, URLs
|
141
|
-
* returned by this function
|
142
|
-
* set to the {@link CKEDITOR.timestamp} value
|
143
|
-
*
|
153
|
+
* returned by this function contain a querystring parameter ("t")
|
154
|
+
* set to the {@link CKEDITOR.timestamp} value.<br />
|
155
|
+
* <br />
|
156
|
+
* It is possible to provide a custom implementation of this
|
144
157
|
* function by setting a global variable named CKEDITOR_GETURL.
|
145
|
-
* This global variable must be set
|
146
|
-
* loading. If the custom implementation returns nothing, the
|
158
|
+
* This global variable must be set <strong>before</strong> the editor script
|
159
|
+
* loading. If the custom implementation returns nothing (==null), the
|
147
160
|
* default implementation is used.
|
161
|
+
* @param {String} resource The resource whose full URL we want to get.
|
162
|
+
* It may be a full, absolute, or relative URL.
|
148
163
|
* @returns {String} The full URL.
|
149
164
|
* @example
|
150
165
|
* // e.g. http://www.example.com/ckeditor/skins/default/editor.css?t=87dm
|
@@ -159,11 +174,11 @@ if ( !window.CKEDITOR )
|
|
159
174
|
getUrl : function( resource )
|
160
175
|
{
|
161
176
|
// If this is not a full or absolute path.
|
162
|
-
if ( resource.indexOf('
|
177
|
+
if ( resource.indexOf(':/') == -1 && resource.indexOf( '/' ) !== 0 )
|
163
178
|
resource = this.basePath + resource;
|
164
179
|
|
165
180
|
// Add the timestamp, except for directories.
|
166
|
-
if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' )
|
181
|
+
if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' && !(/[&?]t=/).test( resource ) )
|
167
182
|
resource += ( resource.indexOf( '?' ) >= 0 ? '&' : '?' ) + 't=' + this.timestamp;
|
168
183
|
|
169
184
|
return resource;
|
@@ -187,4 +202,26 @@ if ( !window.CKEDITOR )
|
|
187
202
|
})();
|
188
203
|
}
|
189
204
|
|
205
|
+
/**
|
206
|
+
* Function called upon loading a custom configuration file that can
|
207
|
+
* modify the editor instance configuration ({@link CKEDITOR.editor#config }).
|
208
|
+
* It is usually defined inside the custom configuration files that can
|
209
|
+
* include developer defined settings.
|
210
|
+
* @name CKEDITOR.editorConfig
|
211
|
+
* @function
|
212
|
+
* @param {CKEDITOR.config} config A configuration object containing the
|
213
|
+
* settings defined for a {@link CKEDITOR.editor} instance up to this
|
214
|
+
* function call. Note that not all settings may still be available. See
|
215
|
+
* <a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Setting_Configurations#Configuration_Loading_Order">Configuration Loading Order</a>
|
216
|
+
* for details.
|
217
|
+
* @example
|
218
|
+
* // This is supposed to be placed in the config.js file.
|
219
|
+
* CKEDITOR.editorConfig = function( config )
|
220
|
+
* {
|
221
|
+
* // Define changes to default configuration here. For example:
|
222
|
+
* config.language = 'fr';
|
223
|
+
* config.uiColor = '#AADC6E';
|
224
|
+
* };
|
225
|
+
*/
|
226
|
+
|
190
227
|
// PACKAGER_RENAME( CKEDITOR )
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
@@ -29,7 +29,7 @@ if ( CKEDITOR.status == 'unloaded' )
|
|
29
29
|
// If not the basic code is not ready it, just mark it to be loaded.
|
30
30
|
if ( CKEDITOR.status != 'basic_ready' )
|
31
31
|
{
|
32
|
-
CKEDITOR.loadFullCore._load =
|
32
|
+
CKEDITOR.loadFullCore._load = 1;
|
33
33
|
return;
|
34
34
|
}
|
35
35
|
|
@@ -77,9 +77,9 @@ if ( CKEDITOR.status == 'unloaded' )
|
|
77
77
|
* // Disable the auto-replace feature.
|
78
78
|
* <b>CKEDITOR.replaceByClassEnabled</b> = false;
|
79
79
|
*/
|
80
|
-
CKEDITOR.replaceByClassEnabled =
|
80
|
+
CKEDITOR.replaceByClassEnabled = 1;
|
81
81
|
|
82
|
-
var createInstance = function( elementOrIdOrName, config, creationFunction )
|
82
|
+
var createInstance = function( elementOrIdOrName, config, creationFunction, data )
|
83
83
|
{
|
84
84
|
if ( CKEDITOR.env.isCompatible )
|
85
85
|
{
|
@@ -87,7 +87,7 @@ if ( CKEDITOR.status == 'unloaded' )
|
|
87
87
|
if ( CKEDITOR.loadFullCore )
|
88
88
|
CKEDITOR.loadFullCore();
|
89
89
|
|
90
|
-
var editor = creationFunction( elementOrIdOrName, config );
|
90
|
+
var editor = creationFunction( elementOrIdOrName, config, data );
|
91
91
|
CKEDITOR.add( editor );
|
92
92
|
return editor;
|
93
93
|
}
|
@@ -125,21 +125,19 @@ if ( CKEDITOR.status == 'unloaded' )
|
|
125
125
|
* @param {Object} [config] The specific configurations to apply to this
|
126
126
|
* editor instance. Configurations set here will override global CKEditor
|
127
127
|
* settings.
|
128
|
+
* @param {String} [data] Since 3.3. Initial value for the instance.
|
128
129
|
* @returns {CKEDITOR.editor} The editor instance created.
|
129
130
|
* @example
|
130
131
|
* <div id="editorSpace"><:/div>
|
131
132
|
* ...
|
132
133
|
* <b>CKEDITOR.appendTo( 'editorSpace' )</b>;
|
133
134
|
*/
|
134
|
-
CKEDITOR.appendTo = function( elementOrId, config )
|
135
|
+
CKEDITOR.appendTo = function( elementOrId, config, data )
|
135
136
|
{
|
136
|
-
return createInstance( elementOrId, config, CKEDITOR.editor.appendTo );
|
137
|
+
return createInstance( elementOrId, config, CKEDITOR.editor.appendTo, data );
|
137
138
|
};
|
138
139
|
|
139
|
-
|
140
|
-
* @ignore
|
141
|
-
* Documented at ckeditor.js.
|
142
|
-
*/
|
140
|
+
// Documented at ckeditor.js.
|
143
141
|
CKEDITOR.add = function( editor )
|
144
142
|
{
|
145
143
|
// For now, just put the editor in the pending list. It will be
|
@@ -173,9 +171,8 @@ if ( CKEDITOR.status == 'unloaded' )
|
|
173
171
|
|
174
172
|
for ( var i = 0 ; i < textareas.length ; i++ )
|
175
173
|
{
|
176
|
-
var config = null
|
177
|
-
|
178
|
-
var name = textarea.name;
|
174
|
+
var config = null,
|
175
|
+
textarea = textareas[i];
|
179
176
|
|
180
177
|
// The "name" and/or "id" attribute must exist.
|
181
178
|
if ( !textarea.name && !textarea.id )
|
@@ -186,7 +183,7 @@ if ( CKEDITOR.status == 'unloaded' )
|
|
186
183
|
// The textarea class name could be passed as the function
|
187
184
|
// parameter.
|
188
185
|
|
189
|
-
var classRegex = new RegExp( '(
|
186
|
+
var classRegex = new RegExp( '(?:^|\\s)' + arguments[0] + '(?:$|\\s)' );
|
190
187
|
|
191
188
|
if ( !classRegex.test( textarea.className ) )
|
192
189
|
continue;
|
@@ -1,12 +1,46 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
6
|
+
/**
|
7
|
+
* Creates a command class instance.
|
8
|
+
* @class Represents a command that can be executed on an editor instance.
|
9
|
+
* @param {CKEDITOR.editor} editor The editor instance this command will be
|
10
|
+
* related to.
|
11
|
+
* @param {CKEDITOR.commandDefinition} commandDefinition The command
|
12
|
+
* definition.
|
13
|
+
* @augments CKEDITOR.event
|
14
|
+
* @example
|
15
|
+
* var command = new CKEDITOR.command( editor,
|
16
|
+
* {
|
17
|
+
* exec : function( editor )
|
18
|
+
* {
|
19
|
+
* alert( editor.document.getBody().getHtml() );
|
20
|
+
* }
|
21
|
+
* });
|
22
|
+
*/
|
6
23
|
CKEDITOR.command = function( editor, commandDefinition )
|
7
24
|
{
|
25
|
+
/**
|
26
|
+
* Lists UI items that are associated to this command. This list can be
|
27
|
+
* used to interact with the UI on command execution (by the execution code
|
28
|
+
* itself, for example).
|
29
|
+
* @type Array
|
30
|
+
* @example
|
31
|
+
* alert( 'Number of UI items associated to this command: ' + command.<b>uiItems</b>.length );
|
32
|
+
*/
|
8
33
|
this.uiItems = [];
|
9
34
|
|
35
|
+
/**
|
36
|
+
* Executes the command.
|
37
|
+
* @param {Object} [data] Any data to pass to the command. Depends on the
|
38
|
+
* command implementation and requirements.
|
39
|
+
* @returns {Boolean} A boolean indicating that the command has been
|
40
|
+
* successfully executed.
|
41
|
+
* @example
|
42
|
+
* command.<b>exec()</b>; // The command gets executed.
|
43
|
+
*/
|
10
44
|
this.exec = function( data )
|
11
45
|
{
|
12
46
|
if ( this.state == CKEDITOR.TRISTATE_DISABLED )
|
@@ -20,9 +54,56 @@ CKEDITOR.command = function( editor, commandDefinition )
|
|
20
54
|
|
21
55
|
CKEDITOR.tools.extend( this, commandDefinition,
|
22
56
|
// Defaults
|
57
|
+
/** @lends CKEDITOR.command.prototype */
|
23
58
|
{
|
59
|
+
/**
|
60
|
+
* The editor modes within which the command can be executed. The
|
61
|
+
* execution will have no action if the current mode is not listed
|
62
|
+
* in this property.
|
63
|
+
* @type Object
|
64
|
+
* @default { wysiwyg : 1 }
|
65
|
+
* @see CKEDITOR.editor.prototype.mode
|
66
|
+
* @example
|
67
|
+
* // Enable the command in both WYSIWYG and Source modes.
|
68
|
+
* command.<b>modes</b> = { wysiwyg : 1, source : 1 };
|
69
|
+
* @example
|
70
|
+
* // Enable the command in Source mode only.
|
71
|
+
* command.<b>modes</b> = { source : 1 };
|
72
|
+
*/
|
24
73
|
modes : { wysiwyg : 1 },
|
25
|
-
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Indicates that the editor will get the focus before executing
|
77
|
+
* the command.
|
78
|
+
* @type Boolean
|
79
|
+
* @default true
|
80
|
+
* @example
|
81
|
+
* // Do not force the editor to have focus when executing the command.
|
82
|
+
* command.<b>editorFocus</b> = false;
|
83
|
+
*/
|
84
|
+
editorFocus : 1,
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Indicates the editor state. Possible values are:
|
88
|
+
* <ul>
|
89
|
+
* <li>{@link CKEDITOR.TRISTATE_DISABLED}: the command is
|
90
|
+
* disabled. It's execution will have no effect. Same as
|
91
|
+
* {@link disable}.</li>
|
92
|
+
* <li>{@link CKEDITOR.TRISTATE_ON}: the command is enabled
|
93
|
+
* and currently active in the editor (for context sensitive commands,
|
94
|
+
* for example).</li>
|
95
|
+
* <li>{@link CKEDITOR.TRISTATE_OFF}: the command is enabled
|
96
|
+
* and currently inactive in the editor (for context sensitive
|
97
|
+
* commands, for example).</li>
|
98
|
+
* </ul>
|
99
|
+
* Do not set this property directly, using the {@link #setState}
|
100
|
+
* method instead.
|
101
|
+
* @type Number
|
102
|
+
* @default {@link CKEDITOR.TRISTATE_OFF}
|
103
|
+
* @example
|
104
|
+
* if ( command.<b>state</b> == CKEDITOR.TRISTATE_DISABLED )
|
105
|
+
* alert( 'This command is disabled' );
|
106
|
+
*/
|
26
107
|
state : CKEDITOR.TRISTATE_OFF
|
27
108
|
});
|
28
109
|
|
@@ -32,17 +113,45 @@ CKEDITOR.command = function( editor, commandDefinition )
|
|
32
113
|
|
33
114
|
CKEDITOR.command.prototype =
|
34
115
|
{
|
116
|
+
/**
|
117
|
+
* Enables the command for execution. The command state (see
|
118
|
+
* {@link CKEDITOR.command.prototype.state}) available before disabling it
|
119
|
+
* is restored.
|
120
|
+
* @example
|
121
|
+
* command.<b>enable()</b>;
|
122
|
+
* command.exec(); // Execute the command.
|
123
|
+
*/
|
35
124
|
enable : function()
|
36
125
|
{
|
37
126
|
if ( this.state == CKEDITOR.TRISTATE_DISABLED )
|
38
127
|
this.setState( ( !this.preserveState || ( typeof this.previousState == 'undefined' ) ) ? CKEDITOR.TRISTATE_OFF : this.previousState );
|
39
128
|
},
|
40
129
|
|
130
|
+
/**
|
131
|
+
* Disables the command for execution. The command state (see
|
132
|
+
* {@link CKEDITOR.command.prototype.state}) will be set to
|
133
|
+
* {@link CKEDITOR.TRISTATE_DISABLED}.
|
134
|
+
* @example
|
135
|
+
* command.<b>disable()</b>;
|
136
|
+
* command.exec(); // "false" - Nothing happens.
|
137
|
+
*/
|
41
138
|
disable : function()
|
42
139
|
{
|
43
140
|
this.setState( CKEDITOR.TRISTATE_DISABLED );
|
44
141
|
},
|
45
142
|
|
143
|
+
/**
|
144
|
+
* Sets the command state.
|
145
|
+
* @param {Number} newState The new state. See {@link #state}.
|
146
|
+
* @returns {Boolean} Returns "true" if the command state changed.
|
147
|
+
* @example
|
148
|
+
* command.<b>setState( CKEDITOR.TRISTATE_ON )</b>;
|
149
|
+
* command.exec(); // Execute the command.
|
150
|
+
* command.<b>setState( CKEDITOR.TRISTATE_DISABLED )</b>;
|
151
|
+
* command.exec(); // "false" - Nothing happens.
|
152
|
+
* command.<b>setState( CKEDITOR.TRISTATE_OFF )</b>;
|
153
|
+
* command.exec(); // Execute the command.
|
154
|
+
*/
|
46
155
|
setState : function( newState )
|
47
156
|
{
|
48
157
|
// Do nothing if there is no state change.
|
@@ -61,6 +170,12 @@ CKEDITOR.command.prototype =
|
|
61
170
|
return true;
|
62
171
|
},
|
63
172
|
|
173
|
+
/**
|
174
|
+
* Toggles the on/off (active/inactive) state of the command. This is
|
175
|
+
* mainly used internally by context sensitive commands.
|
176
|
+
* @example
|
177
|
+
* command.<b>toggleState()</b>;
|
178
|
+
*/
|
64
179
|
toggleState : function()
|
65
180
|
{
|
66
181
|
if ( this.state == CKEDITOR.TRISTATE_OFF )
|
@@ -71,3 +186,24 @@ CKEDITOR.command.prototype =
|
|
71
186
|
};
|
72
187
|
|
73
188
|
CKEDITOR.event.implementOn( CKEDITOR.command.prototype, true );
|
189
|
+
|
190
|
+
/**
|
191
|
+
* Indicates the previous command state.
|
192
|
+
* @name CKEDITOR.command.prototype.previousState
|
193
|
+
* @type Number
|
194
|
+
* @see #state
|
195
|
+
* @example
|
196
|
+
* alert( command.<b>previousState</b> );
|
197
|
+
*/
|
198
|
+
|
199
|
+
/**
|
200
|
+
* Fired when the command state changes.
|
201
|
+
* @name CKEDITOR.command#state
|
202
|
+
* @event
|
203
|
+
* @example
|
204
|
+
* command.on( <b>'state'</b> , function( e )
|
205
|
+
* {
|
206
|
+
* // Alerts the new state.
|
207
|
+
* alert( this.state );
|
208
|
+
* });
|
209
|
+
*/
|