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
data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/elementspath/plugin.js
CHANGED
@@ -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
|
|
@@ -14,13 +14,16 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
14
14
|
{
|
15
15
|
toolbarFocus :
|
16
16
|
{
|
17
|
+
editorFocus : false,
|
18
|
+
readOnly : 1,
|
17
19
|
exec : function( editor )
|
18
20
|
{
|
19
21
|
var idBase = editor._.elementsPath.idBase;
|
20
22
|
var element = CKEDITOR.document.getById( idBase + '0' );
|
21
23
|
|
22
|
-
|
23
|
-
|
24
|
+
// Make the first button focus accessible for IE. (#3417)
|
25
|
+
// Adobe AIR instead need while of delay.
|
26
|
+
element && element.focus( CKEDITOR.env.ie || CKEDITOR.env.air );
|
24
27
|
}
|
25
28
|
}
|
26
29
|
};
|
@@ -44,7 +47,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
44
47
|
|
45
48
|
var idBase = 'cke_elementspath_' + CKEDITOR.tools.getNextNumber() + '_';
|
46
49
|
|
47
|
-
editor._.elementsPath = { idBase : idBase };
|
50
|
+
editor._.elementsPath = { idBase : idBase, filters : [] };
|
48
51
|
|
49
52
|
editor.on( 'themeSpace', function( event )
|
50
53
|
{
|
@@ -56,57 +59,131 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
56
59
|
}
|
57
60
|
});
|
58
61
|
|
59
|
-
|
62
|
+
function onClick( elementIndex )
|
63
|
+
{
|
64
|
+
editor.focus();
|
65
|
+
var element = editor._.elementsPath.list[ elementIndex ];
|
66
|
+
if ( element.is( 'body' ) )
|
60
67
|
{
|
61
|
-
var
|
68
|
+
var range = new CKEDITOR.dom.range( editor.document );
|
69
|
+
range.selectNodeContents( element );
|
70
|
+
range.select();
|
71
|
+
}
|
72
|
+
else
|
73
|
+
editor.getSelection().selectElement( element );
|
74
|
+
}
|
62
75
|
|
63
|
-
|
76
|
+
var onClickHanlder = CKEDITOR.tools.addFunction( onClick );
|
64
77
|
|
65
|
-
|
78
|
+
var onKeyDownHandler = CKEDITOR.tools.addFunction( function( elementIndex, ev )
|
79
|
+
{
|
80
|
+
var idBase = editor._.elementsPath.idBase,
|
81
|
+
element;
|
82
|
+
|
83
|
+
ev = new CKEDITOR.dom.event( ev );
|
84
|
+
|
85
|
+
var rtl = editor.lang.dir == 'rtl';
|
86
|
+
switch ( ev.getKeystroke() )
|
87
|
+
{
|
88
|
+
case rtl ? 39 : 37 : // LEFT-ARROW
|
89
|
+
case 9 : // TAB
|
90
|
+
element = CKEDITOR.document.getById( idBase + ( elementIndex + 1 ) );
|
91
|
+
if ( !element )
|
92
|
+
element = CKEDITOR.document.getById( idBase + '0' );
|
93
|
+
element.focus();
|
94
|
+
return false;
|
95
|
+
|
96
|
+
case rtl ? 37 : 39 : // RIGHT-ARROW
|
97
|
+
case CKEDITOR.SHIFT + 9 : // SHIFT + TAB
|
98
|
+
element = CKEDITOR.document.getById( idBase + ( elementIndex - 1 ) );
|
99
|
+
if ( !element )
|
100
|
+
element = CKEDITOR.document.getById( idBase + ( editor._.elementsPath.list.length - 1 ) );
|
101
|
+
element.focus();
|
102
|
+
return false;
|
103
|
+
|
104
|
+
case 27 : // ESC
|
105
|
+
editor.focus();
|
106
|
+
return false;
|
107
|
+
|
108
|
+
case 13 : // ENTER // Opera
|
109
|
+
case 32 : // SPACE
|
110
|
+
onClick( elementIndex );
|
111
|
+
return false;
|
112
|
+
}
|
113
|
+
return true;
|
114
|
+
});
|
115
|
+
|
116
|
+
editor.on( 'selectionChange', function( ev )
|
117
|
+
{
|
118
|
+
var env = CKEDITOR.env,
|
119
|
+
selection = ev.data.selection,
|
120
|
+
element = selection.getStartElement(),
|
66
121
|
html = [],
|
67
|
-
|
122
|
+
editor = ev.editor,
|
123
|
+
elementsList = editor._.elementsPath.list = [],
|
124
|
+
filters = editor._.elementsPath.filters;
|
68
125
|
|
69
126
|
while ( element )
|
70
127
|
{
|
71
|
-
var
|
72
|
-
|
73
|
-
|
74
|
-
|
128
|
+
var ignore = 0,
|
129
|
+
name;
|
130
|
+
|
131
|
+
if ( element.data( 'cke-display-name' ) )
|
132
|
+
name = element.data( 'cke-display-name' );
|
133
|
+
else if ( element.data( 'cke-real-element-type' ) )
|
134
|
+
name = element.data( 'cke-real-element-type' );
|
75
135
|
else
|
76
136
|
name = element.getName();
|
77
137
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
'
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
'
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
'
|
107
|
-
|
108
|
-
|
109
|
-
|
138
|
+
for ( var i = 0; i < filters.length; i++ )
|
139
|
+
{
|
140
|
+
var ret = filters[ i ]( element, name );
|
141
|
+
if ( ret === false )
|
142
|
+
{
|
143
|
+
ignore = 1;
|
144
|
+
break;
|
145
|
+
}
|
146
|
+
name = ret || name;
|
147
|
+
}
|
148
|
+
|
149
|
+
if ( !ignore )
|
150
|
+
{
|
151
|
+
var index = elementsList.push( element ) - 1;
|
152
|
+
|
153
|
+
// Use this variable to add conditional stuff to the
|
154
|
+
// HTML (because we are doing it in reverse order... unshift).
|
155
|
+
var extra = '';
|
156
|
+
|
157
|
+
// Some browsers don't cancel key events in the keydown but in the
|
158
|
+
// keypress.
|
159
|
+
// TODO: Check if really needed for Gecko+Mac.
|
160
|
+
if ( env.opera || ( env.gecko && env.mac ) )
|
161
|
+
extra += ' onkeypress="return false;"';
|
162
|
+
|
163
|
+
// With Firefox, we need to force the button to redraw, otherwise it
|
164
|
+
// will remain in the focus state.
|
165
|
+
if ( env.gecko )
|
166
|
+
extra += ' onblur="this.style.cssText = this.style.cssText;"';
|
167
|
+
|
168
|
+
var label = editor.lang.elementsPath.eleTitle.replace( /%1/, name );
|
169
|
+
html.unshift(
|
170
|
+
'<a' +
|
171
|
+
' id="', idBase, index, '"' +
|
172
|
+
' href="javascript:void(\'', name, '\')"' +
|
173
|
+
' tabindex="-1"' +
|
174
|
+
' title="', label, '"' +
|
175
|
+
( ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ?
|
176
|
+
' onfocus="event.preventBubble();"' : '' ) +
|
177
|
+
' hidefocus="true" ' +
|
178
|
+
' onkeydown="return CKEDITOR.tools.callFunction(', onKeyDownHandler, ',', index, ', event );"' +
|
179
|
+
extra ,
|
180
|
+
' onclick="CKEDITOR.tools.callFunction('+ onClickHanlder, ',', index, '); return false;"',
|
181
|
+
' role="button" aria-labelledby="' + idBase + index + '_label">',
|
182
|
+
name,
|
183
|
+
'<span id="', idBase, index, '_label" class="cke_label">' + label + '</span>',
|
184
|
+
'</a>' );
|
185
|
+
|
186
|
+
}
|
110
187
|
|
111
188
|
if ( name == 'body' )
|
112
189
|
break;
|
@@ -114,13 +191,19 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
114
191
|
element = element.getParent();
|
115
192
|
}
|
116
193
|
|
117
|
-
|
194
|
+
var space = getSpaceElement();
|
195
|
+
space.setHtml( html.join('') + emptyHtml );
|
196
|
+
editor.fire( 'elementsPathUpdate', { space : space } );
|
118
197
|
});
|
119
198
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
199
|
+
function empty()
|
200
|
+
{
|
201
|
+
spaceElement && spaceElement.setHtml( emptyHtml );
|
202
|
+
delete editor._.elementsPath.list;
|
203
|
+
}
|
204
|
+
|
205
|
+
editor.on( 'readOnly', empty );
|
206
|
+
editor.on( 'contentDomUnload', empty );
|
124
207
|
|
125
208
|
editor.addCommand( 'elementsPathFocus', commands.toolbarFocus );
|
126
209
|
}
|
@@ -128,62 +211,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
128
211
|
})();
|
129
212
|
|
130
213
|
/**
|
131
|
-
*
|
132
|
-
* @
|
214
|
+
* Fired when the contents of the elementsPath are changed
|
215
|
+
* @name CKEDITOR.editor#elementsPathUpdate
|
216
|
+
* @event
|
217
|
+
* @param {Object} eventData.space The elementsPath container
|
133
218
|
*/
|
134
|
-
CKEDITOR._.elementsPath =
|
135
|
-
{
|
136
|
-
click : function( instanceName, elementIndex )
|
137
|
-
{
|
138
|
-
var editor = CKEDITOR.instances[ instanceName ];
|
139
|
-
editor.focus();
|
140
|
-
|
141
|
-
var element = editor._.elementsPath.list[ elementIndex ];
|
142
|
-
editor.getSelection().selectElement( element );
|
143
|
-
|
144
|
-
return false;
|
145
|
-
},
|
146
|
-
|
147
|
-
keydown : function( instanceName, elementIndex, ev )
|
148
|
-
{
|
149
|
-
var instance = CKEDITOR.ui.button._.instances[ elementIndex ];
|
150
|
-
var editor = CKEDITOR.instances[ instanceName ];
|
151
|
-
var idBase = editor._.elementsPath.idBase;
|
152
|
-
|
153
|
-
var element;
|
154
|
-
|
155
|
-
ev = new CKEDITOR.dom.event( ev );
|
156
|
-
|
157
|
-
switch ( ev.getKeystroke() )
|
158
|
-
{
|
159
|
-
case 37 : // LEFT-ARROW
|
160
|
-
case 9 : // TAB
|
161
|
-
element = CKEDITOR.document.getById( idBase + ( elementIndex + 1 ) );
|
162
|
-
if ( !element )
|
163
|
-
element = CKEDITOR.document.getById( idBase + '0' );
|
164
|
-
element.focus();
|
165
|
-
return false;
|
166
|
-
|
167
|
-
case 39 : // RIGHT-ARROW
|
168
|
-
case CKEDITOR.SHIFT + 9 : // SHIFT + TAB
|
169
|
-
element = CKEDITOR.document.getById( idBase + ( elementIndex - 1 ) );
|
170
|
-
if ( !element )
|
171
|
-
element = CKEDITOR.document.getById( idBase + ( editor._.elementsPath.list.length - 1 ) );
|
172
|
-
element.focus();
|
173
|
-
return false;
|
174
|
-
|
175
|
-
case 27 : // ESC
|
176
|
-
editor.focus();
|
177
|
-
return false;
|
178
|
-
|
179
|
-
case 13 : // ENTER // Opera
|
180
|
-
case 32 : // SPACE
|
181
|
-
this.click( instanceName, elementIndex );
|
182
|
-
return false;
|
183
|
-
|
184
|
-
//default :
|
185
|
-
// alert( ev.getKeystroke() );
|
186
|
-
}
|
187
|
-
return true;
|
188
|
-
}
|
189
|
-
};
|
data/public/javascripts/extensions/ck_editor_filter/ckeditor/_source/plugins/enterkey/plugin.js
CHANGED
@@ -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
|
|
@@ -11,9 +11,21 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
11
11
|
|
12
12
|
init : function( editor )
|
13
13
|
{
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
editor.addCommand( 'enter', {
|
15
|
+
modes : { wysiwyg:1 },
|
16
|
+
editorFocus : false,
|
17
|
+
exec : function( editor ){ enter( editor ); }
|
18
|
+
});
|
19
|
+
|
20
|
+
editor.addCommand( 'shiftEnter', {
|
21
|
+
modes : { wysiwyg:1 },
|
22
|
+
editorFocus : false,
|
23
|
+
exec : function( editor ){ shiftEnter( editor ); }
|
24
|
+
});
|
25
|
+
|
26
|
+
var keystrokes = editor.keystrokeHandler.keystrokes;
|
27
|
+
keystrokes[ 13 ] = 'enter';
|
28
|
+
keystrokes[ CKEDITOR.SHIFT + 13 ] = 'shiftEnter';
|
17
29
|
}
|
18
30
|
});
|
19
31
|
|
@@ -24,8 +36,31 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
24
36
|
// Get the range for the current selection.
|
25
37
|
range = range || getRange( editor );
|
26
38
|
|
39
|
+
// We may not have valid ranges to work on, like when inside a
|
40
|
+
// contenteditable=false element.
|
41
|
+
if ( !range )
|
42
|
+
return;
|
43
|
+
|
27
44
|
var doc = range.document;
|
28
45
|
|
46
|
+
var atBlockStart = range.checkStartOfBlock(),
|
47
|
+
atBlockEnd = range.checkEndOfBlock(),
|
48
|
+
path = new CKEDITOR.dom.elementPath( range.startContainer ),
|
49
|
+
block = path.block;
|
50
|
+
|
51
|
+
// Exit the list when we're inside an empty list item block. (#5376)
|
52
|
+
if ( atBlockStart && atBlockEnd )
|
53
|
+
{
|
54
|
+
if ( block && ( block.is( 'li' ) || block.getParent().is( 'li' ) ) )
|
55
|
+
{
|
56
|
+
editor.execCommand( 'outdent' );
|
57
|
+
return;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
// Don't split <pre> if we're in the middle of it, act as shift enter key.
|
61
|
+
else if ( !atBlockEnd && block && block.is( 'pre' ) )
|
62
|
+
enterBr( editor, mode, range, forceMode );
|
63
|
+
|
29
64
|
// Determine the block element to be used.
|
30
65
|
var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
|
31
66
|
|
@@ -51,13 +86,14 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
51
86
|
if ( node.is( 'li' ) )
|
52
87
|
{
|
53
88
|
nextBlock.breakParent( node );
|
54
|
-
nextBlock.move( nextBlock.getNext(),
|
89
|
+
nextBlock.move( nextBlock.getNext(), 1 );
|
55
90
|
}
|
56
91
|
}
|
57
92
|
else if ( previousBlock && ( node = previousBlock.getParent() ) && node.is( 'li' ) )
|
58
93
|
{
|
59
94
|
previousBlock.breakParent( node );
|
60
|
-
|
95
|
+
node = previousBlock.getNext();
|
96
|
+
range.moveToElementEditStart( node );
|
61
97
|
previousBlock.move( previousBlock.getPrevious() );
|
62
98
|
}
|
63
99
|
|
@@ -80,31 +116,41 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
80
116
|
}
|
81
117
|
else
|
82
118
|
{
|
83
|
-
|
84
|
-
|
85
|
-
{
|
86
|
-
editor.execCommand( 'outdent' );
|
87
|
-
return;
|
88
|
-
}
|
89
|
-
|
90
|
-
var newBlock;
|
119
|
+
var newBlock,
|
120
|
+
newBlockDir;
|
91
121
|
|
92
122
|
if ( previousBlock )
|
93
123
|
{
|
94
124
|
// Do not enter this block if it's a header tag, or we are in
|
95
125
|
// a Shift+Enter (#77). Create a new block element instead
|
96
126
|
// (later in the code).
|
97
|
-
if (
|
127
|
+
if ( previousBlock.is( 'li' ) ||
|
128
|
+
! ( headerTagRegex.test( previousBlock.getName() ) || previousBlock.is( 'pre' ) ) )
|
98
129
|
{
|
99
130
|
// Otherwise, duplicate the previous block.
|
100
131
|
newBlock = previousBlock.clone();
|
132
|
+
// Value attribute of list item should not be duplicated (#7330).
|
133
|
+
newBlock.is( 'li' ) && newBlock.removeAttribute( 'value' );
|
101
134
|
}
|
102
135
|
}
|
103
136
|
else if ( nextBlock )
|
104
137
|
newBlock = nextBlock.clone();
|
105
138
|
|
106
139
|
if ( !newBlock )
|
107
|
-
|
140
|
+
{
|
141
|
+
// We have already created a new list item. (#6849)
|
142
|
+
if ( node && node.is( 'li' ) )
|
143
|
+
newBlock = node;
|
144
|
+
else
|
145
|
+
{
|
146
|
+
newBlock = doc.createElement( blockTag );
|
147
|
+
if ( previousBlock && ( newBlockDir = previousBlock.getDirection() ) )
|
148
|
+
newBlock.setAttribute( 'dir', newBlockDir );
|
149
|
+
}
|
150
|
+
}
|
151
|
+
// Force the enter block unless we're talking of a list item.
|
152
|
+
else if ( forceMode && !newBlock.is( 'li' ) )
|
153
|
+
newBlock.renameNode( blockTag );
|
108
154
|
|
109
155
|
// Recreate the inline elements tree, which was available
|
110
156
|
// before hitting enter, so the same styles will be available in
|
@@ -131,7 +177,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
131
177
|
if ( !CKEDITOR.env.ie )
|
132
178
|
newBlock.appendBogus();
|
133
179
|
|
134
|
-
|
180
|
+
if ( !newBlock.getParent() )
|
181
|
+
range.insertNode( newBlock );
|
135
182
|
|
136
183
|
// This is tricky, but to make the new block visible correctly
|
137
184
|
// we must select it.
|
@@ -180,6 +227,11 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
180
227
|
// Get the range for the current selection.
|
181
228
|
range = range || getRange( editor );
|
182
229
|
|
230
|
+
// We may not have valid ranges to work on, like when inside a
|
231
|
+
// contenteditable=false element.
|
232
|
+
if ( !range )
|
233
|
+
return;
|
234
|
+
|
183
235
|
var doc = range.document;
|
184
236
|
|
185
237
|
// Determine the block element to be used.
|
@@ -203,15 +255,28 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
203
255
|
// If we are at the end of a header block.
|
204
256
|
if ( !forceMode && isEndOfBlock && headerTagRegex.test( startBlockTag ) )
|
205
257
|
{
|
206
|
-
|
207
|
-
|
258
|
+
var newBlock,
|
259
|
+
newBlockDir;
|
208
260
|
|
209
|
-
|
210
|
-
|
211
|
-
doc.
|
261
|
+
if ( ( newBlockDir = startBlock.getDirection() ) )
|
262
|
+
{
|
263
|
+
newBlock = doc.createElement( 'div' );
|
264
|
+
newBlock.setAttribute( 'dir', newBlockDir );
|
265
|
+
newBlock.insertAfter( startBlock );
|
266
|
+
range.setStart( newBlock, 0 );
|
267
|
+
}
|
268
|
+
else
|
269
|
+
{
|
270
|
+
// Insert a <br> after the current paragraph.
|
271
|
+
doc.createElement( 'br' ).insertAfter( startBlock );
|
272
|
+
|
273
|
+
// A text node is required by Gecko only to make the cursor blink.
|
274
|
+
if ( CKEDITOR.env.gecko )
|
275
|
+
doc.createText( '' ).insertAfter( startBlock );
|
212
276
|
|
213
|
-
|
214
|
-
|
277
|
+
// IE has different behaviors regarding position.
|
278
|
+
range.setStartAt( startBlock.getNext(), CKEDITOR.env.ie ? CKEDITOR.POSITION_BEFORE_START : CKEDITOR.POSITION_AFTER_START );
|
279
|
+
}
|
215
280
|
}
|
216
281
|
else
|
217
282
|
{
|
@@ -219,7 +284,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
219
284
|
|
220
285
|
isPre = ( startBlockTag == 'pre' );
|
221
286
|
|
222
|
-
|
287
|
+
// Gecko prefers <br> as line-break inside <pre> (#4711).
|
288
|
+
if ( isPre && !CKEDITOR.env.gecko )
|
223
289
|
lineBreak = doc.createText( CKEDITOR.env.ie ? '\r' : '\n' );
|
224
290
|
else
|
225
291
|
lineBreak = doc.createElement( 'br' );
|
@@ -227,29 +293,27 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
227
293
|
range.deleteContents();
|
228
294
|
range.insertNode( lineBreak );
|
229
295
|
|
230
|
-
// A text node is required by Gecko only to make the cursor blink.
|
231
|
-
// We need some text inside of it, so the bogus <br> is properly
|
232
|
-
// created.
|
233
|
-
if ( !CKEDITOR.env.ie )
|
234
|
-
doc.createText( '\ufeff' ).insertAfter( lineBreak );
|
235
|
-
|
236
|
-
// If we are at the end of a block, we must be sure the bogus node is available in that block.
|
237
|
-
if ( isEndOfBlock && !CKEDITOR.env.ie )
|
238
|
-
lineBreak.getParent().appendBogus();
|
239
|
-
|
240
|
-
// Now we can remove the text node contents, so the caret doesn't
|
241
|
-
// stop on it.
|
242
|
-
if ( !CKEDITOR.env.ie )
|
243
|
-
lineBreak.getNext().$.nodeValue = '';
|
244
296
|
// IE has different behavior regarding position.
|
245
297
|
if ( CKEDITOR.env.ie )
|
246
298
|
range.setStartAt( lineBreak, CKEDITOR.POSITION_AFTER_END );
|
247
299
|
else
|
300
|
+
{
|
301
|
+
// A text node is required by Gecko only to make the cursor blink.
|
302
|
+
// We need some text inside of it, so the bogus <br> is properly
|
303
|
+
// created.
|
304
|
+
doc.createText( '\ufeff' ).insertAfter( lineBreak );
|
305
|
+
|
306
|
+
// If we are at the end of a block, we must be sure the bogus node is available in that block.
|
307
|
+
if ( isEndOfBlock )
|
308
|
+
lineBreak.getParent().appendBogus();
|
309
|
+
|
310
|
+
// Now we can remove the text node contents, so the caret doesn't
|
311
|
+
// stop on it.
|
312
|
+
lineBreak.getNext().$.nodeValue = '';
|
313
|
+
|
248
314
|
range.setStartAt( lineBreak.getNext(), CKEDITOR.POSITION_AFTER_START );
|
249
315
|
|
250
|
-
|
251
|
-
if ( !CKEDITOR.env.ie )
|
252
|
-
{
|
316
|
+
// Scroll into view, for non IE.
|
253
317
|
var dummy = null;
|
254
318
|
|
255
319
|
// BR is not positioned in Opera and Webkit.
|
@@ -283,13 +347,20 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
283
347
|
|
284
348
|
function shiftEnter( editor )
|
285
349
|
{
|
286
|
-
//
|
350
|
+
// Only effective within document.
|
351
|
+
if ( editor.mode != 'wysiwyg' )
|
352
|
+
return false;
|
353
|
+
|
354
|
+
// On SHIFT+ENTER:
|
355
|
+
// 1. We want to enforce the mode to be respected, instead
|
287
356
|
// of cloning the current block. (#77)
|
288
|
-
return enter( editor, editor.config.shiftEnterMode,
|
357
|
+
return enter( editor, editor.config.shiftEnterMode, 1 );
|
289
358
|
}
|
290
359
|
|
291
360
|
function enter( editor, mode, forceMode )
|
292
361
|
{
|
362
|
+
forceMode = editor.config.forceEnterMode || forceMode;
|
363
|
+
|
293
364
|
// Only effective within document.
|
294
365
|
if ( editor.mode != 'wysiwyg' )
|
295
366
|
return false;
|
@@ -301,7 +372,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
301
372
|
setTimeout( function()
|
302
373
|
{
|
303
374
|
editor.fire( 'saveSnapshot' ); // Save undo step.
|
304
|
-
if ( mode == CKEDITOR.ENTER_BR
|
375
|
+
if ( mode == CKEDITOR.ENTER_BR )
|
305
376
|
enterBr( editor, mode, null, forceMode );
|
306
377
|
else
|
307
378
|
enterBlock( editor, mode, null, forceMode );
|
@@ -311,11 +382,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
311
382
|
return true;
|
312
383
|
}
|
313
384
|
|
314
|
-
|
315
385
|
function getRange( editor )
|
316
386
|
{
|
317
387
|
// Get the selection ranges.
|
318
|
-
var ranges = editor.getSelection().getRanges();
|
388
|
+
var ranges = editor.getSelection().getRanges( true );
|
319
389
|
|
320
390
|
// Delete the contents of all ranges except the first one.
|
321
391
|
for ( var i = ranges.length - 1 ; i > 0 ; i-- )
|