refinerycms-ckeditor 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/ckeditor/.htaccess +1 -1
- data/app/assets/javascripts/ckeditor/CHANGES.html +72 -2
- data/app/assets/javascripts/ckeditor/INSTALL.html +2 -2
- data/app/assets/javascripts/ckeditor/LICENSE.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/adobeair/application.xml +2 -2
- data/app/assets/javascripts/ckeditor/_samples/adobeair/run.bat +1 -1
- data/app/assets/javascripts/ckeditor/_samples/adobeair/run.sh +1 -1
- data/app/assets/javascripts/ckeditor/_samples/adobeair/sample.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/ajax.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/api.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/api_dialog.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/api_dialog/my_dialog.js +1 -1
- data/app/assets/javascripts/ckeditor/_samples/asp/advanced.asp +2 -2
- data/app/assets/javascripts/ckeditor/_samples/asp/events.asp +2 -2
- data/app/assets/javascripts/ckeditor/_samples/asp/index.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/asp/replace.asp +2 -2
- data/app/assets/javascripts/ckeditor/_samples/asp/replaceall.asp +2 -2
- data/app/assets/javascripts/ckeditor/_samples/asp/sample_posteddata.asp +2 -2
- data/app/assets/javascripts/ckeditor/_samples/asp/standalone.asp +2 -2
- data/app/assets/javascripts/ckeditor/_samples/assets/_posteddata.php +2 -2
- data/app/assets/javascripts/ckeditor/_samples/assets/output_xhtml.css +1 -1
- data/app/assets/javascripts/ckeditor/_samples/autogrow.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/bbcode.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/devtools.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/divreplace.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/enterkey.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/fullpage.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/index.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/jqueryadapter.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/output_for_flash.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/output_html.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/output_xhtml.html +10 -6
- data/app/assets/javascripts/ckeditor/_samples/php/advanced.php +2 -2
- data/app/assets/javascripts/ckeditor/_samples/php/events.php +2 -2
- data/app/assets/javascripts/ckeditor/_samples/php/index.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/php/replace.php +2 -2
- data/app/assets/javascripts/ckeditor/_samples/php/replaceall.php +2 -2
- data/app/assets/javascripts/ckeditor/_samples/php/standalone.php +2 -2
- data/app/assets/javascripts/ckeditor/_samples/placeholder.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/readonly.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/replacebyclass.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/replacebycode.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/sample.css +1 -1
- data/app/assets/javascripts/ckeditor/_samples/sample.js +1 -1
- data/app/assets/javascripts/ckeditor/_samples/sample_posteddata.php +1 -1
- data/app/assets/javascripts/ckeditor/_samples/sharedspaces.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/skins.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/stylesheetparser.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/tableresize.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/ui_color.html +2 -2
- data/app/assets/javascripts/ckeditor/_samples/ui_languages.html +2 -2
- data/app/assets/javascripts/ckeditor/_source/adapters/jquery.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/_bootstrap.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/ckeditor.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/ckeditor_base.js +13 -5
- data/app/assets/javascripts/ckeditor/_source/core/ckeditor_basic.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/command.js +17 -1
- data/app/assets/javascripts/ckeditor/_source/core/commanddefinition.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/config.js +19 -11
- data/app/assets/javascripts/ckeditor/_source/core/dataprocessor.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dom.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dom/comment.js +24 -12
- data/app/assets/javascripts/ckeditor/_source/core/dom/document.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dom/documentfragment.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dom/domobject.js +7 -7
- data/app/assets/javascripts/ckeditor/_source/core/dom/element.js +135 -30
- data/app/assets/javascripts/ckeditor/_source/core/dom/elementpath.js +1 -3
- data/app/assets/javascripts/ckeditor/_source/core/dom/event.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dom/node.js +11 -16
- data/app/assets/javascripts/ckeditor/_source/core/dom/nodelist.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dom/range.js +27 -13
- data/app/assets/javascripts/ckeditor/_source/core/dom/rangelist.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dom/text.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dom/walker.js +69 -35
- data/app/assets/javascripts/ckeditor/_source/core/dom/window.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/dtd.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/editor.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/editor_basic.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/env.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/event.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/eventInfo.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/focusmanager.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/htmlparser.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/htmlparser/basicwriter.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/htmlparser/cdata.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/htmlparser/comment.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/htmlparser/element.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/htmlparser/filter.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/htmlparser/fragment.js +26 -7
- data/app/assets/javascripts/ckeditor/_source/core/htmlparser/text.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/lang.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/loader.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/core/plugindefinition.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/plugins.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/resourcemanager.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/scriptloader.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/skins.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/themes.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/tools.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/core/ui.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/_languages.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/_translationstatus.txt +25 -23
- data/app/assets/javascripts/ckeditor/_source/lang/af.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/ar.js +4 -4
- data/app/assets/javascripts/ckeditor/_source/lang/bg.js +403 -403
- data/app/assets/javascripts/ckeditor/_source/lang/bn.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/bs.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/ca.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/cs.js +28 -28
- data/app/assets/javascripts/ckeditor/_source/lang/cy.js +6 -6
- data/app/assets/javascripts/ckeditor/_source/lang/da.js +162 -162
- data/app/assets/javascripts/ckeditor/_source/lang/de.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/lang/el.js +132 -132
- data/app/assets/javascripts/ckeditor/_source/lang/en-au.js +4 -4
- data/app/assets/javascripts/ckeditor/_source/lang/en-ca.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/en-gb.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/eo.js +376 -376
- data/app/assets/javascripts/ckeditor/_source/lang/es.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/et.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/lang/eu.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/fa.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/fi.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/fo.js +31 -31
- data/app/assets/javascripts/ckeditor/_source/lang/fr-ca.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/fr.js +30 -30
- data/app/assets/javascripts/ckeditor/_source/lang/gl.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/gu.js +261 -261
- data/app/assets/javascripts/ckeditor/_source/lang/he.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/hi.js +7 -7
- data/app/assets/javascripts/ckeditor/_source/lang/hr.js +158 -158
- data/app/assets/javascripts/ckeditor/_source/lang/hu.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/is.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/it.js +4 -4
- data/app/assets/javascripts/ckeditor/_source/lang/ja.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/ka.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/km.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/ko.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/lt.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/lv.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/mk.js +814 -0
- data/app/assets/javascripts/ckeditor/_source/lang/mn.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/ms.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/nb.js +4 -4
- data/app/assets/javascripts/ckeditor/_source/lang/nl.js +35 -35
- data/app/assets/javascripts/ckeditor/_source/lang/no.js +4 -4
- data/app/assets/javascripts/ckeditor/_source/lang/pl.js +3 -3
- data/app/assets/javascripts/ckeditor/_source/lang/pt-br.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/pt.js +34 -34
- data/app/assets/javascripts/ckeditor/_source/lang/ro.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/ru.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/sk.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/sl.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/sr-latn.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/sr.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/sv.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/th.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/lang/tr.js +50 -50
- data/app/assets/javascripts/ckeditor/_source/lang/ug.js +814 -0
- data/app/assets/javascripts/ckeditor/_source/lang/uk.js +35 -35
- data/app/assets/javascripts/ckeditor/_source/lang/vi.js +84 -84
- data/app/assets/javascripts/ckeditor/_source/lang/zh-cn.js +4 -4
- data/app/assets/javascripts/ckeditor/_source/lang/zh.js +16 -16
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/_translationstatus.txt +23 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/cs.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/cy.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/da.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/de.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/el.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/en.js +3 -3
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/eo.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/fa.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/fi.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/fr.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/gu.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/he.js +6 -133
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/it.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/mk.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/nb.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/nl.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/no.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/tr.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/ug.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/vi.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/lang/zh-cn.js +89 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/a11yhelp/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/about/dialogs/about.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/about/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/adobeair/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/ajax/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/autogrow/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/basicstyles/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/bbcode/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/bidi/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/blockquote/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/button/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/clipboard/dialogs/paste.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/clipboard/plugin.js +41 -15
- data/app/assets/javascripts/ckeditor/_source/plugins/colorbutton/plugin.js +5 -6
- data/app/assets/javascripts/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +140 -93
- data/app/assets/javascripts/ckeditor/_source/plugins/colordialog/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/contextmenu/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/_translationstatus.txt +27 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/bg.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/cs.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/cy.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/da.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/de.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/el.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/eo.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/et.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/fa.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/fi.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/fr.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/gu.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/he.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/hr.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/it.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/nb.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/nl.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/no.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/pl.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/tr.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/ug.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/uk.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/vi.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/lang/zh-cn.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/devtools/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/dialog/dialogDefinition.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/dialog/plugin.js +33 -22
- data/app/assets/javascripts/ckeditor/_source/plugins/dialogadvtab/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/dialogui/plugin.js +12 -4
- data/app/assets/javascripts/ckeditor/_source/plugins/div/dialogs/div.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/div/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/docprops/dialogs/docprops.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/docprops/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/domiterator/plugin.js +41 -36
- data/app/assets/javascripts/ckeditor/_source/plugins/editingblock/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/elementspath/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/enterkey/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/entities/plugin.js +14 -10
- data/app/assets/javascripts/ckeditor/_source/plugins/fakeobjects/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/filebrowser/plugin.js +2 -3
- data/app/assets/javascripts/ckeditor/_source/plugins/find/dialogs/find.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/find/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/flash/dialogs/flash.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/flash/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/floatpanel/plugin.js +67 -19
- data/app/assets/javascripts/ckeditor/_source/plugins/font/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/format/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/button.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/checkbox.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/form.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/radio.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/select.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/textarea.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/dialogs/textfield.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/forms/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/horizontalrule/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/htmldataprocessor/plugin.js +6 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/htmlwriter/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/iframe/dialogs/iframe.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/iframe/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/iframedialog/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/image/dialogs/image.js +4 -5
- data/app/assets/javascripts/ckeditor/_source/plugins/image/plugin.js +89 -6
- data/app/assets/javascripts/ckeditor/_source/plugins/indent/plugin.js +20 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/justify/plugin.js +15 -17
- data/app/assets/javascripts/ckeditor/_source/plugins/keystrokes/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/link/dialogs/anchor.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/link/dialogs/link.js +8 -6
- data/app/assets/javascripts/ckeditor/_source/plugins/link/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/list/plugin.js +250 -57
- data/app/assets/javascripts/ckeditor/_source/plugins/listblock/plugin.js +2 -8
- data/app/assets/javascripts/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/liststyle/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/maximize/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/menu/plugin.js +4 -3
- data/app/assets/javascripts/ckeditor/_source/plugins/menubutton/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/newpage/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/pagebreak/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/panel/plugin.js +7 -11
- data/app/assets/javascripts/ckeditor/_source/plugins/panelbutton/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/pastefromword/filter/default.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/pastefromword/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/pastetext/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/_translationstatus.txt +26 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/bg.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/cs.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/cy.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/da.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/de.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/el.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/eo.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/et.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/fa.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/fi.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/fr.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/he.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/hr.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/it.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/nb.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/nl.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/no.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/pl.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/tr.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/ug.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/uk.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/vi.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/lang/zh-cn.js +16 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/placeholder/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/popup/plugin.js +8 -3
- data/app/assets/javascripts/ckeditor/_source/plugins/preview/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/print/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/removeformat/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/resize/plugin.js +3 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/richcombo/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/save/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/scayt/dialogs/options.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/scayt/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/selection/plugin.js +208 -82
- data/app/assets/javascripts/ckeditor/_source/plugins/showblocks/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/showborders/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/smiley/dialogs/smiley.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/smiley/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/sourcearea/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/_translationstatus.txt +19 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/cs.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/cy.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/de.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/en.js +123 -119
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/eo.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/et.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/fa.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/fi.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/fr.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/hr.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/it.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/nb.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/nl.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/no.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/tr.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/ug.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/lang/zh-cn.js +126 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/specialchar/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/styles/plugin.js +10 -4
- data/app/assets/javascripts/ckeditor/_source/plugins/styles/styles/default.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/stylescombo/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/stylesheetparser/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/tab/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/table/dialogs/table.js +23 -28
- data/app/assets/javascripts/ckeditor/_source/plugins/table/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/tableresize/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +4 -9
- data/app/assets/javascripts/ckeditor/_source/plugins/tabletools/plugin.js +8 -17
- data/app/assets/javascripts/ckeditor/_source/plugins/templates/dialogs/templates.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/templates/plugin.js +2 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/templates/templates/default.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/toolbar/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/_translationstatus.txt +27 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/bg.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/cs.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/cy.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/da.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/de.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/el.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/eo.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/et.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/fa.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/fi.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/fr.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/he.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/hr.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/it.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/mk.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/nb.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/nl.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/no.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/pl.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/tr.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/ug.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/uk.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/vi.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/lang/zh-cn.js +15 -0
- data/app/assets/javascripts/ckeditor/_source/plugins/uicolor/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/_source/plugins/undo/plugin.js +19 -4
- data/app/assets/javascripts/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/wsc/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/plugins/wysiwygarea/plugin.js +58 -59
- data/app/assets/javascripts/ckeditor/_source/plugins/xml/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/dialog.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/editor.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/elementspath.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/icons.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/mainui.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/menu.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/panel.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/presets.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/reset.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/richcombo.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/skin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/templates.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/kama/toolbar.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/dialog.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/editor.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/elementspath.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/icons.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/mainui.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/menu.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/panel.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/presets.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/reset.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/skin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/templates.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/office2003/toolbar.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/dialog.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/editor.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/elementspath.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/icons.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/mainui.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/menu.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/panel.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/presets.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/reset.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/skin.js +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/templates.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/skins/v2/toolbar.css +1 -1
- data/app/assets/javascripts/ckeditor/_source/themes/default/theme.js +1 -1
- data/app/assets/javascripts/ckeditor/adapters/jquery.js +1 -1
- data/app/assets/javascripts/ckeditor/ckeditor.asp +4 -4
- data/app/assets/javascripts/ckeditor/ckeditor.js +119 -117
- data/app/assets/javascripts/ckeditor/ckeditor.pack +1 -1
- data/app/assets/javascripts/ckeditor/ckeditor.php +1 -1
- data/app/assets/javascripts/ckeditor/ckeditor_basic.js +3 -3
- data/app/assets/javascripts/ckeditor/ckeditor_basic_source.js +2 -2
- data/app/assets/javascripts/ckeditor/ckeditor_php4.php +4 -4
- data/app/assets/javascripts/ckeditor/ckeditor_php5.php +4 -4
- data/app/assets/javascripts/ckeditor/ckeditor_source.js +2 -2
- data/app/assets/javascripts/ckeditor/config.js +11 -11
- data/app/assets/javascripts/ckeditor/contents.css +1 -1
- data/app/assets/javascripts/ckeditor/lang/_languages.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/_translationstatus.txt +25 -23
- data/app/assets/javascripts/ckeditor/lang/af.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/ar.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/bg.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/bn.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/bs.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/ca.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/cs.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/cy.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/da.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/de.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/el.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/en-au.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/en-ca.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/en-gb.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/eo.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/es.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/et.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/eu.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/fa.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/fi.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/fo.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/fr-ca.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/fr.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/gl.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/gu.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/he.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/hi.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/hr.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/hu.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/is.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/it.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/ja.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/ka.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/km.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/ko.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/lt.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/lv.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/mk.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/mn.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/ms.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/nb.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/nl.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/no.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/pl.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/pt-br.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/pt.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/ro.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/ru.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/sk.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/sl.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/sr-latn.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/sr.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/sv.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/th.js +1 -1
- data/app/assets/javascripts/ckeditor/lang/tr.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/ug.js +6 -0
- data/app/assets/javascripts/ckeditor/lang/uk.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/vi.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/zh-cn.js +2 -2
- data/app/assets/javascripts/ckeditor/lang/zh.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/_translationstatus.txt +23 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/cs.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/cy.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/da.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/de.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/el.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/eo.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fa.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/gu.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/it.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/mk.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/nb.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/nl.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/no.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/tr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/ug.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/vi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/lang/zh-cn.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/ajax/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/_translationstatus.txt +27 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/bg.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/cs.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/cy.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/da.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/de.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/el.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/eo.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/et.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fa.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/gu.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/he.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/hr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/it.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/nb.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/nl.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/no.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/pl.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/tr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/ug.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/uk.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/vi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/lang/zh-cn.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/devtools/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/docprops/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +9 -9
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +5 -5
- data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/_translationstatus.txt +26 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/_translationstatus.txt +19 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/cs.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/cy.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/de.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/eo.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/et.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/fa.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/fi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/fr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/hr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/it.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/nb.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/nl.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/no.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/tr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/ug.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/lang/zh-cn.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/styles/styles/default.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +5 -5
- data/app/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/_translationstatus.txt +27 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/bg.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/cs.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/cy.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/da.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/de.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/el.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/eo.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/et.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fa.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/hr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/it.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/mk.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/nb.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/nl.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/no.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/pl.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/tr.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/ug.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/uk.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/vi.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/zh-cn.js +6 -0
- data/app/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +1 -1
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/xml/plugin.js +1 -1
- data/app/assets/javascripts/ckeditor/skins/kama/dialog.css +2 -2
- data/app/assets/javascripts/ckeditor/skins/kama/editor.css +3 -3
- data/app/assets/javascripts/ckeditor/skins/kama/skin.js +1 -1
- data/app/assets/javascripts/ckeditor/skins/kama/templates.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/office2003/dialog.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/office2003/editor.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/office2003/skin.js +1 -1
- data/app/assets/javascripts/ckeditor/skins/office2003/templates.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/v2/dialog.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/v2/editor.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/v2/skin.js +1 -1
- data/app/assets/javascripts/ckeditor/skins/v2/templates.css +1 -1
- data/app/assets/javascripts/ckeditor/themes/default/theme.js +1 -1
- data/lib/refinery/ckeditor/version.rb +1 -1
- metadata +262 -21
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
CKEDITOR.plugins.setLang( 'devtools', 'zh-cn',
|
7
|
+
{
|
8
|
+
devTools :
|
9
|
+
{
|
10
|
+
title : '元素信息',
|
11
|
+
dialogName : '对话框窗口名称',
|
12
|
+
tabName : 'Tab 名称',
|
13
|
+
elementId : '元素 ID',
|
14
|
+
elementType : '元素类型'
|
15
|
+
}
|
16
|
+
});
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
6
6
|
CKEDITOR.plugins.add( 'devtools',
|
7
7
|
{
|
8
|
-
lang : [ 'en' ],
|
8
|
+
lang : [ 'bg', 'cs', 'cy', 'da', 'de', 'el', 'en', 'eo', 'et', 'fa', 'fi', 'fr', 'gu', 'he', 'hr', 'it', 'nb', 'nl', 'no', 'pl', 'tr', 'ug', 'uk', 'vi', 'zh-cn' ],
|
9
9
|
|
10
10
|
init : function( editor )
|
11
11
|
{
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
@@ -138,7 +138,10 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
138
138
|
var definition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
|
139
139
|
defaultDefinition = CKEDITOR.tools.clone( defaultDialogDefinition ),
|
140
140
|
buttonsOrder = editor.config.dialog_buttonsOrder || 'OS',
|
141
|
-
dir = editor.lang.dir
|
141
|
+
dir = editor.lang.dir,
|
142
|
+
tabsToRemove = {},
|
143
|
+
i,
|
144
|
+
processed;
|
142
145
|
|
143
146
|
if ( ( buttonsOrder == 'OS' && CKEDITOR.env.mac ) || // The buttons in MacOS Apps are in reverse order (#4750)
|
144
147
|
( buttonsOrder == 'rtl' && dir == 'ltr' ) ||
|
@@ -219,7 +222,6 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
219
222
|
}
|
220
223
|
, editor ).definition;
|
221
224
|
|
222
|
-
var tabsToRemove = {};
|
223
225
|
// Cache tabs that should be removed.
|
224
226
|
if ( !( 'removeDialogTabs' in editor._ ) && editor.config.removeDialogTabs )
|
225
227
|
{
|
@@ -358,10 +360,11 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
358
360
|
focusList[ i ].focusIndex = i;
|
359
361
|
}
|
360
362
|
|
361
|
-
function changeFocus(
|
363
|
+
function changeFocus( offset )
|
362
364
|
{
|
363
|
-
var focusList = me._.focusList
|
364
|
-
|
365
|
+
var focusList = me._.focusList;
|
366
|
+
offset = offset || 0;
|
367
|
+
|
365
368
|
if ( focusList.length < 1 )
|
366
369
|
return;
|
367
370
|
|
@@ -377,12 +380,13 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
377
380
|
|
378
381
|
var startIndex = ( current + offset + focusList.length ) % focusList.length,
|
379
382
|
currentIndex = startIndex;
|
380
|
-
while ( !focusList[ currentIndex ].isFocusable() )
|
383
|
+
while ( offset && !focusList[ currentIndex ].isFocusable() )
|
381
384
|
{
|
382
385
|
currentIndex = ( currentIndex + offset + focusList.length ) % focusList.length;
|
383
386
|
if ( currentIndex == startIndex )
|
384
387
|
break;
|
385
388
|
}
|
389
|
+
|
386
390
|
focusList[ currentIndex ].focus();
|
387
391
|
|
388
392
|
// Select whole field content.
|
@@ -392,7 +396,6 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
392
396
|
|
393
397
|
this.changeFocus = changeFocus;
|
394
398
|
|
395
|
-
var processed;
|
396
399
|
|
397
400
|
function focusKeydownHandler( evt )
|
398
401
|
{
|
@@ -419,7 +422,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
419
422
|
else
|
420
423
|
{
|
421
424
|
// Change the focus of inputs.
|
422
|
-
changeFocus(
|
425
|
+
changeFocus( shiftPressed ? -1 : 1 );
|
423
426
|
}
|
424
427
|
|
425
428
|
processed = 1;
|
@@ -444,7 +447,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
444
447
|
this.selectPage( this._.currentTabId );
|
445
448
|
this._.tabBarMode = false;
|
446
449
|
this._.currentFocusIndex = -1;
|
447
|
-
changeFocus(
|
450
|
+
changeFocus( 1 );
|
448
451
|
processed = 1;
|
449
452
|
}
|
450
453
|
|
@@ -512,7 +515,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
512
515
|
}
|
513
516
|
// Focus the first field in layout order.
|
514
517
|
else
|
515
|
-
changeFocus(
|
518
|
+
changeFocus( 1 );
|
516
519
|
|
517
520
|
/*
|
518
521
|
* IE BUG: If the initial focus went into a non-text element (e.g. button),
|
@@ -558,7 +561,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
558
561
|
( new CKEDITOR.dom.text( definition.title, CKEDITOR.document ) ).appendTo( this.parts.title );
|
559
562
|
|
560
563
|
// Insert the tabs and contents.
|
561
|
-
for (
|
564
|
+
for ( i = 0 ; i < definition.contents.length ; i++ )
|
562
565
|
{
|
563
566
|
var page = definition.contents[i];
|
564
567
|
page && this.addPage( page );
|
@@ -578,7 +581,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
578
581
|
{
|
579
582
|
this._.tabBarMode = false;
|
580
583
|
this._.currentFocusIndex = -1;
|
581
|
-
changeFocus(
|
584
|
+
changeFocus( 1 );
|
582
585
|
}
|
583
586
|
evt.data.preventDefault();
|
584
587
|
}
|
@@ -794,19 +797,12 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
794
797
|
this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 );
|
795
798
|
|
796
799
|
// Maintain the dialog ordering and dialog cover.
|
797
|
-
// Also register key handlers if first dialog.
|
798
800
|
if ( CKEDITOR.dialog._.currentTop === null )
|
799
801
|
{
|
800
802
|
CKEDITOR.dialog._.currentTop = this;
|
801
803
|
this._.parentDialog = null;
|
802
804
|
showCover( this._.editor );
|
803
805
|
|
804
|
-
element.on( 'keydown', accessKeyDownHandler );
|
805
|
-
element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
|
806
|
-
|
807
|
-
// Prevent some keys from bubbling up. (#4269)
|
808
|
-
for ( var event in { keyup :1, keydown :1, keypress :1 } )
|
809
|
-
element.on( event, preventKeyBubbling );
|
810
806
|
}
|
811
807
|
else
|
812
808
|
{
|
@@ -816,10 +812,25 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
816
812
|
CKEDITOR.dialog._.currentTop = this;
|
817
813
|
}
|
818
814
|
|
815
|
+
element.on( 'keydown', accessKeyDownHandler );
|
816
|
+
element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
|
817
|
+
|
818
|
+
// Prevent some keys from bubbling up. (#4269)
|
819
|
+
for ( var event in { keyup :1, keydown :1, keypress :1 } )
|
820
|
+
element.on( event, preventKeyBubbling );
|
821
|
+
|
819
822
|
// Register the Esc hotkeys.
|
820
823
|
registerAccessKey( this, this, '\x1b', null, function()
|
821
824
|
{
|
822
|
-
|
825
|
+
var button = this.getButton( 'cancel' );
|
826
|
+
// If there's a Cancel button, click it, else just fire the cancel event and hide the dialog
|
827
|
+
if ( button )
|
828
|
+
button.click();
|
829
|
+
else
|
830
|
+
{
|
831
|
+
if ( this.fire( 'cancel', { hide : true } ).hide !== false )
|
832
|
+
this.hide();
|
833
|
+
}
|
823
834
|
} );
|
824
835
|
|
825
836
|
// Reset the hasFocus state.
|
@@ -2935,7 +2946,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
2935
2946
|
{
|
2936
2947
|
// Special treatment for Opera. (#8031)
|
2937
2948
|
CKEDITOR.env.opera ?
|
2938
|
-
CKEDITOR.tools.setTimeout( function() { editor.openDialog( this.dialogName ) }, 0, this )
|
2949
|
+
CKEDITOR.tools.setTimeout( function() { editor.openDialog( this.dialogName ); }, 0, this )
|
2939
2950
|
: editor.openDialog( this.dialogName );
|
2940
2951
|
},
|
2941
2952
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
@@ -224,7 +224,7 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
224
224
|
|
225
225
|
initPrivateObject.call( this, elementDefinition );
|
226
226
|
var domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textInput',
|
227
|
-
attributes = { 'class' : 'cke_dialog_ui_input_' + elementDefinition.type, id : domId, type :
|
227
|
+
attributes = { 'class' : 'cke_dialog_ui_input_' + elementDefinition.type, id : domId, type : elementDefinition.type },
|
228
228
|
i;
|
229
229
|
|
230
230
|
// Set the validator, if any.
|
@@ -855,7 +855,9 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
855
855
|
var innerHTML = function()
|
856
856
|
{
|
857
857
|
var html = [];
|
858
|
-
legendLabel && html.push( '<legend
|
858
|
+
legendLabel && html.push( '<legend' +
|
859
|
+
( elementDefinition.labelStyle ? ' style="' + elementDefinition.labelStyle + '"' : '' ) +
|
860
|
+
'>' + legendLabel + '</legend>' );
|
859
861
|
for ( var i = 0; i < childHtmlList.length; i++ )
|
860
862
|
html.push( childHtmlList[ i ] );
|
861
863
|
return html.join( '' );
|
@@ -969,7 +971,13 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
969
971
|
/** @ignore */
|
970
972
|
onClick : function( dialog, func )
|
971
973
|
{
|
972
|
-
this.on( 'click',
|
974
|
+
this.on( 'click', function()
|
975
|
+
{
|
976
|
+
// Some browsers (Chrome, IE8, IE7 compat mode) don't move
|
977
|
+
// focus to clicked button. Force this.
|
978
|
+
this.getElement().focus();
|
979
|
+
func.apply( this, arguments );
|
980
|
+
});
|
973
981
|
}
|
974
982
|
}, true ),
|
975
983
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
@@ -63,7 +63,7 @@ CKEDITOR.plugins.add( 'domiterator' );
|
|
63
63
|
var removePreviousBr, removeLastBr;
|
64
64
|
|
65
65
|
// This is the first iteration. Let's initialize it.
|
66
|
-
if ( !this._.
|
66
|
+
if ( !this._.started )
|
67
67
|
{
|
68
68
|
range = this.range.clone();
|
69
69
|
|
@@ -76,44 +76,49 @@ CKEDITOR.plugins.add( 'domiterator' );
|
|
76
76
|
range.enlarge( this.forceBrBreak && !touchPre || !this.enlargeBr ?
|
77
77
|
CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS : CKEDITOR.ENLARGE_BLOCK_CONTENTS );
|
78
78
|
|
79
|
-
|
80
|
-
ignoreBookmarkTextEvaluator = CKEDITOR.dom.walker.bookmark( true, true );
|
81
|
-
// Avoid anchor inside bookmark inner text.
|
82
|
-
walker.evaluator = ignoreBookmarkTextEvaluator;
|
83
|
-
this._.nextNode = walker.next();
|
84
|
-
// TODO: It's better to have walker.reset() used here.
|
85
|
-
walker = new CKEDITOR.dom.walker( range );
|
86
|
-
walker.evaluator = ignoreBookmarkTextEvaluator;
|
87
|
-
var lastNode = walker.previous();
|
88
|
-
this._.lastNode = lastNode.getNextSourceNode( true );
|
89
|
-
|
90
|
-
// We may have an empty text node at the end of block due to [3770].
|
91
|
-
// If that node is the lastNode, it would cause our logic to leak to the
|
92
|
-
// next block.(#3887)
|
93
|
-
if ( this._.lastNode &&
|
94
|
-
this._.lastNode.type == CKEDITOR.NODE_TEXT &&
|
95
|
-
!CKEDITOR.tools.trim( this._.lastNode.getText() ) &&
|
96
|
-
this._.lastNode.getParent().isBlockBoundary() )
|
79
|
+
if ( !range.collapsed )
|
97
80
|
{
|
98
|
-
var
|
99
|
-
|
100
|
-
|
81
|
+
var walker = new CKEDITOR.dom.walker( range.clone() ),
|
82
|
+
ignoreBookmarkTextEvaluator = CKEDITOR.dom.walker.bookmark( true, true );
|
83
|
+
// Avoid anchor inside bookmark inner text.
|
84
|
+
walker.evaluator = ignoreBookmarkTextEvaluator;
|
85
|
+
this._.nextNode = walker.next();
|
86
|
+
// TODO: It's better to have walker.reset() used here.
|
87
|
+
walker = new CKEDITOR.dom.walker( range.clone() );
|
88
|
+
walker.evaluator = ignoreBookmarkTextEvaluator;
|
89
|
+
var lastNode = walker.previous();
|
90
|
+
this._.lastNode = lastNode.getNextSourceNode( true );
|
91
|
+
|
92
|
+
// We may have an empty text node at the end of block due to [3770].
|
93
|
+
// If that node is the lastNode, it would cause our logic to leak to the
|
94
|
+
// next block.(#3887)
|
95
|
+
if ( this._.lastNode &&
|
96
|
+
this._.lastNode.type == CKEDITOR.NODE_TEXT &&
|
97
|
+
!CKEDITOR.tools.trim( this._.lastNode.getText() ) &&
|
98
|
+
this._.lastNode.getParent().isBlockBoundary() )
|
101
99
|
{
|
102
|
-
var
|
103
|
-
|
104
|
-
|
100
|
+
var testRange = new CKEDITOR.dom.range( range.document );
|
101
|
+
testRange.moveToPosition( this._.lastNode, CKEDITOR.POSITION_AFTER_END );
|
102
|
+
if ( testRange.checkEndOfBlock() )
|
103
|
+
{
|
104
|
+
var path = new CKEDITOR.dom.elementPath( testRange.endContainer );
|
105
|
+
var lastBlock = path.block || path.blockLimit;
|
106
|
+
this._.lastNode = lastBlock.getNextSourceNode( true );
|
107
|
+
}
|
105
108
|
}
|
106
|
-
}
|
107
109
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
110
|
+
// Probably the document end is reached, we need a marker node.
|
111
|
+
if ( !this._.lastNode )
|
112
|
+
{
|
113
|
+
this._.lastNode = this._.docEndMarker = range.document.createText( '' );
|
114
|
+
this._.lastNode.insertAfter( lastNode );
|
115
|
+
}
|
116
|
+
|
117
|
+
// Let's reuse this variable.
|
118
|
+
range = null;
|
113
119
|
}
|
114
120
|
|
115
|
-
|
116
|
-
range = null;
|
121
|
+
this._.started = 1;
|
117
122
|
}
|
118
123
|
|
119
124
|
var currentNode = this._.nextNode;
|
@@ -279,7 +284,7 @@ CKEDITOR.plugins.add( 'domiterator' );
|
|
279
284
|
range.insertNode( block );
|
280
285
|
|
281
286
|
removePreviousBr = removeLastBr = true;
|
282
|
-
|
287
|
+
}
|
283
288
|
else if ( block.getName() != 'li' )
|
284
289
|
{
|
285
290
|
// If the range doesn't includes the entire contents of the
|
@@ -346,7 +351,7 @@ CKEDITOR.plugins.add( 'domiterator' );
|
|
346
351
|
// next interation.
|
347
352
|
if ( !this._.nextNode )
|
348
353
|
{
|
349
|
-
this._.nextNode = ( isLast || block.equals( lastNode ) ) ? null :
|
354
|
+
this._.nextNode = ( isLast || block.equals( lastNode ) || !lastNode ) ? null :
|
350
355
|
getNextSourceNode( block, 1, lastNode );
|
351
356
|
}
|
352
357
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
|
@@ -62,10 +62,12 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
62
62
|
shy : '\u00AD', // IE
|
63
63
|
gt : '\u003E', // IE | FF | -- | Opera
|
64
64
|
lt : '\u003C', // IE | FF | Safari | Opera
|
65
|
-
amp
|
65
|
+
amp : '\u0026', // ALL
|
66
|
+
apos : '\u0027', // IE
|
67
|
+
quot : '\u0022' // IE
|
66
68
|
};
|
67
69
|
|
68
|
-
entities = entities.replace( /\b(nbsp|shy|gt|lt|amp)(?:,|$)/g, function( match, entity )
|
70
|
+
entities = entities.replace( /\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g, function( match, entity )
|
69
71
|
{
|
70
72
|
var org = reverse ? '&' + entity + ';' : specialTable[ entity ],
|
71
73
|
result = reverse ? specialTable[ entity ] : '&' + entity + ';';
|
@@ -114,25 +116,27 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
114
116
|
if ( htmlFilter )
|
115
117
|
{
|
116
118
|
// Mandatory HTML base entities.
|
117
|
-
var selectedEntities =
|
119
|
+
var selectedEntities = [];
|
118
120
|
|
119
121
|
if ( config.basicEntities !== false )
|
120
|
-
selectedEntities
|
122
|
+
selectedEntities.push( htmlbase );
|
121
123
|
|
122
124
|
if ( config.entities )
|
123
125
|
{
|
124
|
-
|
126
|
+
if ( selectedEntities.length )
|
127
|
+
selectedEntities.push( entities );
|
128
|
+
|
125
129
|
if ( config.entities_latin )
|
126
|
-
selectedEntities
|
130
|
+
selectedEntities.push( latin );
|
127
131
|
|
128
132
|
if ( config.entities_greek )
|
129
|
-
selectedEntities
|
133
|
+
selectedEntities.push( greek );
|
130
134
|
|
131
135
|
if ( config.entities_additional )
|
132
|
-
selectedEntities
|
136
|
+
selectedEntities.push( config.entities_additional );
|
133
137
|
}
|
134
138
|
|
135
|
-
var entitiesTable = buildTable( selectedEntities );
|
139
|
+
var entitiesTable = buildTable( selectedEntities.join( ',' ) );
|
136
140
|
|
137
141
|
// Create the Regex used to find entities in the text, leave it matches nothing if entities are empty.
|
138
142
|
var entitiesRegex = entitiesTable.regex ? '[' + entitiesTable.regex + ']' : 'a^';
|