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,89 @@
|
|
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( 'a11yhelp', 'zh-cn',
|
7
|
+
{
|
8
|
+
accessibilityHelp :
|
9
|
+
{
|
10
|
+
title : '辅助说明',
|
11
|
+
contents : '帮助内容。要关闭此对话框请按 ESC 键。',
|
12
|
+
legend :
|
13
|
+
[
|
14
|
+
{
|
15
|
+
name : '常规',
|
16
|
+
items :
|
17
|
+
[
|
18
|
+
{
|
19
|
+
name : '编辑器工具栏',
|
20
|
+
legend:
|
21
|
+
'按 ${toolbarFocus} 以导航到工具栏,使用 TAB 键或 SHIFT+TAB 组合键以选择工具栏组,使用左右箭头键以选择按钮,按空格键或回车键以应用选中的按钮。'
|
22
|
+
},
|
23
|
+
|
24
|
+
{
|
25
|
+
name : '编辑器对话框',
|
26
|
+
legend :
|
27
|
+
'在对话框内,TAB键移动到下一个字段,SHIFT + TAB 移动到上一个字段,ENTER键提交对话框,ESC键取消对话框。对于有多标签的对话框,用ALT + F10来移到标签列表。然后用TAB键或者向右箭头来移动到下一个标签;SHIFT + TAB或者向左箭头移动到上一个标签。用SPACE或者ENTER选择标签。'
|
28
|
+
},
|
29
|
+
|
30
|
+
{
|
31
|
+
name : '编辑器上下文菜单',
|
32
|
+
legend :
|
33
|
+
'用 ${contextMenu}或者 应用程序键 打开上下文菜单。然后用TAB键或者向下箭头来移动到下一个菜单项;SHIFT + TAB或者向上箭头移动到上一个菜单项。用SPACE或者ENTER选择菜单项。用SPACE,ENTER或者向右箭头打开子菜单。返回菜单用ESC键或者向左箭头。用ESC关闭上下文菜单。'
|
34
|
+
},
|
35
|
+
|
36
|
+
{
|
37
|
+
name : '编辑器列表框',
|
38
|
+
legend :
|
39
|
+
'在列表框中,移到下一列表项用TAB键或者向下箭头。移到上一列表项用SHIFT + TAB或者向上箭头,用SPACE或者ENTER选择列表项。用ESC收起列表框。'
|
40
|
+
},
|
41
|
+
|
42
|
+
{
|
43
|
+
name : '编辑器元素路径栏',
|
44
|
+
legend :
|
45
|
+
'按 ${elementsPathFocus} 以导航到元素路径栏,使用 TAB 键或右箭头键选择下一个元素,使用 SHIFT+TAB 组合键或左箭头键选择上一个元素,按空格键或回车键以选定编辑器里的元素。'
|
46
|
+
}
|
47
|
+
]
|
48
|
+
},
|
49
|
+
{
|
50
|
+
name : '命令',
|
51
|
+
items :
|
52
|
+
[
|
53
|
+
{
|
54
|
+
name : ' 撤消命令',
|
55
|
+
legend : '按 ${undo}'
|
56
|
+
},
|
57
|
+
{
|
58
|
+
name : ' 重做命令',
|
59
|
+
legend : '按 ${redo}'
|
60
|
+
},
|
61
|
+
{
|
62
|
+
name : ' 加粗命令',
|
63
|
+
legend : '按 ${bold}'
|
64
|
+
},
|
65
|
+
{
|
66
|
+
name : ' 倾斜命令',
|
67
|
+
legend : '按 ${italic}'
|
68
|
+
},
|
69
|
+
{
|
70
|
+
name : ' 下划线命令',
|
71
|
+
legend : '按 ${underline}'
|
72
|
+
},
|
73
|
+
{
|
74
|
+
name : ' 链接命令',
|
75
|
+
legend : '按 ${link}'
|
76
|
+
},
|
77
|
+
{
|
78
|
+
name : ' 工具栏折叠命令',
|
79
|
+
legend : '按 ${toolbarCollapse}'
|
80
|
+
},
|
81
|
+
{
|
82
|
+
name : ' 无障碍设计说明',
|
83
|
+
legend : '按 ${a11yHelp}'
|
84
|
+
}
|
85
|
+
]
|
86
|
+
}
|
87
|
+
]
|
88
|
+
}
|
89
|
+
});
|
@@ -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
|
|
@@ -16,7 +16,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
16
16
|
CKEDITOR.plugins.add( pluginName,
|
17
17
|
{
|
18
18
|
// List of available localizations.
|
19
|
-
availableLangs : { en:1, he:1 },
|
19
|
+
availableLangs : { cs:1, cy:1, da:1, de:1, el:1, en:1, eo:1, fa:1, fi:1, fr:1, gu:1, he:1, it:1, mk:1, nb:1, nl:1, no:1, tr:1, ug:1, vi:1, 'zh-cn':1 },
|
20
20
|
|
21
21
|
init : function( editor )
|
22
22
|
{
|
@@ -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
|
|
@@ -67,7 +67,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
67
67
|
{
|
68
68
|
editor.addCommand( 'autogrow', { exec : resizeEditor, modes : { wysiwyg:1 }, readOnly: 1, canUndo: false, editorFocus: false } );
|
69
69
|
|
70
|
-
var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1 };
|
70
|
+
var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1, mode:1 };
|
71
71
|
editor.config.autoGrow_onStartup && ( eventsList[ 'instanceReady' ] = 1 );
|
72
72
|
for ( var eventName in eventsList )
|
73
73
|
{
|
@@ -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
|
|
@@ -45,7 +45,7 @@ CKEDITOR.dialog.add( 'paste', function( editor )
|
|
45
45
|
|
46
46
|
case 9 :
|
47
47
|
case CKEDITOR.SHIFT + 9 :
|
48
|
-
this.changeFocus(
|
48
|
+
this.changeFocus( 1 );
|
49
49
|
processed = 1;
|
50
50
|
}
|
51
51
|
|
@@ -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
|
|
@@ -16,10 +16,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
16
16
|
var doc = editor.document,
|
17
17
|
body = doc.getBody();
|
18
18
|
|
19
|
-
var enabled =
|
19
|
+
var enabled = false;
|
20
20
|
var onExec = function()
|
21
21
|
{
|
22
|
-
enabled =
|
22
|
+
enabled = true;
|
23
23
|
};
|
24
24
|
|
25
25
|
// The following seems to be the only reliable way to detect that
|
@@ -135,11 +135,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
135
135
|
|
136
136
|
var body = this.document.getBody();
|
137
137
|
|
138
|
-
// Simulate 'beforepaste' event for all none-IEs.
|
139
|
-
if ( !CKEDITOR.env.ie && body.fire( 'beforepaste' ) )
|
140
|
-
event.cancel();
|
141
138
|
// Simulate 'paste' event for Opera/Firefox2.
|
142
|
-
|
139
|
+
if ( CKEDITOR.env.opera
|
143
140
|
|| CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
|
144
141
|
body.fire( 'paste' );
|
145
142
|
return;
|
@@ -226,8 +223,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
226
223
|
// Wait a while and grab the pasted contents
|
227
224
|
window.setTimeout( function()
|
228
225
|
{
|
229
|
-
|
230
|
-
|
226
|
+
// Restore properly the document focus. (#5684, #8849)
|
227
|
+
editor.document.getBody().focus();
|
228
|
+
|
231
229
|
editor.removeListener( 'selectionChange', cancel );
|
232
230
|
|
233
231
|
// Grab the HTML contents.
|
@@ -240,7 +238,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
240
238
|
&& ( bogusSpan.is && bogusSpan.hasClass( 'Apple-style-span' ) ) ?
|
241
239
|
bogusSpan : pastebin );
|
242
240
|
|
241
|
+
// IE7: selection must go before removing paste. (#8691)
|
243
242
|
sel.selectBookmarks( bms );
|
243
|
+
pastebin.remove();
|
244
244
|
callback( pastebin[ 'get' + ( mode == 'text' ? 'Value' : 'Html' ) ]() );
|
245
245
|
}, 0 );
|
246
246
|
}
|
@@ -375,11 +375,18 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
375
375
|
editor.on( 'contentDom', function()
|
376
376
|
{
|
377
377
|
var body = editor.document.getBody();
|
378
|
-
|
378
|
+
|
379
|
+
// Intercept the paste before it actually takes place.
|
380
|
+
body.on( !CKEDITOR.env.ie ? 'paste' : 'beforepaste', function( evt )
|
379
381
|
{
|
380
382
|
if ( depressBeforeEvent )
|
381
383
|
return;
|
382
384
|
|
385
|
+
// Dismiss the (wrong) 'beforepaste' event fired on toolbar menu open.
|
386
|
+
var domEvent = evt.data && evt.data.$;
|
387
|
+
if ( CKEDITOR.env.ie && domEvent && !domEvent.ctrlKey )
|
388
|
+
return;
|
389
|
+
|
383
390
|
// Fire 'beforePaste' event so clipboard flavor get customized
|
384
391
|
// by other plugins.
|
385
392
|
var eventData = { mode : 'html' };
|
@@ -398,12 +405,31 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
398
405
|
} );
|
399
406
|
});
|
400
407
|
|
401
|
-
|
402
|
-
body.on( 'contextmenu', function()
|
408
|
+
if ( CKEDITOR.env.ie )
|
403
409
|
{
|
404
|
-
|
405
|
-
|
406
|
-
|
410
|
+
// Dismiss the (wrong) 'beforepaste' event fired on context menu open. (#7953)
|
411
|
+
body.on( 'contextmenu', function()
|
412
|
+
{
|
413
|
+
depressBeforeEvent = 1;
|
414
|
+
// Important: The following timeout will be called only after menu closed.
|
415
|
+
setTimeout( function() { depressBeforeEvent = 0; }, 0 );
|
416
|
+
} );
|
417
|
+
|
418
|
+
// Handle IE's late coming "paste" event when pasting from
|
419
|
+
// browser toolbar/context menu.
|
420
|
+
body.on( 'paste', function( evt )
|
421
|
+
{
|
422
|
+
if ( !editor.document.getById( 'cke_pastebin' ) )
|
423
|
+
{
|
424
|
+
// Prevent native paste.
|
425
|
+
evt.data.preventDefault();
|
426
|
+
|
427
|
+
depressBeforeEvent = 0;
|
428
|
+
// Resort to the paste command.
|
429
|
+
pasteCmd.exec( editor );
|
430
|
+
}
|
431
|
+
} );
|
432
|
+
}
|
407
433
|
|
408
434
|
body.on( 'beforecut', function() { !depressBeforeEvent && fixCut( editor ); } );
|
409
435
|
|
@@ -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
|
|
@@ -93,8 +93,7 @@ CKEDITOR.plugins.add( 'colorbutton',
|
|
93
93
|
function renderColors( panel, type, colorBoxId )
|
94
94
|
{
|
95
95
|
var output = [],
|
96
|
-
colors = config.colorButton_colors.split( ',' )
|
97
|
-
total = colors.length + ( config.colorButton_enableMore ? 2 : 1 );
|
96
|
+
colors = config.colorButton_colors.split( ',' );
|
98
97
|
|
99
98
|
var clickFn = CKEDITOR.tools.addFunction( function( color, type )
|
100
99
|
{
|
@@ -157,7 +156,7 @@ CKEDITOR.plugins.add( 'colorbutton',
|
|
157
156
|
' title="', lang.auto, '"' +
|
158
157
|
' onclick="CKEDITOR.tools.callFunction(', clickFn, ',null,\'', type, '\');return false;"' +
|
159
158
|
' href="javascript:void(\'', lang.auto, '\')"' +
|
160
|
-
' role="option"
|
159
|
+
' role="option">' +
|
161
160
|
'<table role="presentation" cellspacing=0 cellpadding=0 width="100%">' +
|
162
161
|
'<tr>' +
|
163
162
|
'<td>' +
|
@@ -194,7 +193,7 @@ CKEDITOR.plugins.add( 'colorbutton',
|
|
194
193
|
' title="', colorLabel, '"' +
|
195
194
|
' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'', colorName, '\',\'', type, '\'); return false;"' +
|
196
195
|
' href="javascript:void(\'', colorLabel, '\')"' +
|
197
|
-
' role="option"
|
196
|
+
' role="option">' +
|
198
197
|
'<span class="cke_colorbox" style="background-color:#', colorCode, '"></span>' +
|
199
198
|
'</a>' +
|
200
199
|
'</td>' );
|
@@ -211,7 +210,7 @@ CKEDITOR.plugins.add( 'colorbutton',
|
|
211
210
|
' title="', lang.more, '"' +
|
212
211
|
' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'?\',\'', type, '\');return false;"' +
|
213
212
|
' href="javascript:void(\'', lang.more, '\')"',
|
214
|
-
' role="option"
|
213
|
+
' role="option">',
|
215
214
|
lang.more,
|
216
215
|
'</a>' +
|
217
216
|
'</td>' ); // tr is later in the code.
|
@@ -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
|
|
@@ -8,7 +8,6 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
8
8
|
// Define some shorthands.
|
9
9
|
var $el = CKEDITOR.dom.element,
|
10
10
|
$doc = CKEDITOR.document,
|
11
|
-
$tools = CKEDITOR.tools,
|
12
11
|
lang = editor.lang.colordialog;
|
13
12
|
|
14
13
|
// Reference the dialog.
|
@@ -20,34 +19,66 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
20
19
|
html : ' '
|
21
20
|
};
|
22
21
|
|
22
|
+
var selected;
|
23
|
+
|
23
24
|
function clearSelected()
|
24
25
|
{
|
25
26
|
$doc.getById( selHiColorId ).removeStyle( 'background-color' );
|
26
27
|
dialog.getContentElement( 'picker', 'selectedColor' ).setValue( '' );
|
28
|
+
selected && selected.removeAttribute( 'aria-selected' );
|
29
|
+
selected = null;
|
27
30
|
}
|
28
31
|
|
29
32
|
function updateSelected( evt )
|
30
33
|
{
|
31
|
-
|
32
|
-
evt = new CKEDITOR.dom.event( evt );
|
33
|
-
|
34
|
-
var target = evt.getTarget(),
|
34
|
+
var target = evt.data.getTarget(),
|
35
35
|
color;
|
36
36
|
|
37
|
-
if ( target.getName() == '
|
37
|
+
if ( target.getName() == 'td' &&
|
38
|
+
( color = target.getChild( 0 ).getHtml() ) )
|
39
|
+
{
|
40
|
+
selected = target;
|
41
|
+
selected.setAttribute( 'aria-selected', true );
|
38
42
|
dialog.getContentElement( 'picker', 'selectedColor' ).setValue( color );
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
// Basing black-white decision off of luma scheme using the Rec. 709 version
|
47
|
+
function whiteOrBlack( color )
|
48
|
+
{
|
49
|
+
color = color.replace( /^#/, '' );
|
50
|
+
for ( var i = 0, rgb = []; i <= 2; i++ )
|
51
|
+
rgb[i] = parseInt( color.substr( i * 2, 2 ), 16 );
|
52
|
+
var luma = (0.2126 * rgb[0]) + (0.7152 * rgb[1]) + (0.0722 * rgb[2]);
|
53
|
+
return '#' + ( luma >= 165 ? '000' : 'fff' );
|
39
54
|
}
|
40
55
|
|
56
|
+
// Distinguish focused and hover states.
|
57
|
+
var focused, hovered;
|
58
|
+
|
59
|
+
// Apply highlight style.
|
41
60
|
function updateHighlight( event )
|
42
61
|
{
|
43
|
-
|
44
|
-
|
62
|
+
// Convert to event.
|
63
|
+
!event.name && ( event = new CKEDITOR.event( event ) );
|
45
64
|
|
46
|
-
var
|
47
|
-
|
65
|
+
var isFocus = !(/mouse/).test( event.name ),
|
66
|
+
target = event.data.getTarget(),
|
67
|
+
color;
|
48
68
|
|
49
|
-
if ( target.getName() == '
|
69
|
+
if ( target.getName() == 'td' && ( color = target.getChild( 0 ).getHtml() ) )
|
50
70
|
{
|
71
|
+
removeHighlight( event );
|
72
|
+
|
73
|
+
isFocus ? focused = target : hovered = target;
|
74
|
+
|
75
|
+
// Apply outline style to show focus.
|
76
|
+
if ( isFocus )
|
77
|
+
{
|
78
|
+
target.setStyle( 'border-color', whiteOrBlack( color ) );
|
79
|
+
target.setStyle( 'border-style', 'dotted' );
|
80
|
+
}
|
81
|
+
|
51
82
|
$doc.getById( hicolorId ).setStyle( 'background-color', color );
|
52
83
|
$doc.getById( hicolorTextId ).setHtml( color );
|
53
84
|
}
|
@@ -55,22 +86,41 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
55
86
|
|
56
87
|
function clearHighlight()
|
57
88
|
{
|
89
|
+
var color = focused.getChild( 0 ).getHtml();
|
90
|
+
focused.setStyle( 'border-color', color );
|
91
|
+
focused.setStyle( 'border-style', 'solid' );
|
58
92
|
$doc.getById( hicolorId ).removeStyle( 'background-color' );
|
59
93
|
$doc.getById( hicolorTextId ).setHtml( ' ' );
|
94
|
+
focused = null;
|
60
95
|
}
|
61
96
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
97
|
+
// Remove previously focused style.
|
98
|
+
function removeHighlight( event )
|
99
|
+
{
|
100
|
+
var isFocus = !(/mouse/).test( event.name ),
|
101
|
+
target = isFocus && focused;
|
102
|
+
|
103
|
+
if ( target )
|
104
|
+
{
|
105
|
+
var color = target.getChild( 0 ).getHtml();
|
106
|
+
target.setStyle( 'border-color', color );
|
107
|
+
target.setStyle( 'border-style', 'solid' );
|
108
|
+
}
|
109
|
+
|
110
|
+
if ( ! ( focused || hovered ) )
|
111
|
+
{
|
112
|
+
$doc.getById( hicolorId ).removeStyle( 'background-color' );
|
113
|
+
$doc.getById( hicolorTextId ).setHtml( ' ' );
|
114
|
+
}
|
115
|
+
}
|
67
116
|
|
68
|
-
|
117
|
+
function onKeyStrokes( evt )
|
69
118
|
{
|
70
|
-
|
71
|
-
|
119
|
+
var domEvt = evt.data;
|
120
|
+
|
121
|
+
var element = domEvt.getTarget();
|
72
122
|
var relative, nodeToMove;
|
73
|
-
var keystroke =
|
123
|
+
var keystroke = domEvt.getKeystroke(),
|
74
124
|
rtl = editor.lang.dir == 'rtl';
|
75
125
|
|
76
126
|
switch ( keystroke )
|
@@ -78,100 +128,93 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
78
128
|
// UP-ARROW
|
79
129
|
case 38 :
|
80
130
|
// relative is TR
|
81
|
-
if ( ( relative = element.getParent().
|
131
|
+
if ( ( relative = element.getParent().getPrevious() ) )
|
82
132
|
{
|
83
|
-
nodeToMove = relative.getChild( [element.
|
133
|
+
nodeToMove = relative.getChild( [ element.getIndex() ] );
|
84
134
|
nodeToMove.focus();
|
85
|
-
onBlur( ev, element );
|
86
|
-
onFocus( ev, nodeToMove );
|
87
135
|
}
|
88
|
-
|
136
|
+
domEvt.preventDefault();
|
89
137
|
break;
|
90
138
|
// DOWN-ARROW
|
91
139
|
case 40 :
|
92
140
|
// relative is TR
|
93
|
-
if ( ( relative = element.getParent().
|
141
|
+
if ( ( relative = element.getParent().getNext() ) )
|
94
142
|
{
|
95
|
-
nodeToMove = relative.getChild( [ element.
|
143
|
+
nodeToMove = relative.getChild( [ element.getIndex() ] );
|
96
144
|
if ( nodeToMove && nodeToMove.type == 1 )
|
97
145
|
{
|
98
146
|
nodeToMove.focus();
|
99
|
-
onBlur( ev, element );
|
100
|
-
onFocus( ev, nodeToMove );
|
101
147
|
}
|
102
148
|
}
|
103
|
-
|
149
|
+
domEvt.preventDefault();
|
104
150
|
break;
|
151
|
+
|
105
152
|
// SPACE
|
106
|
-
// ENTER
|
153
|
+
// ENTER
|
107
154
|
case 32 :
|
108
|
-
|
109
|
-
|
155
|
+
case 13 :
|
156
|
+
updateSelected( evt );
|
157
|
+
domEvt.preventDefault();
|
110
158
|
break;
|
111
159
|
|
112
160
|
// RIGHT-ARROW
|
113
161
|
case rtl ? 37 : 39 :
|
114
162
|
// relative is TD
|
115
|
-
if ( (
|
163
|
+
if ( ( nodeToMove = element.getNext() ) )
|
116
164
|
{
|
117
|
-
nodeToMove = relative.getChild( 0 );
|
118
165
|
if ( nodeToMove.type == 1 )
|
119
166
|
{
|
120
167
|
nodeToMove.focus();
|
121
|
-
|
122
|
-
onFocus( ev, nodeToMove );
|
123
|
-
ev.preventDefault( true );
|
168
|
+
domEvt.preventDefault( true );
|
124
169
|
}
|
125
|
-
else
|
126
|
-
onBlur( null, element );
|
127
170
|
}
|
128
171
|
// relative is TR
|
129
|
-
else if ( ( relative = element.getParent().
|
172
|
+
else if ( ( relative = element.getParent().getNext() ) )
|
130
173
|
{
|
131
|
-
nodeToMove = relative.getChild( [ 0
|
174
|
+
nodeToMove = relative.getChild( [ 0 ] );
|
132
175
|
if ( nodeToMove && nodeToMove.type == 1 )
|
133
176
|
{
|
134
177
|
nodeToMove.focus();
|
135
|
-
|
136
|
-
onFocus( ev, nodeToMove );
|
137
|
-
ev.preventDefault( true );
|
178
|
+
domEvt.preventDefault( true );
|
138
179
|
}
|
139
|
-
else
|
140
|
-
onBlur( null, element );
|
141
180
|
}
|
142
181
|
break;
|
143
182
|
|
144
183
|
// LEFT-ARROW
|
145
184
|
case rtl ? 39 : 37 :
|
146
185
|
// relative is TD
|
147
|
-
if ( (
|
186
|
+
if ( ( nodeToMove = element.getPrevious() ) )
|
148
187
|
{
|
149
|
-
nodeToMove = relative.getChild( 0 );
|
150
188
|
nodeToMove.focus();
|
151
|
-
|
152
|
-
onFocus( ev, nodeToMove );
|
153
|
-
ev.preventDefault( true );
|
189
|
+
domEvt.preventDefault( true );
|
154
190
|
}
|
155
191
|
// relative is TR
|
156
|
-
else if ( ( relative = element.getParent().
|
192
|
+
else if ( ( relative = element.getParent().getPrevious() ) )
|
157
193
|
{
|
158
|
-
nodeToMove = relative.getLast()
|
194
|
+
nodeToMove = relative.getLast();
|
159
195
|
nodeToMove.focus();
|
160
|
-
|
161
|
-
onFocus( ev, nodeToMove );
|
162
|
-
ev.preventDefault( true );
|
196
|
+
domEvt.preventDefault( true );
|
163
197
|
}
|
164
|
-
else
|
165
|
-
onBlur( null, element );
|
166
198
|
break;
|
167
199
|
default :
|
168
200
|
// Do not stop not handled events.
|
169
201
|
return;
|
170
202
|
}
|
171
|
-
}
|
203
|
+
}
|
172
204
|
|
173
205
|
function createColorTable()
|
174
206
|
{
|
207
|
+
table = CKEDITOR.dom.element.createFromHtml
|
208
|
+
(
|
209
|
+
'<table tabIndex="-1" aria-label="' + lang.options + '"' +
|
210
|
+
' role="grid" style="border-collapse:separate;" cellspacing="0">' +
|
211
|
+
'<caption class="cke_voice_label">' + lang.options + '</caption>' +
|
212
|
+
'<tbody role="presentation"></tbody></table>'
|
213
|
+
);
|
214
|
+
|
215
|
+
table.on( 'mouseover', updateHighlight );
|
216
|
+
table.on( 'mouseout', removeHighlight );
|
217
|
+
|
175
218
|
// Create the base colors array.
|
176
219
|
var aColors = [ '00', '33', '66', '99', 'cc', 'ff' ];
|
177
220
|
|
@@ -180,13 +223,14 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
180
223
|
{
|
181
224
|
for ( var i = rangeA ; i < rangeA + 3 ; i++ )
|
182
225
|
{
|
183
|
-
var row = table.$.insertRow( -1 );
|
226
|
+
var row = new $el( table.$.insertRow( -1 ) );
|
227
|
+
row.setAttribute( 'role', 'row' );
|
184
228
|
|
185
229
|
for ( var j = rangeB ; j < rangeB + 3 ; j++ )
|
186
230
|
{
|
187
231
|
for ( var n = 0 ; n < 6 ; n++ )
|
188
232
|
{
|
189
|
-
appendColorCell( row
|
233
|
+
appendColorCell( row.$, '#' + aColors[j] + aColors[n] + aColors[i] );
|
190
234
|
}
|
191
235
|
}
|
192
236
|
}
|
@@ -197,20 +241,23 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
197
241
|
{
|
198
242
|
var cell = new $el( targetRow.insertCell( -1 ) );
|
199
243
|
cell.setAttribute( 'class', 'ColorCell' );
|
244
|
+
cell.setAttribute( 'tabIndex', -1 );
|
245
|
+
cell.setAttribute( 'role', 'gridcell' );
|
246
|
+
|
247
|
+
cell.on( 'keydown', onKeyStrokes );
|
248
|
+
cell.on( 'click', updateSelected );
|
249
|
+
cell.on( 'focus', updateHighlight );
|
250
|
+
cell.on( 'blur', removeHighlight );
|
251
|
+
|
200
252
|
cell.setStyle( 'background-color', color );
|
253
|
+
cell.setStyle( 'border', '1px solid ' + color );
|
201
254
|
|
202
|
-
cell.setStyle( 'width', '
|
203
|
-
cell.setStyle( 'height', '
|
204
|
-
|
205
|
-
var
|
206
|
-
cell.
|
207
|
-
|
208
|
-
' aria-posinset="' + index + '"' +
|
209
|
-
' aria-setsize="' + 13 * 18 + '"' +
|
210
|
-
' style="cursor: pointer;display:block;width:100%;height:100% " title="'+ CKEDITOR.tools.htmlEncode( color )+ '"' +
|
211
|
-
' onkeydown="CKEDITOR.tools.callFunction( ' + onKeydownHandler + ', event, this )"' +
|
212
|
-
' onclick="CKEDITOR.tools.callFunction(' + onClickHandler + ', event, this ); return false;"' +
|
213
|
-
' tabindex="-1"><span class="cke_voice_label">' + color + '</span> </a>', CKEDITOR.document ) );
|
255
|
+
cell.setStyle( 'width', '14px' );
|
256
|
+
cell.setStyle( 'height', '14px' );
|
257
|
+
|
258
|
+
var colorLabel = numbering( 'color_table_cell' );
|
259
|
+
cell.setAttribute( 'aria-labelledby',colorLabel );
|
260
|
+
cell.append( CKEDITOR.dom.element.createFromHtml( '<span id="' + colorLabel + '" class="cke_voice_label">' + color + '</span>', CKEDITOR.document ) );
|
214
261
|
}
|
215
262
|
|
216
263
|
appendColorRow( 0, 0 );
|
@@ -219,25 +266,22 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
219
266
|
appendColorRow( 3, 3 );
|
220
267
|
|
221
268
|
// Create the last row.
|
222
|
-
var oRow = table.$.insertRow(-1) ;
|
269
|
+
var oRow = new $el( table.$.insertRow( -1 ) ) ;
|
270
|
+
oRow.setAttribute( 'role', 'row' );
|
223
271
|
|
224
272
|
// Create the gray scale colors cells.
|
225
273
|
for ( var n = 0 ; n < 6 ; n++ )
|
226
274
|
{
|
227
|
-
appendColorCell( oRow
|
275
|
+
appendColorCell( oRow.$, '#' + aColors[n] + aColors[n] + aColors[n] ) ;
|
228
276
|
}
|
229
277
|
|
230
278
|
// Fill the row with black cells.
|
231
279
|
for ( var i = 0 ; i < 12 ; i++ )
|
232
280
|
{
|
233
|
-
appendColorCell( oRow
|
281
|
+
appendColorCell( oRow.$, '#000000' ) ;
|
234
282
|
}
|
235
283
|
}
|
236
284
|
|
237
|
-
var table = new $el( 'table' );
|
238
|
-
createColorTable();
|
239
|
-
var html = table.getHtml();
|
240
|
-
|
241
285
|
var numbering = function( id )
|
242
286
|
{
|
243
287
|
return CKEDITOR.tools.getNextId() + '_' + id;
|
@@ -245,7 +289,9 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
245
289
|
hicolorId = numbering( 'hicolor' ),
|
246
290
|
hicolorTextId = numbering( 'hicolortext' ),
|
247
291
|
selHiColorId = numbering( 'selhicolor' ),
|
248
|
-
|
292
|
+
table;
|
293
|
+
|
294
|
+
createColorTable();
|
249
295
|
|
250
296
|
return {
|
251
297
|
title : lang.title,
|
@@ -256,6 +302,11 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
256
302
|
// Update reference.
|
257
303
|
dialog = this;
|
258
304
|
},
|
305
|
+
onHide : function()
|
306
|
+
{
|
307
|
+
clearSelected();
|
308
|
+
clearHighlight();
|
309
|
+
},
|
259
310
|
contents : [
|
260
311
|
{
|
261
312
|
id : 'picker',
|
@@ -271,20 +322,16 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
271
322
|
[
|
272
323
|
{
|
273
324
|
type : 'html',
|
274
|
-
html : '<
|
275
|
-
( !CKEDITOR.env.webkit ? html : '' ) +
|
276
|
-
'</table><span id="' + tableLabelId + '" class="cke_voice_label">' + lang.options +'</span>',
|
325
|
+
html : '<div></div>',
|
277
326
|
onLoad : function()
|
278
327
|
{
|
279
|
-
|
280
|
-
table.on( 'mouseover', updateHighlight );
|
281
|
-
// In WebKit, the table content must be inserted after this event call (#6150)
|
282
|
-
CKEDITOR.env.webkit && table.setHtml( html );
|
328
|
+
CKEDITOR.document.getById( this.domId ).append( table );
|
283
329
|
},
|
284
|
-
focus: function()
|
330
|
+
focus : function()
|
285
331
|
{
|
286
|
-
|
287
|
-
|
332
|
+
// Restore the previously focused cell,
|
333
|
+
// otherwise put the initial focus on the first table cell.
|
334
|
+
( focused || this.getElement().getElementsByTag( 'td' ).getItem( 0 ) ).focus();
|
288
335
|
}
|
289
336
|
},
|
290
337
|
spacer,
|