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
@@ -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
|
|
@@ -425,6 +425,25 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
425
425
|
}
|
426
426
|
}
|
427
427
|
});
|
428
|
+
|
429
|
+
editor.on( 'key', function( evt )
|
430
|
+
{
|
431
|
+
// Backspace at the beginning of list item should outdent it.
|
432
|
+
if ( editor.mode == 'wysiwyg' && evt.data.keyCode == 8 )
|
433
|
+
{
|
434
|
+
var sel = editor.getSelection(),
|
435
|
+
range = sel.getRanges()[ 0 ],
|
436
|
+
li;
|
437
|
+
|
438
|
+
if ( range.collapsed &&
|
439
|
+
( li = range.startContainer.getAscendant( 'li', 1 ) ) &&
|
440
|
+
range.checkBoundaryOfElement( li, CKEDITOR.START ) )
|
441
|
+
{
|
442
|
+
editor.execCommand( 'outdent' );
|
443
|
+
evt.cancel();
|
444
|
+
}
|
445
|
+
}
|
446
|
+
});
|
428
447
|
},
|
429
448
|
|
430
449
|
requires : [ 'domiterator', 'list' ]
|
@@ -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
|
|
@@ -9,18 +9,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
9
9
|
|
10
10
|
(function()
|
11
11
|
{
|
12
|
-
function getState( editor, path )
|
13
|
-
{
|
14
|
-
var firstBlock = path.block || path.blockLimit;
|
15
|
-
|
16
|
-
if ( !firstBlock || firstBlock.getName() == 'body' )
|
17
|
-
return CKEDITOR.TRISTATE_OFF;
|
18
|
-
|
19
|
-
return ( getAlignment( firstBlock, editor.config.useComputedState ) == this.value ) ?
|
20
|
-
CKEDITOR.TRISTATE_ON :
|
21
|
-
CKEDITOR.TRISTATE_OFF;
|
22
|
-
}
|
23
|
-
|
24
12
|
function getAlignment( element, useComputedState )
|
25
13
|
{
|
26
14
|
useComputedState = useComputedState === undefined || useComputedState;
|
@@ -40,7 +28,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
40
28
|
align = element.getStyle( 'text-align' ) || element.getAttribute( 'align' ) || '';
|
41
29
|
}
|
42
30
|
|
43
|
-
|
31
|
+
// Sometimes computed values doesn't tell.
|
32
|
+
align && ( align = align.replace( /(?:-(?:moz|webkit)-)?(?:start|auto)/i, '' ) );
|
44
33
|
|
45
34
|
!align && useComputedState && ( align = element.getComputedStyle( 'direction' ) == 'rtl' ? 'right' : 'left' );
|
46
35
|
|
@@ -52,13 +41,12 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
52
41
|
if ( evt.editor.readOnly )
|
53
42
|
return;
|
54
43
|
|
55
|
-
|
56
|
-
command.state = getState.call( this, evt.editor, evt.data.path );
|
57
|
-
command.fire( 'state' );
|
44
|
+
evt.editor.getCommand( this.name ).refresh( evt.data.path );
|
58
45
|
}
|
59
46
|
|
60
47
|
function justifyCommand( editor, name, value )
|
61
48
|
{
|
49
|
+
this.editor = editor;
|
62
50
|
this.name = name;
|
63
51
|
this.value = value;
|
64
52
|
|
@@ -192,6 +180,16 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
192
180
|
editor.focus();
|
193
181
|
editor.forceNextSelectionCheck();
|
194
182
|
selection.selectBookmarks( bookmarks );
|
183
|
+
},
|
184
|
+
|
185
|
+
refresh : function( path )
|
186
|
+
{
|
187
|
+
var firstBlock = path.block || path.blockLimit;
|
188
|
+
|
189
|
+
this.setState( firstBlock.getName() != 'body' &&
|
190
|
+
getAlignment( firstBlock, this.editor.config.useComputedState ) == this.value ?
|
191
|
+
CKEDITOR.TRISTATE_ON :
|
192
|
+
CKEDITOR.TRISTATE_OFF );
|
195
193
|
}
|
196
194
|
};
|
197
195
|
|
@@ -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
|
|
@@ -245,7 +245,7 @@ CKEDITOR.dialog.add( 'link', function( editor )
|
|
245
245
|
|
246
246
|
// Find out whether we have any anchors in the editor.
|
247
247
|
var anchors = retval.anchors = [],
|
248
|
-
item;
|
248
|
+
i, count, item;
|
249
249
|
|
250
250
|
// For some browsers we set contenteditable="false" on anchors, making document.anchors not to include them, so we must traverse the links manually (#7893).
|
251
251
|
if ( CKEDITOR.plugins.link.emptyAnchorFix )
|
@@ -261,7 +261,7 @@ CKEDITOR.dialog.add( 'link', function( editor )
|
|
261
261
|
else
|
262
262
|
{
|
263
263
|
var anchorList = new CKEDITOR.dom.nodeList( editor.document.$.anchors );
|
264
|
-
for (
|
264
|
+
for ( i = 0, count = anchorList.count(); i < count; i++ )
|
265
265
|
{
|
266
266
|
item = anchorList.getItem( i );
|
267
267
|
anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) };
|
@@ -653,7 +653,7 @@ CKEDITOR.dialog.add( 'link', function( editor )
|
|
653
653
|
type : 'html',
|
654
654
|
id : 'noAnchors',
|
655
655
|
style : 'text-align: center;',
|
656
|
-
html : '<div role="
|
656
|
+
html : '<div role="note" tabIndex="-1">' + CKEDITOR.tools.htmlEncode( linkLang.noAnchors ) + '</div>',
|
657
657
|
// Focus the first element defined in above html.
|
658
658
|
focus : true,
|
659
659
|
setup : function( data )
|
@@ -1328,14 +1328,15 @@ CKEDITOR.dialog.add( 'link', function( editor )
|
|
1328
1328
|
}
|
1329
1329
|
|
1330
1330
|
|
1331
|
+
var selection = editor.getSelection();
|
1332
|
+
|
1331
1333
|
// Browser need the "href" fro copy/paste link to work. (#6641)
|
1332
1334
|
attributes.href = attributes[ 'data-cke-saved-href' ];
|
1333
1335
|
|
1334
1336
|
if ( !this._.selectedElement )
|
1335
1337
|
{
|
1336
1338
|
// Create element if current selection is collapsed.
|
1337
|
-
var
|
1338
|
-
ranges = selection.getRanges( true );
|
1339
|
+
var ranges = selection.getRanges( true );
|
1339
1340
|
if ( ranges.length == 1 && ranges[0].collapsed )
|
1340
1341
|
{
|
1341
1342
|
// Short mailto link text view (#5736).
|
@@ -1372,6 +1373,7 @@ CKEDITOR.dialog.add( 'link', function( editor )
|
|
1372
1373
|
data.email.address : attributes[ 'data-cke-saved-href' ] );
|
1373
1374
|
}
|
1374
1375
|
|
1376
|
+
selection.selectElement( element );
|
1375
1377
|
delete this._.selectedElement;
|
1376
1378
|
}
|
1377
1379
|
},
|
@@ -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
|
|
@@ -14,7 +14,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
14
14
|
|
15
15
|
var whitespaces = CKEDITOR.dom.walker.whitespaces(),
|
16
16
|
bookmarks = CKEDITOR.dom.walker.bookmark(),
|
17
|
-
nonEmpty = function( node ){ return !( whitespaces( node ) || bookmarks( node ) );
|
17
|
+
nonEmpty = function( node ){ return !( whitespaces( node ) || bookmarks( node ) );},
|
18
|
+
blockBogus = CKEDITOR.dom.walker.bogus();
|
18
19
|
|
19
20
|
function cleanUpDirection( element )
|
20
21
|
{
|
@@ -95,13 +96,15 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
95
96
|
baseIndex = 0;
|
96
97
|
if ( !listArray || listArray.length < baseIndex + 1 )
|
97
98
|
return null;
|
98
|
-
var
|
99
|
+
var i,
|
100
|
+
doc = listArray[ baseIndex ].parent.getDocument(),
|
99
101
|
retval = new CKEDITOR.dom.documentFragment( doc ),
|
100
102
|
rootNode = null,
|
101
103
|
currentIndex = baseIndex,
|
102
104
|
indentLevel = Math.max( listArray[ baseIndex ].indent, 0 ),
|
103
105
|
currentListItem = null,
|
104
106
|
orgDir,
|
107
|
+
block,
|
105
108
|
paragraphName = ( paragraphMode == CKEDITOR.ENTER_P ? 'p' : 'div' );
|
106
109
|
while ( 1 )
|
107
110
|
{
|
@@ -122,7 +125,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
122
125
|
if ( orgDir != rootNode.getDirection( 1 ) )
|
123
126
|
currentListItem.setAttribute( 'dir', orgDir );
|
124
127
|
|
125
|
-
for (
|
128
|
+
for ( i = 0 ; i < item.contents.length ; i++ )
|
126
129
|
currentListItem.append( item.contents[i].clone( 1, 1 ) );
|
127
130
|
currentIndex++;
|
128
131
|
}
|
@@ -146,31 +149,53 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
146
149
|
if ( listNodeNames[ item.grandparent.getName() ] )
|
147
150
|
currentListItem = item.element.clone( false, true );
|
148
151
|
else
|
152
|
+
currentListItem = new CKEDITOR.dom.documentFragment( doc );
|
153
|
+
|
154
|
+
// Migrate all children to the new container,
|
155
|
+
// apply the proper text direction.
|
156
|
+
var dirLoose = item.grandparent.getDirection( 1 ) != orgDir,
|
157
|
+
needsBlock = currentListItem.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT &&
|
158
|
+
paragraphMode != CKEDITOR.ENTER_BR,
|
159
|
+
li = item.element,
|
160
|
+
className = li.getAttribute( 'class' ),
|
161
|
+
style = li.getAttribute( 'style' );
|
162
|
+
|
163
|
+
var child, count = item.contents.length;
|
164
|
+
for ( i = 0 ; i < count; i++ )
|
149
165
|
{
|
150
|
-
|
151
|
-
|
166
|
+
child = item.contents[ i ];
|
167
|
+
|
168
|
+
if ( child.type == CKEDITOR.NODE_ELEMENT && child.isBlockBoundary() )
|
152
169
|
{
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
//
|
158
|
-
|
159
|
-
|
160
|
-
|
170
|
+
// Apply direction on content blocks.
|
171
|
+
if ( dirLoose && !child.getDirection() )
|
172
|
+
child.setAttribute( 'dir', orgDir );
|
173
|
+
|
174
|
+
// Merge into child styles.
|
175
|
+
style && child.setAttribute( 'style',
|
176
|
+
style.replace( /([^;])$/, '$1;') +
|
177
|
+
( child.getAttribute( 'style' ) || '' ) );
|
178
|
+
|
179
|
+
className && child.addClass( className );
|
161
180
|
}
|
162
|
-
else
|
163
|
-
|
164
|
-
|
181
|
+
else if ( dirLoose || needsBlock || style || className )
|
182
|
+
{
|
183
|
+
// Establish new block to hold text direction and styles.
|
184
|
+
if ( !block )
|
185
|
+
{
|
186
|
+
block = doc.createElement( paragraphName );
|
187
|
+
dirLoose && block.setAttribute( 'dir', orgDir );
|
188
|
+
}
|
165
189
|
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
currentListItem.setAttribute( 'dir', orgDir );
|
170
|
-
}
|
190
|
+
// Copy over styles to new block;
|
191
|
+
style && block.setAttribute( 'style', style );
|
192
|
+
className && block.setAttribute( 'class', className );
|
171
193
|
|
172
|
-
|
173
|
-
|
194
|
+
block.append( child.clone( 1, 1 ) );
|
195
|
+
}
|
196
|
+
|
197
|
+
currentListItem.append( block || child.clone( 1, 1 ) );
|
198
|
+
}
|
174
199
|
|
175
200
|
if ( currentListItem.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT
|
176
201
|
&& currentIndex != listArray.length - 1 )
|
@@ -190,20 +215,6 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
190
215
|
}
|
191
216
|
}
|
192
217
|
|
193
|
-
if ( currentListItem.type == CKEDITOR.NODE_ELEMENT &&
|
194
|
-
currentListItem.getName() == paragraphName &&
|
195
|
-
currentListItem.$.firstChild )
|
196
|
-
{
|
197
|
-
currentListItem.trim();
|
198
|
-
var firstChild = currentListItem.getFirst();
|
199
|
-
if ( firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.isBlockBoundary() )
|
200
|
-
{
|
201
|
-
var tmp = new CKEDITOR.dom.documentFragment( doc );
|
202
|
-
currentListItem.moveChildren( tmp );
|
203
|
-
currentListItem = tmp;
|
204
|
-
}
|
205
|
-
}
|
206
|
-
|
207
218
|
var currentListItemName = currentListItem.$.nodeName.toLowerCase();
|
208
219
|
if ( !CKEDITOR.env.ie && ( currentListItemName == 'div' || currentListItemName == 'p' ) )
|
209
220
|
currentListItem.appendBogus();
|
@@ -214,6 +225,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
214
225
|
else
|
215
226
|
return null;
|
216
227
|
|
228
|
+
block = null;
|
229
|
+
|
217
230
|
if ( listArray.length <= currentIndex || Math.max( listArray[ currentIndex ].indent, 0 ) < indentLevel )
|
218
231
|
break;
|
219
232
|
}
|
@@ -483,19 +496,21 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
483
496
|
this.type = type;
|
484
497
|
}
|
485
498
|
|
486
|
-
|
487
|
-
|
499
|
+
var elementType = CKEDITOR.dom.walker.nodeType( CKEDITOR.NODE_ELEMENT );
|
500
|
+
// Merge list items with direction preserved. (#7448)
|
501
|
+
function mergeListItems( from, into, refNode, toHead )
|
488
502
|
{
|
489
|
-
var
|
490
|
-
|
503
|
+
var child, itemDir;
|
504
|
+
while ( ( child = from.getFirst( elementType ) ) )
|
491
505
|
{
|
492
|
-
|
493
|
-
|
494
|
-
if ( child.type == CKEDITOR.NODE_ELEMENT && child.is( 'li' ) && !child.getDirection() )
|
495
|
-
child.setAttribute( 'dir', dir );
|
496
|
-
}
|
506
|
+
if ( ( itemDir = child.getDirection( 1 ) ) !== into.getDirection( 1 ) )
|
507
|
+
child.setAttribute( 'dir', itemDir );
|
497
508
|
|
498
|
-
|
509
|
+
child.remove();
|
510
|
+
|
511
|
+
refNode ?
|
512
|
+
child[ toHead ? 'insertBefore' : 'insertAfter' ]( refNode ) :
|
513
|
+
into.append( child, toHead );
|
499
514
|
}
|
500
515
|
}
|
501
516
|
|
@@ -640,26 +655,24 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
640
655
|
removeList.call( this, editor, groupObj, database );
|
641
656
|
}
|
642
657
|
|
643
|
-
// For all new lists created, merge adjacent, same type lists.
|
658
|
+
// For all new lists created, merge into adjacent, same type lists.
|
644
659
|
for ( i = 0 ; i < listsCreated.length ; i++ )
|
645
660
|
{
|
646
661
|
listNode = listsCreated[i];
|
647
662
|
var mergeSibling, listCommand = this;
|
648
|
-
( mergeSibling = function( rtl )
|
663
|
+
( mergeSibling = function( rtl )
|
664
|
+
{
|
649
665
|
|
650
666
|
var sibling = listNode[ rtl ?
|
651
667
|
'getPrevious' : 'getNext' ]( CKEDITOR.dom.walker.whitespaces( true ) );
|
652
668
|
if ( sibling && sibling.getName &&
|
653
669
|
sibling.getName() == listCommand.type )
|
654
670
|
{
|
655
|
-
|
656
|
-
// In case to be merged lists have difference directions. (#7448)
|
657
|
-
if ( sibling.getDirection( 1 ) != listNode.getDirection( 1 ) )
|
658
|
-
dirToListItems( listNode.getDirection() ? listNode : sibling );
|
659
|
-
|
660
|
-
sibling.remove();
|
661
671
|
// Move children order by merge direction.(#3820)
|
662
|
-
|
672
|
+
mergeListItems( listNode, sibling, null, !rtl );
|
673
|
+
|
674
|
+
listNode.remove();
|
675
|
+
listNode = sibling;
|
663
676
|
}
|
664
677
|
} )();
|
665
678
|
mergeSibling( 1 );
|
@@ -734,6 +747,96 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
734
747
|
for ( i in dtd.$listItem )
|
735
748
|
defaultListHtmlFilterRules.elements[ i ] = getExtendNestedListFilter( true );
|
736
749
|
|
750
|
+
// Check if node is block element that recieves text.
|
751
|
+
function isTextBlock( node )
|
752
|
+
{
|
753
|
+
return node.type == CKEDITOR.NODE_ELEMENT &&
|
754
|
+
( node.getName() in CKEDITOR.dtd.$block ||
|
755
|
+
node.getName() in CKEDITOR.dtd.$listItem ) &&
|
756
|
+
CKEDITOR.dtd[ node.getName() ][ '#' ];
|
757
|
+
}
|
758
|
+
|
759
|
+
// Merge the visual line content at the cursor range into the block.
|
760
|
+
function joinNextLineToCursor( editor, cursor, nextCursor )
|
761
|
+
{
|
762
|
+
editor.fire( 'saveSnapshot' );
|
763
|
+
|
764
|
+
// Merge with previous block's content.
|
765
|
+
nextCursor.enlarge( CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS );
|
766
|
+
var frag = nextCursor.extractContents();
|
767
|
+
|
768
|
+
cursor.trim( false, true );
|
769
|
+
|
770
|
+
// Kill original bogus;
|
771
|
+
var currentPath = new CKEDITOR.dom.elementPath( cursor.startContainer );
|
772
|
+
var currentLi = currentPath.lastElement.getAscendant( 'li', 1 );
|
773
|
+
|
774
|
+
var bogus = currentPath.block.getBogus();
|
775
|
+
bogus && bogus.remove();
|
776
|
+
|
777
|
+
// Kill the tail br in extracted.
|
778
|
+
var last = frag.getLast();
|
779
|
+
if ( last && last.type == CKEDITOR.NODE_ELEMENT && last.is( 'br' ) )
|
780
|
+
last.remove();
|
781
|
+
|
782
|
+
// Insert fragment at the range position.
|
783
|
+
var nextNode = cursor.startContainer.getChild( cursor.startOffset );
|
784
|
+
if ( nextNode )
|
785
|
+
frag.insertBefore( nextNode );
|
786
|
+
else
|
787
|
+
cursor.startContainer.append( frag );
|
788
|
+
|
789
|
+
var nextPath = new CKEDITOR.dom.elementPath( nextCursor.startContainer );
|
790
|
+
var nextLi = nextCursor.startContainer.getAscendant( 'li', 1 );
|
791
|
+
|
792
|
+
// Move the sub list nested in the next list item.
|
793
|
+
if ( nextLi )
|
794
|
+
{
|
795
|
+
var sublist = getSubList( nextLi );
|
796
|
+
if ( sublist )
|
797
|
+
{
|
798
|
+
// If next line is in the sub list of the current list item.
|
799
|
+
if ( currentLi.contains( nextLi ) )
|
800
|
+
{
|
801
|
+
mergeListItems( sublist, nextLi.getParent(), nextLi );
|
802
|
+
sublist.remove();
|
803
|
+
}
|
804
|
+
// Migrate the sub list to current list item.
|
805
|
+
else
|
806
|
+
currentLi.append( sublist );
|
807
|
+
}
|
808
|
+
}
|
809
|
+
|
810
|
+
|
811
|
+
if ( nextCursor.checkStartOfBlock() &&
|
812
|
+
nextCursor.checkEndOfBlock() )
|
813
|
+
{
|
814
|
+
var nextBlock = nextPath.block,
|
815
|
+
parentBlock = nextBlock.getParent();
|
816
|
+
|
817
|
+
nextBlock.remove();
|
818
|
+
|
819
|
+
// Remove if the path block container is now empty, e.g. li.
|
820
|
+
if ( parentBlock &&
|
821
|
+
!parentBlock.getFirst( nonEmpty ) &&
|
822
|
+
!parentBlock.equals( nextPath.blockLimit ) )
|
823
|
+
{
|
824
|
+
parentBlock.remove();
|
825
|
+
}
|
826
|
+
}
|
827
|
+
|
828
|
+
// Make fresh selection.
|
829
|
+
cursor.select();
|
830
|
+
|
831
|
+
editor.fire( 'saveSnapshot' );
|
832
|
+
}
|
833
|
+
|
834
|
+
function getSubList( li )
|
835
|
+
{
|
836
|
+
var last = li.getLast( nonEmpty );
|
837
|
+
return last && last.type == CKEDITOR.NODE_ELEMENT && last.getName() in listNodeNames ? last : null;
|
838
|
+
}
|
839
|
+
|
737
840
|
CKEDITOR.plugins.add( 'list',
|
738
841
|
{
|
739
842
|
init : function( editor )
|
@@ -757,6 +860,96 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
757
860
|
// Register the state changing handlers.
|
758
861
|
editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, numberedListCommand ) );
|
759
862
|
editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, bulletedListCommand ) );
|
863
|
+
|
864
|
+
// [IE8] Fix "backspace" after list and "del" at the end of list item. (#8248)
|
865
|
+
if ( CKEDITOR.env.ie8Compat )
|
866
|
+
{
|
867
|
+
editor.on( 'key', function( evt )
|
868
|
+
{
|
869
|
+
var key = evt.data.keyCode;
|
870
|
+
|
871
|
+
// DEl/BACKSPACE
|
872
|
+
if ( editor.mode == 'wysiwyg' && key in { 8 : 1, 46 : 1 } )
|
873
|
+
{
|
874
|
+
var sel = editor.getSelection(),
|
875
|
+
range = sel.getRanges()[ 0 ];
|
876
|
+
|
877
|
+
if ( !range.collapsed )
|
878
|
+
return;
|
879
|
+
|
880
|
+
var isBackspace = key == 8;
|
881
|
+
var body = editor.document.getBody();
|
882
|
+
var walker = new CKEDITOR.dom.walker( range.clone() );
|
883
|
+
walker.evaluator = function( node ) { return nonEmpty( node ) && !blockBogus( node ); };
|
884
|
+
|
885
|
+
var cursor = range.clone();
|
886
|
+
|
887
|
+
if ( isBackspace )
|
888
|
+
{
|
889
|
+
walker.range.setStartAt( body, CKEDITOR.POSITION_AFTER_START );
|
890
|
+
walker.range.setEnd( range.startContainer, range.startOffset );
|
891
|
+
|
892
|
+
var previous = walker.previous();
|
893
|
+
|
894
|
+
// Check if cursor collapsed right behind of a list.
|
895
|
+
if ( previous &&
|
896
|
+
previous.type == CKEDITOR.NODE_ELEMENT &&
|
897
|
+
previous.getName() in listNodeNames )
|
898
|
+
{
|
899
|
+
walker.range.selectNodeContents( previous );
|
900
|
+
walker.reset();
|
901
|
+
walker.evaluator = isTextBlock;
|
902
|
+
|
903
|
+
// Place cursor at the end of previous block.
|
904
|
+
cursor.moveToElementEditEnd( walker.lastForward() );
|
905
|
+
joinNextLineToCursor( editor, cursor, range );
|
906
|
+
evt.cancel();
|
907
|
+
}
|
908
|
+
}
|
909
|
+
else
|
910
|
+
{
|
911
|
+
var li = range.startContainer.getAscendant( 'li', 1 );
|
912
|
+
if ( li )
|
913
|
+
{
|
914
|
+
walker.range.setEndAt( body, CKEDITOR.POSITION_BEFORE_END );
|
915
|
+
|
916
|
+
var last = li.getLast( nonEmpty );
|
917
|
+
var block = last && isTextBlock( last ) ? last : li;
|
918
|
+
|
919
|
+
// Indicate cursor at the visual end of an list item.
|
920
|
+
var isAtEnd = 0;
|
921
|
+
|
922
|
+
var next = walker.next();
|
923
|
+
|
924
|
+
// When list item contains a sub list.
|
925
|
+
if ( next && next.type == CKEDITOR.NODE_ELEMENT &&
|
926
|
+
next.getName() in listNodeNames
|
927
|
+
&& next.equals( last ) )
|
928
|
+
{
|
929
|
+
isAtEnd = 1;
|
930
|
+
|
931
|
+
// Move to the first item in sub list.
|
932
|
+
next = walker.next();
|
933
|
+
}
|
934
|
+
// Right at the end of list item.
|
935
|
+
else if ( range.checkBoundaryOfElement( block, CKEDITOR.END ) )
|
936
|
+
isAtEnd = 1;
|
937
|
+
|
938
|
+
|
939
|
+
if ( isAtEnd && next )
|
940
|
+
{
|
941
|
+
// Put cursor range there.
|
942
|
+
var nextLine = range.clone();
|
943
|
+
nextLine.moveToElementEditStart( next );
|
944
|
+
|
945
|
+
joinNextLineToCursor( editor, cursor, nextLine );
|
946
|
+
evt.cancel();
|
947
|
+
}
|
948
|
+
}
|
949
|
+
}
|
950
|
+
}
|
951
|
+
} );
|
952
|
+
}
|
760
953
|
},
|
761
954
|
|
762
955
|
afterInit : function ( editor )
|