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,9 +9,12 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
9
9
|
*/
|
10
10
|
|
11
11
|
/**
|
12
|
+
* The definition of a dialog window.
|
13
|
+
* <div class="notapi">
|
12
14
|
* This class is not really part of the API. It just illustrates the properties
|
13
15
|
* that developers can use to define and create dialogs.
|
14
|
-
*
|
16
|
+
* </div>
|
17
|
+
* @name CKEDITOR.dialog.definition
|
15
18
|
* @constructor
|
16
19
|
* @example
|
17
20
|
* // There is no constructor for this class, the user just has to define an
|
@@ -46,7 +49,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
46
49
|
|
47
50
|
/**
|
48
51
|
* The dialog title, displayed in the dialog's header. Required.
|
49
|
-
* @name CKEDITOR.dialog.
|
52
|
+
* @name CKEDITOR.dialog.definition.prototype.title
|
50
53
|
* @field
|
51
54
|
* @type String
|
52
55
|
* @example
|
@@ -59,7 +62,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
59
62
|
* <strong>CKEDITOR.DIALOG_RESIZE_WIDTH</strong><br />
|
60
63
|
* <strong>CKEDITOR.DIALOG_RESIZE_HEIGHT</strong><br />
|
61
64
|
* <strong>CKEDITOR.DIALOG_RESIZE_BOTH</strong><br />
|
62
|
-
* @name CKEDITOR.dialog.
|
65
|
+
* @name CKEDITOR.dialog.definition.prototype.resizable
|
63
66
|
* @field
|
64
67
|
* @type Number
|
65
68
|
* @default CKEDITOR.DIALOG_RESIZE_NONE
|
@@ -68,7 +71,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
68
71
|
|
69
72
|
/**
|
70
73
|
* The minimum width of the dialog, in pixels.
|
71
|
-
* @name CKEDITOR.dialog.
|
74
|
+
* @name CKEDITOR.dialog.definition.prototype.minWidth
|
72
75
|
* @field
|
73
76
|
* @type Number
|
74
77
|
* @default 600
|
@@ -77,17 +80,38 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
77
80
|
|
78
81
|
/**
|
79
82
|
* The minimum height of the dialog, in pixels.
|
80
|
-
* @name CKEDITOR.dialog.
|
83
|
+
* @name CKEDITOR.dialog.definition.prototype.minHeight
|
81
84
|
* @field
|
82
85
|
* @type Number
|
83
86
|
* @default 400
|
84
87
|
* @example
|
85
88
|
*/
|
86
89
|
|
90
|
+
|
91
|
+
/**
|
92
|
+
* The initial width of the dialog, in pixels.
|
93
|
+
* @name CKEDITOR.dialog.definition.prototype.width
|
94
|
+
* @field
|
95
|
+
* @type Number
|
96
|
+
* @default @CKEDITOR.dialog.definition.prototype.minWidth
|
97
|
+
* @since 3.5.3
|
98
|
+
* @example
|
99
|
+
*/
|
100
|
+
|
101
|
+
/**
|
102
|
+
* The initial height of the dialog, in pixels.
|
103
|
+
* @name CKEDITOR.dialog.definition.prototype.height
|
104
|
+
* @field
|
105
|
+
* @type Number
|
106
|
+
* @default @CKEDITOR.dialog.definition.prototype.minHeight
|
107
|
+
* @since 3.5.3
|
108
|
+
* @example
|
109
|
+
*/
|
110
|
+
|
87
111
|
/**
|
88
112
|
* The buttons in the dialog, defined as an array of
|
89
|
-
* {@link CKEDITOR.dialog.
|
90
|
-
* @name CKEDITOR.dialog.
|
113
|
+
* {@link CKEDITOR.dialog.definition.button} objects.
|
114
|
+
* @name CKEDITOR.dialog.definition.prototype.buttons
|
91
115
|
* @field
|
92
116
|
* @type Array
|
93
117
|
* @default [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
|
@@ -96,8 +120,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
96
120
|
|
97
121
|
/**
|
98
122
|
* The contents in the dialog, defined as an array of
|
99
|
-
* {@link CKEDITOR.dialog.
|
100
|
-
* @name CKEDITOR.dialog.
|
123
|
+
* {@link CKEDITOR.dialog.definition.content} objects. Required.
|
124
|
+
* @name CKEDITOR.dialog.definition.prototype.contents
|
101
125
|
* @field
|
102
126
|
* @type Array
|
103
127
|
* @example
|
@@ -105,7 +129,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
105
129
|
|
106
130
|
/**
|
107
131
|
* The function to execute when OK is pressed.
|
108
|
-
* @name CKEDITOR.dialog.
|
132
|
+
* @name CKEDITOR.dialog.definition.prototype.onOk
|
109
133
|
* @field
|
110
134
|
* @type Function
|
111
135
|
* @example
|
@@ -113,7 +137,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
113
137
|
|
114
138
|
/**
|
115
139
|
* The function to execute when Cancel is pressed.
|
116
|
-
* @name CKEDITOR.dialog.
|
140
|
+
* @name CKEDITOR.dialog.definition.prototype.onCancel
|
117
141
|
* @field
|
118
142
|
* @type Function
|
119
143
|
* @example
|
@@ -121,16 +145,24 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
121
145
|
|
122
146
|
/**
|
123
147
|
* The function to execute when the dialog is displayed for the first time.
|
124
|
-
* @name CKEDITOR.dialog.
|
148
|
+
* @name CKEDITOR.dialog.definition.prototype.onLoad
|
125
149
|
* @field
|
126
150
|
* @type Function
|
127
151
|
* @example
|
128
152
|
*/
|
129
153
|
|
130
154
|
/**
|
131
|
-
*
|
132
|
-
*
|
133
|
-
* @
|
155
|
+
* The function to execute when the dialog is loaded (executed every time the dialog is opened).
|
156
|
+
* @name CKEDITOR.dialog.definition.prototype.onShow
|
157
|
+
* @field
|
158
|
+
* @type Function
|
159
|
+
* @example
|
160
|
+
*/
|
161
|
+
|
162
|
+
/**
|
163
|
+
* <div class="notapi">This class is not really part of the API. It just illustrates the properties
|
164
|
+
* that developers can use to define and create dialog content pages.</div>
|
165
|
+
* @name CKEDITOR.dialog.definition.content
|
134
166
|
* @constructor
|
135
167
|
* @example
|
136
168
|
* // There is no constructor for this class, the user just has to define an
|
@@ -139,7 +171,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
139
171
|
|
140
172
|
/**
|
141
173
|
* The id of the content page.
|
142
|
-
* @name CKEDITOR.dialog.
|
174
|
+
* @name CKEDITOR.dialog.definition.content.prototype.id
|
143
175
|
* @field
|
144
176
|
* @type String
|
145
177
|
* @example
|
@@ -147,7 +179,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
147
179
|
|
148
180
|
/**
|
149
181
|
* The tab label of the content page.
|
150
|
-
* @name CKEDITOR.dialog.
|
182
|
+
* @name CKEDITOR.dialog.definition.content.prototype.label
|
151
183
|
* @field
|
152
184
|
* @type String
|
153
185
|
* @example
|
@@ -155,7 +187,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
155
187
|
|
156
188
|
/**
|
157
189
|
* The popup message of the tab label.
|
158
|
-
* @name CKEDITOR.dialog.
|
190
|
+
* @name CKEDITOR.dialog.definition.content.prototype.title
|
159
191
|
* @field
|
160
192
|
* @type String
|
161
193
|
* @example
|
@@ -163,7 +195,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
163
195
|
|
164
196
|
/**
|
165
197
|
* The CTRL hotkey for switching to the tab.
|
166
|
-
* @name CKEDITOR.dialog.
|
198
|
+
* @name CKEDITOR.dialog.definition.content.prototype.accessKey
|
167
199
|
* @field
|
168
200
|
* @type String
|
169
201
|
* @example
|
@@ -172,144 +204,896 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
172
204
|
|
173
205
|
/**
|
174
206
|
* The UI elements contained in this content page, defined as an array of
|
175
|
-
* {@link CKEDITOR.dialog.
|
176
|
-
* @name CKEDITOR.dialog.
|
207
|
+
* {@link CKEDITOR.dialog.definition.uiElement} objects.
|
208
|
+
* @name CKEDITOR.dialog.definition.content.prototype.elements
|
177
209
|
* @field
|
178
210
|
* @type Array
|
179
211
|
* @example
|
180
212
|
*/
|
181
213
|
|
182
214
|
/**
|
215
|
+
* The definition of user interface element (textarea, radio etc).
|
216
|
+
* <div class="notapi">This class is not really part of the API. It just illustrates the properties
|
217
|
+
* that developers can use to define and create dialog UI elements.</div>
|
218
|
+
* @name CKEDITOR.dialog.definition.uiElement
|
219
|
+
* @constructor
|
220
|
+
* @see CKEDITOR.ui.dialog.uiElement
|
221
|
+
* @example
|
222
|
+
* // There is no constructor for this class, the user just has to define an
|
223
|
+
* // object with the appropriate properties.
|
224
|
+
*/
|
225
|
+
|
226
|
+
/**
|
227
|
+
* The id of the UI element.
|
228
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.id
|
229
|
+
* @field
|
230
|
+
* @type String
|
231
|
+
* @example
|
232
|
+
*/
|
233
|
+
|
234
|
+
/**
|
235
|
+
* The type of the UI element. Required.
|
236
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.type
|
237
|
+
* @field
|
238
|
+
* @type String
|
239
|
+
* @example
|
240
|
+
*/
|
241
|
+
|
242
|
+
/**
|
243
|
+
* The popup label of the UI element.
|
244
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.title
|
245
|
+
* @field
|
246
|
+
* @type String
|
247
|
+
* @example
|
248
|
+
*/
|
249
|
+
|
250
|
+
/**
|
251
|
+
* CSS class names to append to the UI element.
|
252
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.className
|
253
|
+
* @field
|
254
|
+
* @type String
|
255
|
+
* @example
|
256
|
+
*/
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Inline CSS classes to append to the UI element.
|
260
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.style
|
261
|
+
* @field
|
262
|
+
* @type String
|
263
|
+
* @example
|
264
|
+
*/
|
265
|
+
|
266
|
+
/**
|
267
|
+
* Function to execute the first time the UI element is displayed.
|
268
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.onLoad
|
269
|
+
* @field
|
270
|
+
* @type Function
|
271
|
+
* @example
|
272
|
+
*/
|
273
|
+
|
274
|
+
/**
|
275
|
+
* Function to execute whenever the UI element's parent dialog is displayed.
|
276
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.onShow
|
277
|
+
* @field
|
278
|
+
* @type Function
|
279
|
+
* @example
|
280
|
+
*/
|
281
|
+
|
282
|
+
/**
|
283
|
+
* Function to execute whenever the UI element's parent dialog is closed.
|
284
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.onHide
|
285
|
+
* @field
|
286
|
+
* @type Function
|
287
|
+
* @example
|
288
|
+
*/
|
289
|
+
|
290
|
+
/**
|
291
|
+
* Function to execute whenever the UI element's parent dialog's {@link CKEDITOR.dialog.definition.setupContent} method is executed.
|
292
|
+
* It usually takes care of the respective UI element as a standalone element.
|
293
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.setup
|
294
|
+
* @field
|
295
|
+
* @type Function
|
296
|
+
* @example
|
297
|
+
*/
|
298
|
+
|
299
|
+
/**
|
300
|
+
* Function to execute whenever the UI element's parent dialog's {@link CKEDITOR.dialog.definition.commitContent} method is executed.
|
301
|
+
* It usually takes care of the respective UI element as a standalone element.
|
302
|
+
* @name CKEDITOR.dialog.definition.uiElement.prototype.commit
|
303
|
+
* @field
|
304
|
+
* @type Function
|
305
|
+
* @example
|
306
|
+
*/
|
307
|
+
|
308
|
+
// ----- hbox -----
|
309
|
+
|
310
|
+
/**
|
311
|
+
* Horizontal layout box for dialog UI elements, auto-expends to available width of container.
|
312
|
+
* <div class="notapi">
|
183
313
|
* This class is not really part of the API. It just illustrates the properties
|
184
|
-
* that developers can use to define and create
|
185
|
-
* @
|
314
|
+
* that developers can use to define and create horizontal layouts.
|
315
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.hbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
316
|
+
* </div>
|
317
|
+
* @name CKEDITOR.dialog.definition.hbox
|
318
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
186
319
|
* @constructor
|
187
320
|
* @example
|
188
321
|
* // There is no constructor for this class, the user just has to define an
|
189
322
|
* // object with the appropriate properties.
|
323
|
+
*
|
324
|
+
* // Example:
|
325
|
+
* {
|
326
|
+
* <b>type : 'hbox',</b>
|
327
|
+
* widths : [ '25%', '25%', '50%' ],
|
328
|
+
* children :
|
329
|
+
* [
|
330
|
+
* {
|
331
|
+
* type : 'text',
|
332
|
+
* id : 'id1',
|
333
|
+
* width : '40px',
|
334
|
+
* },
|
335
|
+
* {
|
336
|
+
* type : 'text',
|
337
|
+
* id : 'id2',
|
338
|
+
* width : '40px',
|
339
|
+
* },
|
340
|
+
* {
|
341
|
+
* type : 'text',
|
342
|
+
* id : 'id3'
|
343
|
+
* }
|
344
|
+
* ]
|
345
|
+
* }
|
346
|
+
*/
|
347
|
+
|
348
|
+
/**
|
349
|
+
* Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container.
|
350
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.children
|
351
|
+
* @field
|
352
|
+
* @type Array
|
353
|
+
* @example
|
190
354
|
*/
|
191
355
|
|
192
356
|
/**
|
193
|
-
* The
|
194
|
-
* @name CKEDITOR.dialog.
|
357
|
+
* (Optional) The widths of child cells.
|
358
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.widths
|
359
|
+
* @field
|
360
|
+
* @type Array
|
361
|
+
* @example
|
362
|
+
*/
|
363
|
+
|
364
|
+
/**
|
365
|
+
* (Optional) The height of the layout.
|
366
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.height
|
367
|
+
* @field
|
368
|
+
* @type Number
|
369
|
+
* @example
|
370
|
+
*/
|
371
|
+
|
372
|
+
/**
|
373
|
+
* The CSS styles to apply to this element.
|
374
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.styles
|
375
|
+
* @field
|
195
376
|
* @type String
|
377
|
+
* @example
|
378
|
+
*/
|
379
|
+
|
380
|
+
/**
|
381
|
+
* (Optional) The padding width inside child cells. Example: 0, 1.
|
382
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.padding
|
196
383
|
* @field
|
384
|
+
* @type Number
|
197
385
|
* @example
|
198
386
|
*/
|
199
387
|
|
200
388
|
/**
|
201
|
-
* The
|
202
|
-
* @name CKEDITOR.dialog.
|
389
|
+
* (Optional) The alignment of the whole layout. Example: center, top.
|
390
|
+
* @name CKEDITOR.dialog.definition.hbox.prototype.align
|
391
|
+
* @field
|
203
392
|
* @type String
|
393
|
+
* @example
|
394
|
+
*/
|
395
|
+
|
396
|
+
// ----- vbox -----
|
397
|
+
|
398
|
+
/**
|
399
|
+
* Vertical layout box for dialog UI elements.
|
400
|
+
* <div class="notapi">
|
401
|
+
* This class is not really part of the API. It just illustrates the properties
|
402
|
+
* that developers can use to define and create vertical layouts.
|
403
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.vbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
404
|
+
* </div>
|
405
|
+
* <style type="text/css">.details .detailList {display:none;} </style>
|
406
|
+
* @name CKEDITOR.dialog.definition.vbox
|
407
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
408
|
+
* @constructor
|
409
|
+
* @example
|
410
|
+
* // There is no constructor for this class, the user just has to define an
|
411
|
+
* // object with the appropriate properties.
|
412
|
+
*
|
413
|
+
* // Example:
|
414
|
+
* {
|
415
|
+
* <b>type : 'vbox',</b>
|
416
|
+
* align : 'right',
|
417
|
+
* width : '200px',
|
418
|
+
* children :
|
419
|
+
* [
|
420
|
+
* {
|
421
|
+
* type : 'text',
|
422
|
+
* id : 'age',
|
423
|
+
* label : 'Age'
|
424
|
+
* },
|
425
|
+
* {
|
426
|
+
* type : 'text',
|
427
|
+
* id : 'sex',
|
428
|
+
* label : 'Sex'
|
429
|
+
* },
|
430
|
+
* {
|
431
|
+
* type : 'text',
|
432
|
+
* id : 'nationality',
|
433
|
+
* label : 'Nationality'
|
434
|
+
* }
|
435
|
+
* ]
|
436
|
+
* }
|
437
|
+
*/
|
438
|
+
|
439
|
+
/**
|
440
|
+
* Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container.
|
441
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.children
|
204
442
|
* @field
|
443
|
+
* @type Array
|
444
|
+
* @example
|
445
|
+
*/
|
446
|
+
|
447
|
+
/**
|
448
|
+
* (Optional) The width of the layout.
|
449
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.width
|
450
|
+
* @field
|
451
|
+
* @type Array
|
452
|
+
* @example
|
453
|
+
*/
|
454
|
+
|
455
|
+
/**
|
456
|
+
* (Optional) The heights of individual cells.
|
457
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.heights
|
458
|
+
* @field
|
459
|
+
* @type Number
|
205
460
|
* @example
|
206
461
|
*/
|
207
462
|
|
208
463
|
/**
|
209
|
-
* The
|
210
|
-
* @name CKEDITOR.dialog.
|
464
|
+
* The CSS styles to apply to this element.
|
465
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.styles
|
466
|
+
* @field
|
211
467
|
* @type String
|
468
|
+
* @example
|
469
|
+
*/
|
470
|
+
|
471
|
+
/**
|
472
|
+
* (Optional) The padding width inside child cells. Example: 0, 1.
|
473
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.padding
|
212
474
|
* @field
|
475
|
+
* @type Number
|
213
476
|
* @example
|
214
477
|
*/
|
215
478
|
|
216
479
|
/**
|
217
|
-
* The
|
218
|
-
* @name CKEDITOR.dialog.
|
480
|
+
* (Optional) The alignment of the whole layout. Example: center, top.
|
481
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.align
|
482
|
+
* @field
|
219
483
|
* @type String
|
484
|
+
* @example
|
485
|
+
*/
|
486
|
+
|
487
|
+
/**
|
488
|
+
* (Optional) Whether the layout should expand vertically to fill its container.
|
489
|
+
* @name CKEDITOR.dialog.definition.vbox.prototype.expand
|
220
490
|
* @field
|
491
|
+
* @type Boolean
|
221
492
|
* @example
|
222
|
-
|
493
|
+
*/
|
494
|
+
|
495
|
+
// ----- button ------
|
496
|
+
|
497
|
+
/**
|
498
|
+
* The definition of a button.
|
499
|
+
* <div class="notapi">
|
500
|
+
* This class is not really part of the API. It just illustrates the properties
|
501
|
+
* that developers can use to define and create buttons.
|
502
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.button} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
503
|
+
* </div>
|
504
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
505
|
+
* @name CKEDITOR.dialog.definition.button
|
506
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
507
|
+
* @constructor
|
508
|
+
* @example
|
509
|
+
* // There is no constructor for this class, the user just has to define an
|
510
|
+
* // object with the appropriate properties.
|
511
|
+
*
|
512
|
+
* // Example:
|
513
|
+
* {
|
514
|
+
* <b>type : 'button',</b>
|
515
|
+
* id : 'buttonId',
|
516
|
+
* label : 'Click me',
|
517
|
+
* title : 'My title',
|
518
|
+
* onClick : function() {
|
519
|
+
* // this = CKEDITOR.ui.dialog.button
|
520
|
+
* alert( 'Clicked: ' + this.id );
|
521
|
+
* }
|
522
|
+
* }
|
223
523
|
*/
|
224
524
|
|
225
525
|
/**
|
226
526
|
* Whether the button is disabled.
|
227
|
-
* @name CKEDITOR.dialog.
|
527
|
+
* @name CKEDITOR.dialog.definition.button.prototype.disabled
|
228
528
|
* @type Boolean
|
229
529
|
* @field
|
230
|
-
* @default false
|
231
530
|
* @example
|
232
531
|
*/
|
233
532
|
|
234
533
|
/**
|
235
|
-
* The
|
236
|
-
* @name CKEDITOR.dialog.
|
534
|
+
* The label of the UI element.
|
535
|
+
* @name CKEDITOR.dialog.definition.button.prototype.label
|
536
|
+
* @type String
|
537
|
+
* @field
|
538
|
+
* @example
|
539
|
+
*/
|
540
|
+
|
541
|
+
// ----- checkbox ------
|
542
|
+
|
543
|
+
/**
|
544
|
+
* The definition of a checkbox element.
|
545
|
+
* <div class="notapi">
|
546
|
+
* This class is not really part of the API. It just illustrates the properties
|
547
|
+
* that developers can use to define and create groups of checkbox buttons.
|
548
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.checkbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
549
|
+
* </div>
|
550
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
551
|
+
* @name CKEDITOR.dialog.definition.checkbox
|
552
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
553
|
+
* @constructor
|
554
|
+
* @example
|
555
|
+
* // There is no constructor for this class, the user just has to define an
|
556
|
+
* // object with the appropriate properties.
|
557
|
+
*
|
558
|
+
* // Example:
|
559
|
+
* {
|
560
|
+
* <b>type : 'checkbox',</b>
|
561
|
+
* id : 'agree',
|
562
|
+
* label : 'I agree',
|
563
|
+
* 'default' : 'checked',
|
564
|
+
* onClick : function() {
|
565
|
+
* // this = CKEDITOR.ui.dialog.checkbox
|
566
|
+
* alert( 'Checked: ' + this.getValue() );
|
567
|
+
* }
|
568
|
+
* }
|
569
|
+
*/
|
570
|
+
|
571
|
+
/**
|
572
|
+
* (Optional) The validation function.
|
573
|
+
* @name CKEDITOR.dialog.definition.checkbox.prototype.validate
|
574
|
+
* @field
|
237
575
|
* @type Function
|
576
|
+
* @example
|
577
|
+
*/
|
578
|
+
|
579
|
+
/**
|
580
|
+
* The label of the UI element.
|
581
|
+
* @name CKEDITOR.dialog.definition.checkbox.prototype.label
|
582
|
+
* @type String
|
583
|
+
* @field
|
584
|
+
* @example
|
585
|
+
*/
|
586
|
+
|
587
|
+
/**
|
588
|
+
* The default state.
|
589
|
+
* @name CKEDITOR.dialog.definition.checkbox.prototype.default
|
590
|
+
* @type String
|
238
591
|
* @field
|
592
|
+
* @default
|
593
|
+
* '' (unchecked)
|
239
594
|
* @example
|
240
595
|
*/
|
241
596
|
|
597
|
+
// ----- file -----
|
598
|
+
|
242
599
|
/**
|
600
|
+
* The definition of a file upload input.
|
601
|
+
* <div class="notapi">
|
243
602
|
* This class is not really part of the API. It just illustrates the properties
|
244
|
-
* that developers can use to define and create
|
245
|
-
* @
|
603
|
+
* that developers can use to define and create file upload elements.
|
604
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.file} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
605
|
+
* </div>
|
606
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
607
|
+
* @name CKEDITOR.dialog.definition.file
|
608
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
246
609
|
* @constructor
|
247
|
-
* @see CKEDITOR.ui.dialog.uiElement
|
248
610
|
* @example
|
249
611
|
* // There is no constructor for this class, the user just has to define an
|
250
612
|
* // object with the appropriate properties.
|
613
|
+
*
|
614
|
+
* // Example:
|
615
|
+
* {
|
616
|
+
* <b>type : 'file'</b>,
|
617
|
+
* id : 'upload',
|
618
|
+
* label : 'Select file from your computer',
|
619
|
+
* size : 38
|
620
|
+
* },
|
621
|
+
* {
|
622
|
+
* type : 'fileButton',
|
623
|
+
* id : 'fileId',
|
624
|
+
* label : 'Upload file',
|
625
|
+
* 'for' : [ 'tab1', 'upload' ]
|
626
|
+
* filebrowser : {
|
627
|
+
* onSelect : function( fileUrl, data ) {
|
628
|
+
* alert( 'Successfully uploaded: ' + fileUrl );
|
629
|
+
* }
|
630
|
+
* }
|
631
|
+
* }
|
251
632
|
*/
|
252
633
|
|
253
634
|
/**
|
254
|
-
* The
|
255
|
-
* @name CKEDITOR.dialog.
|
635
|
+
* (Optional) The validation function.
|
636
|
+
* @name CKEDITOR.dialog.definition.file.prototype.validate
|
256
637
|
* @field
|
638
|
+
* @type Function
|
639
|
+
* @example
|
640
|
+
*/
|
641
|
+
|
642
|
+
/**
|
643
|
+
* The label of the UI element.
|
644
|
+
* @name CKEDITOR.dialog.definition.file.prototype.label
|
257
645
|
* @type String
|
646
|
+
* @field
|
258
647
|
* @example
|
259
648
|
*/
|
260
649
|
|
261
650
|
/**
|
262
|
-
* The
|
263
|
-
*
|
651
|
+
* (Optional) The action attribute of the form element associated with this file upload input.
|
652
|
+
* If empty, CKEditor will use path to server connector for currently opened folder.
|
653
|
+
* @name CKEDITOR.dialog.definition.file.prototype.action
|
654
|
+
* @type String
|
655
|
+
* @field
|
656
|
+
* @example
|
657
|
+
*/
|
658
|
+
|
659
|
+
/**
|
660
|
+
* The size of the UI element.
|
661
|
+
* @name CKEDITOR.dialog.definition.file.prototype.size
|
662
|
+
* @type Number
|
663
|
+
* @field
|
664
|
+
* @example
|
665
|
+
*/
|
666
|
+
|
667
|
+
// ----- fileButton -----
|
668
|
+
|
669
|
+
/**
|
670
|
+
* The definition of a button for submitting the file in a file upload input.
|
671
|
+
* <div class="notapi">
|
672
|
+
* This class is not really part of the API. It just illustrates the properties
|
673
|
+
* that developers can use to define and create a button for submitting the file in a file upload input.
|
674
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.fileButton} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
675
|
+
* </div>
|
676
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
677
|
+
* @name CKEDITOR.dialog.definition.fileButton
|
678
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
679
|
+
* @constructor
|
680
|
+
* @example
|
681
|
+
* // There is no constructor for this class, the user just has to define an
|
682
|
+
* // object with the appropriate properties.
|
683
|
+
*
|
684
|
+
* // Example:
|
685
|
+
* {
|
686
|
+
* type : 'file',
|
687
|
+
* id : 'upload',
|
688
|
+
* label : 'Select file from your computer',
|
689
|
+
* size : 38
|
690
|
+
* },
|
691
|
+
* {
|
692
|
+
* <b>type : 'fileButton'</b>,
|
693
|
+
* id : 'fileId',
|
694
|
+
* label : 'Upload file',
|
695
|
+
* 'for' : [ 'tab1', 'upload' ]
|
696
|
+
* filebrowser : {
|
697
|
+
* onSelect : function( fileUrl, data ) {
|
698
|
+
* alert( 'Successfully uploaded: ' + fileUrl );
|
699
|
+
* }
|
700
|
+
* }
|
701
|
+
* }
|
702
|
+
*/
|
703
|
+
|
704
|
+
/**
|
705
|
+
* (Optional) The validation function.
|
706
|
+
* @name CKEDITOR.dialog.definition.fileButton.prototype.validate
|
264
707
|
* @field
|
708
|
+
* @type Function
|
709
|
+
* @example
|
710
|
+
*/
|
711
|
+
|
712
|
+
/**
|
713
|
+
* The label of the UI element.
|
714
|
+
* @name CKEDITOR.dialog.definition.fileButton.prototype.label
|
265
715
|
* @type String
|
716
|
+
* @field
|
266
717
|
* @example
|
267
718
|
*/
|
268
719
|
|
269
720
|
/**
|
270
|
-
* The
|
271
|
-
*
|
721
|
+
* The instruction for CKEditor how to deal with file upload.
|
722
|
+
* By default, the file and fileButton elements will not work "as expected" if this attribute is not set.
|
723
|
+
* @name CKEDITOR.dialog.definition.fileButton.prototype.filebrowser
|
724
|
+
* @type String|Object
|
272
725
|
* @field
|
726
|
+
* @example
|
727
|
+
* // Update field with id 'txtUrl' in the 'tab1' tab when file is uploaded.
|
728
|
+
* filebrowser : 'tab1:txtUrl'
|
729
|
+
*
|
730
|
+
* // Call custom onSelect function when file is successfully uploaded.
|
731
|
+
* filebrowser : {
|
732
|
+
* onSelect : function( fileUrl, data ) {
|
733
|
+
* alert( 'Successfully uploaded: ' + fileUrl );
|
734
|
+
* }
|
735
|
+
* }
|
736
|
+
*/
|
737
|
+
|
738
|
+
/**
|
739
|
+
* An array that contains pageId and elementId of the file upload input element for which this button is created.
|
740
|
+
* @name CKEDITOR.dialog.definition.fileButton.prototype.for
|
273
741
|
* @type String
|
742
|
+
* @field
|
274
743
|
* @example
|
744
|
+
* [ pageId, elementId ]
|
275
745
|
*/
|
276
746
|
|
747
|
+
// ----- html -----
|
748
|
+
|
277
749
|
/**
|
278
|
-
*
|
279
|
-
*
|
750
|
+
* The definition of a raw HTML element.
|
751
|
+
* <div class="notapi">
|
752
|
+
* This class is not really part of the API. It just illustrates the properties
|
753
|
+
* that developers can use to define and create elements made from raw HTML code.
|
754
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.html} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
755
|
+
* </div>
|
756
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.<br />
|
757
|
+
* To access HTML elements use {@link CKEDITOR.dom.document#getById}
|
758
|
+
* @name CKEDITOR.dialog.definition.html
|
759
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
760
|
+
* @constructor
|
761
|
+
* @example
|
762
|
+
* // There is no constructor for this class, the user just has to define an
|
763
|
+
* // object with the appropriate properties.
|
764
|
+
*
|
765
|
+
* // Example 1:
|
766
|
+
* {
|
767
|
+
* <b>type : 'html',</b>
|
768
|
+
* html : '<h3>This is some sample HTML content.</h3>'
|
769
|
+
* }
|
770
|
+
* @example
|
771
|
+
* // Example 2:
|
772
|
+
* // Complete sample with document.getById() call when the "Ok" button is clicked.
|
773
|
+
* var dialogDefinition =
|
774
|
+
* {
|
775
|
+
* title : 'Sample dialog',
|
776
|
+
* minWidth : 300,
|
777
|
+
* minHeight : 200,
|
778
|
+
* onOk : function() {
|
779
|
+
* // "this" is now a CKEDITOR.dialog object.
|
780
|
+
* var document = this.getElement().getDocument();
|
781
|
+
* // document = CKEDITOR.dom.document
|
782
|
+
* var element = <b>document.getById( 'myDiv' );</b>
|
783
|
+
* if ( element )
|
784
|
+
* alert( element.getHtml() );
|
785
|
+
* },
|
786
|
+
* contents : [
|
787
|
+
* {
|
788
|
+
* id : 'tab1',
|
789
|
+
* label : '',
|
790
|
+
* title : '',
|
791
|
+
* elements :
|
792
|
+
* [
|
793
|
+
* {
|
794
|
+
* <b>type : 'html',</b>
|
795
|
+
* html : '<b><div id="myDiv">Sample <b>text</b>.</div></b><div id="otherId">Another div.</div>'
|
796
|
+
* },
|
797
|
+
* ]
|
798
|
+
* }
|
799
|
+
* ],
|
800
|
+
* buttons : [ CKEDITOR.dialog.cancelButton, CKEDITOR.dialog.okButton ]
|
801
|
+
* };
|
802
|
+
*/
|
803
|
+
|
804
|
+
/**
|
805
|
+
* (Required) HTML code of this element.
|
806
|
+
* @name CKEDITOR.dialog.definition.html.prototype.html
|
807
|
+
* @type String
|
280
808
|
* @field
|
809
|
+
* @example
|
810
|
+
*/
|
811
|
+
|
812
|
+
// ----- radio ------
|
813
|
+
|
814
|
+
/**
|
815
|
+
* The definition of a radio group.
|
816
|
+
* <div class="notapi">
|
817
|
+
* This class is not really part of the API. It just illustrates the properties
|
818
|
+
* that developers can use to define and create groups of radio buttons.
|
819
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.radio} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
820
|
+
* </div>
|
821
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
822
|
+
* @name CKEDITOR.dialog.definition.radio
|
823
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
824
|
+
* @constructor
|
825
|
+
* @example
|
826
|
+
* // There is no constructor for this class, the user just has to define an
|
827
|
+
* // object with the appropriate properties.
|
828
|
+
*
|
829
|
+
* // Example:
|
830
|
+
* {
|
831
|
+
* <b>type : 'radio',</b>
|
832
|
+
* id : 'country',
|
833
|
+
* label : 'Which country is bigger',
|
834
|
+
* items : [ [ 'France', 'FR' ], [ 'Germany', 'DE' ] ] ,
|
835
|
+
* style : 'color:green',
|
836
|
+
* 'default' : 'DE',
|
837
|
+
* onClick : function() {
|
838
|
+
* // this = CKEDITOR.ui.dialog.radio
|
839
|
+
* alert( 'Current value: ' + this.getValue() );
|
840
|
+
* }
|
841
|
+
* }
|
842
|
+
*/
|
843
|
+
|
844
|
+
/**
|
845
|
+
* The default value.
|
846
|
+
* @name CKEDITOR.dialog.definition.radio.prototype.default
|
281
847
|
* @type String
|
848
|
+
* @field
|
282
849
|
* @example
|
283
850
|
*/
|
284
851
|
|
285
852
|
/**
|
286
|
-
*
|
287
|
-
* @name CKEDITOR.dialog.
|
853
|
+
* (Optional) The validation function.
|
854
|
+
* @name CKEDITOR.dialog.definition.radio.prototype.validate
|
855
|
+
* @field
|
856
|
+
* @type Function
|
857
|
+
* @example
|
858
|
+
*/
|
859
|
+
|
860
|
+
/**
|
861
|
+
* An array of options. Each option is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value' is missing, then the value would be assumed to be the same as the description.
|
862
|
+
* @name CKEDITOR.dialog.definition.radio.prototype.items
|
288
863
|
* @field
|
864
|
+
* @type Array
|
865
|
+
* @example
|
866
|
+
*/
|
867
|
+
|
868
|
+
/**
|
869
|
+
* The label of the UI element.
|
870
|
+
* @name CKEDITOR.dialog.definition.radio.prototype.label
|
289
871
|
* @type String
|
872
|
+
* @field
|
290
873
|
* @example
|
291
874
|
*/
|
292
875
|
|
876
|
+
// ----- selectElement ------
|
877
|
+
|
293
878
|
/**
|
294
|
-
*
|
295
|
-
*
|
879
|
+
* The definition of a select element.
|
880
|
+
* <div class="notapi">
|
881
|
+
* This class is not really part of the API. It just illustrates the properties
|
882
|
+
* that developers can use to define and create select elements.
|
883
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.select} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
884
|
+
* </div>
|
885
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
886
|
+
* @name CKEDITOR.dialog.definition.select
|
887
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
888
|
+
* @constructor
|
889
|
+
* @example
|
890
|
+
* // There is no constructor for this class, the user just has to define an
|
891
|
+
* // object with the appropriate properties.
|
892
|
+
*
|
893
|
+
* // Example:
|
894
|
+
* {
|
895
|
+
* <b>type : 'select',</b>
|
896
|
+
* id : 'sport',
|
897
|
+
* label : 'Select your favourite sport',
|
898
|
+
* items : [ [ 'Basketball' ], [ 'Baseball' ], [ 'Hockey' ], [ 'Football' ] ],
|
899
|
+
* 'default' : 'Football',
|
900
|
+
* onChange : function( api ) {
|
901
|
+
* // this = CKEDITOR.ui.dialog.select
|
902
|
+
* alert( 'Current value: ' + this.getValue() );
|
903
|
+
* }
|
904
|
+
* }
|
905
|
+
*/
|
906
|
+
|
907
|
+
/**
|
908
|
+
* The default value.
|
909
|
+
* @name CKEDITOR.dialog.definition.select.prototype.default
|
910
|
+
* @type String
|
911
|
+
* @field
|
912
|
+
* @example
|
913
|
+
*/
|
914
|
+
|
915
|
+
/**
|
916
|
+
* (Optional) The validation function.
|
917
|
+
* @name CKEDITOR.dialog.definition.select.prototype.validate
|
296
918
|
* @field
|
297
919
|
* @type Function
|
298
920
|
* @example
|
299
921
|
*/
|
300
922
|
|
301
923
|
/**
|
302
|
-
*
|
303
|
-
* @name CKEDITOR.dialog.
|
924
|
+
* An array of options. Each option is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value' is missing, then the value would be assumed to be the same as the description.
|
925
|
+
* @name CKEDITOR.dialog.definition.select.prototype.items
|
926
|
+
* @field
|
927
|
+
* @type Array
|
928
|
+
* @example
|
929
|
+
*/
|
930
|
+
|
931
|
+
/**
|
932
|
+
* (Optional) Set this to true if you'd like to have a multiple-choice select box.
|
933
|
+
* @name CKEDITOR.dialog.definition.select.prototype.multiple
|
934
|
+
* @type Boolean
|
935
|
+
* @field
|
936
|
+
* @example
|
937
|
+
* @default false
|
938
|
+
*/
|
939
|
+
|
940
|
+
/**
|
941
|
+
* (Optional) The number of items to display in the select box.
|
942
|
+
* @name CKEDITOR.dialog.definition.select.prototype.size
|
943
|
+
* @type Number
|
944
|
+
* @field
|
945
|
+
* @example
|
946
|
+
*/
|
947
|
+
|
948
|
+
/**
|
949
|
+
* The label of the UI element.
|
950
|
+
* @name CKEDITOR.dialog.definition.select.prototype.label
|
951
|
+
* @type String
|
952
|
+
* @field
|
953
|
+
* @example
|
954
|
+
*/
|
955
|
+
|
956
|
+
// ----- textInput -----
|
957
|
+
|
958
|
+
/**
|
959
|
+
* The definition of a text field (single line).
|
960
|
+
* <div class="notapi">
|
961
|
+
* This class is not really part of the API. It just illustrates the properties
|
962
|
+
* that developers can use to define and create text fields.
|
963
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textInput} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
964
|
+
* </div>
|
965
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
966
|
+
* @name CKEDITOR.dialog.definition.textInput
|
967
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
968
|
+
* @constructor
|
969
|
+
* @example
|
970
|
+
* // There is no constructor for this class, the user just has to define an
|
971
|
+
* // object with the appropriate properties.
|
972
|
+
*
|
973
|
+
* {
|
974
|
+
* <b>type : 'text',</b>
|
975
|
+
* id : 'name',
|
976
|
+
* label : 'Your name',
|
977
|
+
* 'default' : '',
|
978
|
+
* validate : function() {
|
979
|
+
* if ( !this.getValue() )
|
980
|
+
* {
|
981
|
+
* api.openMsgDialog( '', 'Name cannot be empty.' );
|
982
|
+
* return false;
|
983
|
+
* }
|
984
|
+
* }
|
985
|
+
* }
|
986
|
+
*/
|
987
|
+
|
988
|
+
/**
|
989
|
+
* The default value.
|
990
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.default
|
991
|
+
* @type String
|
992
|
+
* @field
|
993
|
+
* @example
|
994
|
+
*/
|
995
|
+
|
996
|
+
/**
|
997
|
+
* (Optional) The maximum length.
|
998
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.maxLength
|
999
|
+
* @type Number
|
1000
|
+
* @field
|
1001
|
+
* @example
|
1002
|
+
*/
|
1003
|
+
|
1004
|
+
/**
|
1005
|
+
* (Optional) The size of the input field.
|
1006
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.size
|
1007
|
+
* @type Number
|
1008
|
+
* @field
|
1009
|
+
* @example
|
1010
|
+
*/
|
1011
|
+
|
1012
|
+
/**
|
1013
|
+
* (Optional) The validation function.
|
1014
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.validate
|
304
1015
|
* @field
|
305
1016
|
* @type Function
|
306
1017
|
* @example
|
307
1018
|
*/
|
308
1019
|
|
309
1020
|
/**
|
310
|
-
*
|
311
|
-
* @name CKEDITOR.dialog.
|
1021
|
+
* The label of the UI element.
|
1022
|
+
* @name CKEDITOR.dialog.definition.textInput.prototype.label
|
1023
|
+
* @type String
|
1024
|
+
* @field
|
1025
|
+
* @example
|
1026
|
+
*/
|
1027
|
+
|
1028
|
+
// ----- textarea ------
|
1029
|
+
|
1030
|
+
/**
|
1031
|
+
* The definition of a text field (multiple lines).
|
1032
|
+
* <div class="notapi">
|
1033
|
+
* This class is not really part of the API. It just illustrates the properties
|
1034
|
+
* that developers can use to define and create textarea.
|
1035
|
+
* <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textarea} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
|
1036
|
+
* </div>
|
1037
|
+
* For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
|
1038
|
+
* @name CKEDITOR.dialog.definition.textarea
|
1039
|
+
* @extends CKEDITOR.dialog.definition.uiElement
|
1040
|
+
* @constructor
|
1041
|
+
* @example
|
1042
|
+
* // There is no constructor for this class, the user just has to define an
|
1043
|
+
* // object with the appropriate properties.
|
1044
|
+
*
|
1045
|
+
* // Example:
|
1046
|
+
* {
|
1047
|
+
* <b>type : 'textarea',</b>
|
1048
|
+
* id : 'message',
|
1049
|
+
* label : 'Your comment',
|
1050
|
+
* 'default' : '',
|
1051
|
+
* validate : function() {
|
1052
|
+
* if ( this.getValue().length < 5 )
|
1053
|
+
* {
|
1054
|
+
* api.openMsgDialog( 'The comment is too short.' );
|
1055
|
+
* return false;
|
1056
|
+
* }
|
1057
|
+
* }
|
1058
|
+
* }
|
1059
|
+
*/
|
1060
|
+
|
1061
|
+
/**
|
1062
|
+
* The number of rows.
|
1063
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.rows
|
1064
|
+
* @type Number
|
1065
|
+
* @field
|
1066
|
+
* @example
|
1067
|
+
*/
|
1068
|
+
|
1069
|
+
/**
|
1070
|
+
* The number of columns.
|
1071
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.cols
|
1072
|
+
* @type Number
|
1073
|
+
* @field
|
1074
|
+
* @example
|
1075
|
+
*/
|
1076
|
+
|
1077
|
+
/**
|
1078
|
+
* (Optional) The validation function.
|
1079
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.validate
|
312
1080
|
* @field
|
313
1081
|
* @type Function
|
314
1082
|
* @example
|
315
1083
|
*/
|
1084
|
+
|
1085
|
+
/**
|
1086
|
+
* The default value.
|
1087
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.default
|
1088
|
+
* @type String
|
1089
|
+
* @field
|
1090
|
+
* @example
|
1091
|
+
*/
|
1092
|
+
|
1093
|
+
/**
|
1094
|
+
* The label of the UI element.
|
1095
|
+
* @name CKEDITOR.dialog.definition.textarea.prototype.label
|
1096
|
+
* @type String
|
1097
|
+
* @field
|
1098
|
+
* @example
|
1099
|
+
*/
|