ckeditor 3.3.2 → 3.4.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +15 -0
- data/README.rdoc +26 -13
- data/Rakefile +6 -7
- data/app/controllers/ckeditor_controller.rb +12 -12
- data/app/helpers/ckeditor_helper.rb +2 -19
- data/config/routes.rb +4 -4
- data/lib/ckeditor.rb +4 -18
- data/lib/ckeditor/engine.rb +21 -0
- data/lib/ckeditor/utils.rb +2 -6
- data/lib/ckeditor/version.rb +3 -3
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/USAGE +1 -1
- data/lib/generators/ckeditor/base/base_generator.rb +20 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor.rb +0 -2
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/CHANGES.html +31 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/INSTALL.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/LICENSE.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/ajax.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/api.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/api_dialog.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/api_dialog/my_dialog.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/advanced.asp +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/events.asp +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/index.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/replace.asp +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/replaceall.asp +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/sample_posteddata.asp +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/asp/standalone.asp +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/assets/output_xhtml.css +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/autogrow.html +75 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/divreplace.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/enterkey.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/fullpage.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/index.html +1 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/jqueryadapter.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/output_html.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/output_xhtml.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/advanced.php +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/events.php +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/replace.php +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/replaceall.php +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/php/standalone.php +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/replacebyclass.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/replacebycode.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/sample.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/sample.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/sample_posteddata.php +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/sharedspaces.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/skins.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/ui_color.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/ui_languages.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/adapters/jquery.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/_bootstrap.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ajax.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ckeditor.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ckeditor_base.js +4 -4
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ckeditor_basic.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/command.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/commanddefinition.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/config.js +17 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dataprocessor.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/comment.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/document.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/documentfragment.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/domobject.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/element.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/elementpath.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/event.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/node.js +21 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/nodelist.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/range.js +28 -13
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/rangelist.js +163 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/text.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/walker.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/window.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dtd.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/editor.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/editor_basic.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/env.js +4 -2
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/event.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/eventInfo.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/focusmanager.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/basicwriter.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/cdata.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/comment.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/element.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/filter.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/fragment.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/text.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/imagecacher.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/lang.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/loader.js +3 -2
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/plugindefinition.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/plugins.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/resourcemanager.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/scriptloader.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/skins.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/themes.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/tools.js +14 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/ui.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/xml.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/_languages.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/_translationstatus.txt +60 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/af.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ar.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/bg.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/bn.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/bs.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ca.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/cs.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/cy.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/da.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/de.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/el.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/en-au.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/en-ca.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/en-gb.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/en.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/eo.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/es.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/et.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/eu.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fa.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fi.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fo.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fr-ca.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/fr.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/gl.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/gu.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/he.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/hi.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/hr.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/hu.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/is.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/it.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ja.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/km.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ko.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/lt.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/lv.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/mn.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ms.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/nb.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/nl.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/no.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/pl.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/pt-br.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/pt.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ro.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/ru.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sk.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sl.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sr-latn.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sr.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/sv.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/th.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/tr.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/uk.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/vi.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/zh-cn.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/lang/zh.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/about/dialogs/about.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/about/plugin.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/ajax_save/plugin.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/dialogs/attachment.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/images/attachment.png +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/lang/en.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/lang/ru.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/lang/uk.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/attachment/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/autogrow/plugin.js +79 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/basicstyles/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/bidi/plugin.js +244 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/blockquote/plugin.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/button/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/clipboard/plugin.js +5 -6
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/colorbutton/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +5 -4
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/colordialog/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/contextmenu/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/dialog/plugin.js +15 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialogadvtab/plugin.js +207 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/dialogui/plugin.js +20 -18
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/div/dialogs/div.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/div/plugin.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/domiterator/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/editingblock/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/elementspath/plugin.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/dialogs/embed.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/images/embed.png +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/lang/en.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/lang/ru.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/lang/uk.js +0 -0
- data/{generators/ckeditor_install/templates/ckeditor → lib/generators/ckeditor/base/templates/ckeditor/_source}/plugins/embed/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/enterkey/plugin.js +11 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/entities/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/filebrowser/plugin.js +6 -4
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/find/dialogs/find.js +24 -6
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/find/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +2 -2
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/flash/plugin.js +2 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/floatpanel/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/font/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/format/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/button.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/form.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/select.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/plugin.js +2 -2
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/iframedialog/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/image/dialogs/image.js +4 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/image/plugin.js +1 -1
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/indent/plugin.js +436 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/justify/plugin.js +35 -24
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/keystrokes/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/dialogs/link.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/plugin.js +9 -7
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/list/plugin.js +46 -14
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/listblock/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/liststyle/plugin.js +3 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/maximize/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/menu/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/menubutton/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/newpage/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pagebreak/plugin.js +3 -3
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/panel/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/panelbutton/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pastefromword/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/pastetext/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/popup/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/preview/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/print/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/removeformat/plugin.js +4 -2
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/resize/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/richcombo/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/save/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/scayt/plugin.js +3 -2
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/selection/plugin.js +139 -55
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showblocks/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/showborders/plugin.js +26 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/smiley/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/sourcearea/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +9 -6
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/specialchar/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/styles/plugin.js +27 -21
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/styles/styles/default.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/stylescombo/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/tab/plugin.js +107 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/table/dialogs/table.js +84 -7
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/table/plugin.js +1 -1
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/tableresize/plugin.js +450 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/tabletools/plugin.js +53 -49
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/templates/default.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/toolbar/plugin.js +1 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/lang/en.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/undo/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wsc/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +73 -9
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/dialog.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/editor.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/elementspath.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/icons.css +12 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/icons.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/mainui.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/menu.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/panel.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/presets.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/reset.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/richcombo.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/skin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/templates.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/toolbar.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/dialog.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/editor.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/elementspath.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/icons.css +10 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/mainui.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/menu.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/panel.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/presets.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/reset.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/richcombo.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/skin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/templates.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/toolbar.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/dialog.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/editor.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/elementspath.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/icons.css +10 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/icons.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/mainui.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/menu.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/panel.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/presets.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/reset.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/richcombo.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/skin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/templates.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/toolbar.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/themes/default/theme.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/adapters/jquery.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor.js +134 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/ckeditor.pack +3 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor_basic.js +8 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor_basic_source.js +20 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/ckeditor_source.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/config.js +3 -2
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/contents.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/css/ckfinder.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/css/fck_dialog.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/css/fck_editor.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/css/swfupload.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/add.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/cancelbutton.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/ckfnothumb.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/doc.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/mp3.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/pdf.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/rar.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/refresh.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/select_files.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/spacer.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/swf.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/toolbar.start.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/images/xls.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/lang/_languages.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/_translationstatus.txt +60 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/af.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ar.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/bg.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/bn.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/bs.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ca.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/cs.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/cy.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/da.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/de.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/el.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-au.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-ca.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-gb.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/en.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/eo.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/es.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/et.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/eu.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fa.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fi.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fo.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fr-ca.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fr.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/gl.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/gu.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/he.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/hi.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/hr.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/hu.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/is.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/it.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ja.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/km.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ko.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/lt.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/lv.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/mn.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ms.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/nb.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/nl.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/no.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/pl.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/pt-br.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/pt.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ro.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ru.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sk.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sl.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sr-latn.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sr.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sv.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/th.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/tr.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/uk.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/vi.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/zh-cn.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/zh.js +6 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/a11yhelp/lang/en.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/a11yhelp/lang/he.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/about/dialogs/about.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/ajax_save/plugin.js +1 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/dialogs/attachment.js +1 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/en.js +10 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/ru.js +10 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/uk.js +10 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/plugin.js +1 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/clipboard/dialogs/paste.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/dialog/dialogDefinition.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/div/dialogs/div.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/dialogs/embed.js +1 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/images/embed.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/en.js +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/ru.js +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/uk.js +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/plugin.js +1 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/flash/dialogs/flash.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/button.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/checkbox.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/form.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/radio.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/select.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/textarea.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/dialogs/textfield.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/iframedialog/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/image/dialogs/image.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/link/dialogs/anchor.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/link/dialogs/link.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/pastefromword/filter/default.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/scayt/dialogs/options.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/dialogs/smiley.js +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/styles/styles/default.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/dialogs/templates.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/templates/default.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/lang/en.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/uicolor/yui/yui.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/wsc/dialogs/wsc.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/wsc/dialogs/wsc.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/dialog.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/editor.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/icons.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/mini.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/noimage.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/sprites.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/skin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/templates.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/dialog.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/editor.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/icons.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/skin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/templates.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/dialog.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/editor.css +1 -1
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/icons.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/mini.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/noimage.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/sprites.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/skin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/v2/templates.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/fileprogress.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/handlers.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/mootools-1.2.3-core-yc.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/querystring.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/swfupload.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/swfupload.queue.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/swfupload.swf +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/swfupload/swfupload.swfobject.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/themes/default/theme.js +0 -0
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/USAGE +1 -1
- data/lib/generators/ckeditor/migration/migration_generator.rb +46 -0
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/attachment_fu/asset.rb +0 -0
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/attachment_fu/attachment_file.rb +0 -0
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/attachment_fu/migration.rb +0 -0
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/attachment_fu/picture.rb +0 -0
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/paperclip/asset.rb +0 -2
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/paperclip/attachment_file.rb +0 -0
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/paperclip/migration.rb +0 -0
- data/{generators/ckeditor_migration → lib/generators/ckeditor/migration}/templates/models/paperclip/picture.rb +0 -0
- data/lib/tasks/ckeditor_tasks.rake +3 -0
- metadata +664 -654
- data/examples/s3/s3.yml +0 -2
- data/generators/ckeditor_install/ckeditor_install_generator.rb +0 -28
- data/generators/ckeditor_install/templates/README +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/_translationstatus.txt +0 -60
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/indent/plugin.js +0 -422
- data/generators/ckeditor_install/templates/ckeditor/ckeditor.js +0 -130
- data/generators/ckeditor_install/templates/ckeditor/ckeditor_basic.js +0 -8
- data/generators/ckeditor_install/templates/ckeditor/ckeditor_basic_source.js +0 -20
- data/generators/ckeditor_install/templates/ckeditor/lang/_translationstatus.txt +0 -60
- data/generators/ckeditor_install/templates/ckeditor/lang/af.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/ar.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/bg.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/bn.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/bs.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/ca.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/cs.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/cy.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/da.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/de.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/el.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/en-au.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/en-ca.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/en-gb.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/en.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/eo.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/es.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/et.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/eu.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/fa.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/fi.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/fo.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/fr-ca.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/fr.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/gl.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/gu.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/he.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/hi.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/hr.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/hu.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/is.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/it.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/ja.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/km.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/ko.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/lt.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/lv.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/mn.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/ms.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/nb.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/nl.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/no.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/pl.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/pt-br.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/pt.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/ro.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/ru.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/sk.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/sl.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/sr-latn.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/sr.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/sv.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/th.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/tr.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/uk.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/vi.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/zh-cn.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/lang/zh.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
- data/generators/ckeditor_install/templates/ckeditor/plugins/find/dialogs/find.js +0 -9
- data/generators/ckeditor_install/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/generators/ckeditor_install/templates/ckeditor/plugins/table/dialogs/table.js +0 -9
- data/generators/ckeditor_migration/ckeditor_migration_generator.rb +0 -36
- data/lib/ckeditor/safe_buffer.rb +0 -34
@@ -47,7 +47,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
47
47
|
{
|
48
48
|
var state = editor.getCommand( 'blockquote' ).state,
|
49
49
|
selection = editor.getSelection(),
|
50
|
-
range = selection && selection.getRanges()[0];
|
50
|
+
range = selection && selection.getRanges( true )[0];
|
51
51
|
|
52
52
|
if ( !range )
|
53
53
|
return;
|
File without changes
|
File without changes
|
@@ -386,14 +386,13 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
386
386
|
return retval;
|
387
387
|
}
|
388
388
|
|
389
|
-
editor.contextMenu.addListener( function()
|
389
|
+
editor.contextMenu.addListener( function( element, selection )
|
390
390
|
{
|
391
|
+
var readOnly = selection.getCommonAncestor().isReadOnly();
|
391
392
|
return {
|
392
|
-
cut : stateFromNamedCommand( 'Cut' ),
|
393
|
-
|
394
|
-
|
395
|
-
copy : stateFromNamedCommand( 'Cut' ),
|
396
|
-
paste : CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste' )
|
393
|
+
cut : !readOnly && stateFromNamedCommand( 'Cut' ),
|
394
|
+
copy : stateFromNamedCommand( 'Copy' ),
|
395
|
+
paste : !readOnly && ( CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste' ) )
|
397
396
|
};
|
398
397
|
});
|
399
398
|
}
|
File without changes
|
@@ -243,11 +243,12 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
243
243
|
|
244
244
|
var numbering = function( id )
|
245
245
|
{
|
246
|
-
return
|
246
|
+
return CKEDITOR.tools.getNextId() + '_' + id;
|
247
247
|
},
|
248
248
|
hicolorId = numbering( 'hicolor' ),
|
249
249
|
hicolorTextId = numbering( 'hicolortext' ),
|
250
|
-
selHiColorId = numbering( 'selhicolor' )
|
250
|
+
selHiColorId = numbering( 'selhicolor' ),
|
251
|
+
tableLabelId = numbering( 'color_table_label' );
|
251
252
|
|
252
253
|
return {
|
253
254
|
title : lang.title,
|
@@ -273,8 +274,8 @@ CKEDITOR.dialog.add( 'colordialog', function( editor )
|
|
273
274
|
[
|
274
275
|
{
|
275
276
|
type : 'html',
|
276
|
-
html : '<table role="listbox" aria-labelledby="
|
277
|
-
'<span id="
|
277
|
+
html : '<table role="listbox" aria-labelledby="' + tableLabelId + '" onmouseout="CKEDITOR.tools.callFunction( ' + onMouseout + ' );">' + table.getHtml() + '</table>' +
|
278
|
+
'<span id="' + tableLabelId + '" class="cke_voice_label">' + lang.options +'</span>',
|
278
279
|
onLoad : function()
|
279
280
|
{
|
280
281
|
var table = CKEDITOR.document.getById( this.domId );
|
File without changes
|
File without changes
|
File without changes
|
@@ -472,7 +472,10 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
472
472
|
|
473
473
|
// Insert the tabs and contents.
|
474
474
|
for ( var i = 0 ; i < definition.contents.length ; i++ )
|
475
|
-
|
475
|
+
{
|
476
|
+
var page = definition.contents[i];
|
477
|
+
page && this.addPage( page );
|
478
|
+
}
|
476
479
|
|
477
480
|
this.parts['tabs'].on( 'click', function( evt )
|
478
481
|
{
|
@@ -480,8 +483,10 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
480
483
|
// If we aren't inside a tab, bail out.
|
481
484
|
if ( target.hasClass( 'cke_dialog_tab' ) )
|
482
485
|
{
|
486
|
+
// Get the ID of the tab, without the 'cke_' prefix and the unique number suffix.
|
483
487
|
var id = target.$.id;
|
484
|
-
this.selectPage( id.
|
488
|
+
this.selectPage( id.substring( 4, id.lastIndexOf( '_' ) ) );
|
489
|
+
|
485
490
|
if ( this._.tabBarMode )
|
486
491
|
{
|
487
492
|
this._.tabBarMode = false;
|
@@ -757,7 +762,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
757
762
|
for ( var i in this._.contents )
|
758
763
|
{
|
759
764
|
for ( var j in this._.contents[i] )
|
760
|
-
fn( this._.contents[i][j]);
|
765
|
+
fn( this._.contents[i][j] );
|
761
766
|
}
|
762
767
|
return this;
|
763
768
|
},
|
@@ -770,7 +775,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
770
775
|
*/
|
771
776
|
reset : (function()
|
772
777
|
{
|
773
|
-
var fn = function( widget ){ if ( widget.reset ) widget.reset(); };
|
778
|
+
var fn = function( widget ){ if ( widget.reset ) widget.reset( 1 ); };
|
774
779
|
return function(){ this.foreach( fn ); return this; };
|
775
780
|
})(),
|
776
781
|
|
@@ -881,7 +886,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
881
886
|
page.setAttribute( 'role', 'tabpanel' );
|
882
887
|
|
883
888
|
var env = CKEDITOR.env;
|
884
|
-
var tabId = contents.id + '_' + CKEDITOR.tools.getNextNumber(),
|
889
|
+
var tabId = 'cke_' + contents.id + '_' + CKEDITOR.tools.getNextNumber(),
|
885
890
|
tab = CKEDITOR.dom.element.createFromHtml( [
|
886
891
|
'<a class="cke_dialog_tab"',
|
887
892
|
( this._.pageCount > 0 ? ' cke_last' : 'cke_first' ),
|
@@ -1386,7 +1391,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
1386
1391
|
// Transform the contents entries in contentObjects.
|
1387
1392
|
var contents = dialogDefinition.contents;
|
1388
1393
|
for ( var i = 0, content ; ( content = contents[i] ) ; i++ )
|
1389
|
-
contents[ i ] = new contentObject( dialog, content );
|
1394
|
+
contents[ i ] = content && new contentObject( dialog, content );
|
1390
1395
|
|
1391
1396
|
CKEDITOR.tools.extend( this, dialogDefinition );
|
1392
1397
|
};
|
@@ -2051,7 +2056,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
2051
2056
|
styles = ( stylesArg && stylesArg.call ? stylesArg( elementDefinition ) : stylesArg ) || {},
|
2052
2057
|
attributes = ( attributesArg && attributesArg.call ? attributesArg( elementDefinition ) : attributesArg ) || {},
|
2053
2058
|
innerHTML = ( contentsArg && contentsArg.call ? contentsArg.call( this, dialog, elementDefinition ) : contentsArg ) || '',
|
2054
|
-
domId = this.domId = attributes.id || CKEDITOR.tools.
|
2059
|
+
domId = this.domId = attributes.id || CKEDITOR.tools.getNextId() + '_uiElement',
|
2055
2060
|
id = this.id = elementDefinition.id,
|
2056
2061
|
i;
|
2057
2062
|
|
@@ -2349,14 +2354,15 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
|
|
2349
2354
|
/**
|
2350
2355
|
* Sets the value of this dialog UI object.
|
2351
2356
|
* @param {Object} value The new value.
|
2357
|
+
* @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
|
2352
2358
|
* @returns {CKEDITOR.dialog.uiElement} The current UI element.
|
2353
2359
|
* @example
|
2354
2360
|
* uiElement.setValue( 'Dingo' );
|
2355
2361
|
*/
|
2356
|
-
setValue : function( value )
|
2362
|
+
setValue : function( value, noChangeEvent )
|
2357
2363
|
{
|
2358
2364
|
this.getInputElement().setValue( value );
|
2359
|
-
this.fire( 'change', { value : value } );
|
2365
|
+
!noChangeEvent && this.fire( 'change', { value : value } );
|
2360
2366
|
return this;
|
2361
2367
|
},
|
2362
2368
|
|
@@ -0,0 +1,207 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
(function()
|
7
|
+
{
|
8
|
+
|
9
|
+
function setupAdvParams( element )
|
10
|
+
{
|
11
|
+
var attrName = this.att;
|
12
|
+
|
13
|
+
var value = element && element.hasAttribute( attrName ) && element.getAttribute( attrName ) || '';
|
14
|
+
|
15
|
+
if ( value !== undefined )
|
16
|
+
this.setValue( value );
|
17
|
+
}
|
18
|
+
|
19
|
+
function commitAdvParams()
|
20
|
+
{
|
21
|
+
// Dialogs may use different parameters in the commit list, so, by
|
22
|
+
// definition, we take the first CKEDITOR.dom.element available.
|
23
|
+
var element;
|
24
|
+
|
25
|
+
for ( var i = 0 ; i < arguments.length ; i++ )
|
26
|
+
{
|
27
|
+
if ( arguments[ i ] instanceof CKEDITOR.dom.element )
|
28
|
+
{
|
29
|
+
element = arguments[ i ];
|
30
|
+
break;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
if ( element )
|
35
|
+
{
|
36
|
+
var attrName = this.att,
|
37
|
+
value = this.getValue();
|
38
|
+
|
39
|
+
if ( value )
|
40
|
+
element.setAttribute( attrName, value );
|
41
|
+
else
|
42
|
+
element.removeAttribute( attrName, value );
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
CKEDITOR.plugins.add( 'dialogadvtab',
|
47
|
+
{
|
48
|
+
/**
|
49
|
+
*
|
50
|
+
* @param tabConfig
|
51
|
+
* id, dir, classes, styles
|
52
|
+
*/
|
53
|
+
createAdvancedTab : function( editor, tabConfig )
|
54
|
+
{
|
55
|
+
if ( !tabConfig )
|
56
|
+
tabConfig = { id:1, dir:1, classes:1, styles:1 };
|
57
|
+
|
58
|
+
var lang = editor.lang.common;
|
59
|
+
|
60
|
+
var result =
|
61
|
+
{
|
62
|
+
id : 'advanced',
|
63
|
+
label : lang.advancedTab,
|
64
|
+
title : lang.advancedTab,
|
65
|
+
elements :
|
66
|
+
[
|
67
|
+
{
|
68
|
+
type : 'vbox',
|
69
|
+
padding : 1,
|
70
|
+
children : []
|
71
|
+
}
|
72
|
+
]
|
73
|
+
};
|
74
|
+
|
75
|
+
var contents = [];
|
76
|
+
|
77
|
+
if ( tabConfig.id || tabConfig.dir )
|
78
|
+
{
|
79
|
+
if ( tabConfig.id )
|
80
|
+
{
|
81
|
+
contents.push(
|
82
|
+
{
|
83
|
+
id : 'advId',
|
84
|
+
att : 'id',
|
85
|
+
type : 'text',
|
86
|
+
label : lang.id,
|
87
|
+
setup : setupAdvParams,
|
88
|
+
commit : commitAdvParams
|
89
|
+
});
|
90
|
+
}
|
91
|
+
|
92
|
+
if ( tabConfig.dir )
|
93
|
+
{
|
94
|
+
contents.push(
|
95
|
+
{
|
96
|
+
id : 'advLangDir',
|
97
|
+
att : 'dir',
|
98
|
+
type : 'select',
|
99
|
+
label : lang.langDir,
|
100
|
+
'default' : '',
|
101
|
+
style : 'width:110px',
|
102
|
+
items :
|
103
|
+
[
|
104
|
+
[ lang.notSet, '' ],
|
105
|
+
[ lang.langDirLTR, 'ltr' ],
|
106
|
+
[ lang.langDirRTL, 'rtl' ]
|
107
|
+
],
|
108
|
+
setup : setupAdvParams,
|
109
|
+
commit : commitAdvParams
|
110
|
+
});
|
111
|
+
}
|
112
|
+
|
113
|
+
result.elements[ 0 ].children.push(
|
114
|
+
{
|
115
|
+
type : 'hbox',
|
116
|
+
widths : [ '50%', '50%' ],
|
117
|
+
children : [].concat( contents )
|
118
|
+
});
|
119
|
+
}
|
120
|
+
|
121
|
+
if ( tabConfig.styles || tabConfig.classes )
|
122
|
+
{
|
123
|
+
contents = [];
|
124
|
+
|
125
|
+
if ( tabConfig.id )
|
126
|
+
{
|
127
|
+
contents.push(
|
128
|
+
{
|
129
|
+
id : 'advStyles',
|
130
|
+
att : 'style',
|
131
|
+
type : 'text',
|
132
|
+
label : lang.styles,
|
133
|
+
'default' : '',
|
134
|
+
|
135
|
+
onChange : function(){},
|
136
|
+
|
137
|
+
getStyle : function( name, defaultValue )
|
138
|
+
{
|
139
|
+
var match = this.getValue().match( new RegExp( name + '\\s*:\s*([^;]*)', 'i') );
|
140
|
+
return match ? match[ 1 ] : defaultValue;
|
141
|
+
},
|
142
|
+
|
143
|
+
updateStyle : function( name, value )
|
144
|
+
{
|
145
|
+
var styles = this.getValue();
|
146
|
+
|
147
|
+
// Remove the current value.
|
148
|
+
if ( styles )
|
149
|
+
{
|
150
|
+
styles = styles
|
151
|
+
.replace( new RegExp( '\\s*' + name + '\s*:[^;]*(?:$|;\s*)', 'i' ), '' )
|
152
|
+
.replace( /^[;\s]+/, '' )
|
153
|
+
.replace( /\s+$/, '' );
|
154
|
+
}
|
155
|
+
|
156
|
+
if ( value )
|
157
|
+
{
|
158
|
+
styles && !(/;\s*$/).test( styles ) && ( styles += '; ' );
|
159
|
+
styles += name + ': ' + value;
|
160
|
+
}
|
161
|
+
|
162
|
+
this.setValue( styles, true );
|
163
|
+
|
164
|
+
},
|
165
|
+
|
166
|
+
setup : setupAdvParams,
|
167
|
+
|
168
|
+
commit : commitAdvParams
|
169
|
+
|
170
|
+
});
|
171
|
+
}
|
172
|
+
|
173
|
+
if ( tabConfig.classes )
|
174
|
+
{
|
175
|
+
contents.push(
|
176
|
+
{
|
177
|
+
type : 'hbox',
|
178
|
+
widths : [ '45%', '55%' ],
|
179
|
+
children :
|
180
|
+
[
|
181
|
+
{
|
182
|
+
id : 'advCSSClasses',
|
183
|
+
att : 'class',
|
184
|
+
type : 'text',
|
185
|
+
label : lang.cssClasses,
|
186
|
+
'default' : '',
|
187
|
+
setup : setupAdvParams,
|
188
|
+
commit : commitAdvParams
|
189
|
+
|
190
|
+
}
|
191
|
+
]
|
192
|
+
});
|
193
|
+
}
|
194
|
+
|
195
|
+
result.elements[ 0 ].children.push(
|
196
|
+
{
|
197
|
+
type : 'hbox',
|
198
|
+
widths : [ '50%', '50%' ],
|
199
|
+
children : [].concat( contents )
|
200
|
+
});
|
201
|
+
}
|
202
|
+
|
203
|
+
return result;
|
204
|
+
}
|
205
|
+
});
|
206
|
+
|
207
|
+
})();
|
@@ -59,9 +59,9 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
59
59
|
return this.getValue() != this.getInitValue();
|
60
60
|
},
|
61
61
|
|
62
|
-
reset : function()
|
62
|
+
reset : function( noChangeEvent )
|
63
63
|
{
|
64
|
-
this.setValue( this.getInitValue() );
|
64
|
+
this.setValue( this.getInitValue(), noChangeEvent );
|
65
65
|
},
|
66
66
|
|
67
67
|
setInitValue : function()
|
@@ -147,7 +147,7 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
147
147
|
return;
|
148
148
|
|
149
149
|
var _ = initPrivateObject.call( this, elementDefinition );
|
150
|
-
_.labelId = CKEDITOR.tools.
|
150
|
+
_.labelId = CKEDITOR.tools.getNextId() + '_label';
|
151
151
|
var children = this._.children = [];
|
152
152
|
/** @ignore */
|
153
153
|
var innerHTML = function()
|
@@ -223,7 +223,7 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
223
223
|
return;
|
224
224
|
|
225
225
|
initPrivateObject.call( this, elementDefinition );
|
226
|
-
var domId = this._.inputId = CKEDITOR.tools.
|
226
|
+
var domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textInput',
|
227
227
|
attributes = { 'class' : 'cke_dialog_ui_input_' + elementDefinition.type, id : domId, type : 'text' },
|
228
228
|
i;
|
229
229
|
|
@@ -313,7 +313,7 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
313
313
|
|
314
314
|
initPrivateObject.call( this, elementDefinition );
|
315
315
|
var me = this,
|
316
|
-
domId = this._.inputId = CKEDITOR.tools.
|
316
|
+
domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textarea',
|
317
317
|
attributes = {};
|
318
318
|
|
319
319
|
if ( elementDefinition.validate )
|
@@ -370,11 +370,11 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
370
370
|
{
|
371
371
|
var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
|
372
372
|
{
|
373
|
-
id : elementDefinition.id ? elementDefinition.id + '_checkbox' : CKEDITOR.tools.
|
373
|
+
id : elementDefinition.id ? elementDefinition.id + '_checkbox' : CKEDITOR.tools.getNextId() + '_checkbox'
|
374
374
|
}, true ),
|
375
375
|
html = [];
|
376
376
|
|
377
|
-
var labelId = CKEDITOR.tools.
|
377
|
+
var labelId = CKEDITOR.tools.getNextId() + '_label';
|
378
378
|
var attributes = { 'class' : 'cke_dialog_ui_checkbox_input', type : 'checkbox', 'aria-labelledby' : labelId };
|
379
379
|
cleanInnerDefinition( myDefinition );
|
380
380
|
if ( elementDefinition[ 'default' ] )
|
@@ -430,13 +430,13 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
430
430
|
{
|
431
431
|
var inputHtmlList = [], html = [],
|
432
432
|
commonAttributes = { 'class' : 'cke_dialog_ui_radio_item', 'aria-labelledby' : this._.labelId },
|
433
|
-
commonName = elementDefinition.id ? elementDefinition.id + '_radio' : CKEDITOR.tools.
|
433
|
+
commonName = elementDefinition.id ? elementDefinition.id + '_radio' : CKEDITOR.tools.getNextId() + '_radio';
|
434
434
|
for ( var i = 0 ; i < elementDefinition.items.length ; i++ )
|
435
435
|
{
|
436
436
|
var item = elementDefinition.items[i],
|
437
437
|
title = item[2] !== undefined ? item[2] : item[0],
|
438
438
|
value = item[1] !== undefined ? item[1] : item[0],
|
439
|
-
inputId = CKEDITOR.tools.
|
439
|
+
inputId = CKEDITOR.tools.getNextId() + '_radio_input',
|
440
440
|
labelId = inputId + '_label',
|
441
441
|
inputDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
|
442
442
|
{
|
@@ -540,7 +540,7 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
540
540
|
var outerDefinition = CKEDITOR.tools.extend( {}, elementDefinition );
|
541
541
|
delete outerDefinition.style;
|
542
542
|
|
543
|
-
var labelId = CKEDITOR.tools.
|
543
|
+
var labelId = CKEDITOR.tools.getNextId() + '_label';
|
544
544
|
CKEDITOR.ui.dialog.uiElement.call(
|
545
545
|
this,
|
546
546
|
dialog,
|
@@ -596,13 +596,13 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
596
596
|
if ( elementDefinition.validate )
|
597
597
|
this.validate = elementDefinition.validate;
|
598
598
|
|
599
|
-
_.inputId = CKEDITOR.tools.
|
599
|
+
_.inputId = CKEDITOR.tools.getNextId() + '_select';
|
600
600
|
/** @ignore */
|
601
601
|
var innerHTML = function()
|
602
602
|
{
|
603
603
|
var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
|
604
604
|
{
|
605
|
-
id : elementDefinition.id ? elementDefinition.id + '_select' : CKEDITOR.tools.
|
605
|
+
id : elementDefinition.id ? elementDefinition.id + '_select' : CKEDITOR.tools.getNextId() + '_select'
|
606
606
|
}, true ),
|
607
607
|
html = [],
|
608
608
|
innerHTML = [],
|
@@ -663,7 +663,7 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
663
663
|
/** @ignore */
|
664
664
|
var innerHTML = function()
|
665
665
|
{
|
666
|
-
_.frameId = CKEDITOR.tools.
|
666
|
+
_.frameId = CKEDITOR.tools.getNextId() + '_fileInput';
|
667
667
|
|
668
668
|
// Support for custom document.domain in IE.
|
669
669
|
var isCustomDomain = CKEDITOR.env.isCustomDomain();
|
@@ -1061,7 +1061,7 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
1061
1061
|
setValue : function( value )
|
1062
1062
|
{
|
1063
1063
|
!value && ( value = '' );
|
1064
|
-
return CKEDITOR.ui.dialog.uiElement.prototype.setValue.
|
1064
|
+
return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply( this, arguments );
|
1065
1065
|
},
|
1066
1066
|
|
1067
1067
|
keyboardFocusable : true
|
@@ -1156,11 +1156,12 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
1156
1156
|
* Sets the state of the checkbox.
|
1157
1157
|
* @example
|
1158
1158
|
* @param {Boolean} true to tick the checkbox, false to untick it.
|
1159
|
+
* @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
|
1159
1160
|
*/
|
1160
|
-
setValue : function( checked )
|
1161
|
+
setValue : function( checked, noChangeEvent )
|
1161
1162
|
{
|
1162
1163
|
this.getInputElement().$.checked = checked;
|
1163
|
-
this.fire( 'change', { value : checked } );
|
1164
|
+
!noChangeEvent && this.fire( 'change', { value : checked } );
|
1164
1165
|
},
|
1165
1166
|
|
1166
1167
|
/**
|
@@ -1222,14 +1223,15 @@ CKEDITOR.plugins.add( 'dialogui' );
|
|
1222
1223
|
* Checks one of the radio buttons in this button group.
|
1223
1224
|
* @example
|
1224
1225
|
* @param {String} value The value of the button to be chcked.
|
1226
|
+
* @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
|
1225
1227
|
*/
|
1226
|
-
setValue : function( value )
|
1228
|
+
setValue : function( value, noChangeEvent )
|
1227
1229
|
{
|
1228
1230
|
var children = this._.children,
|
1229
1231
|
item;
|
1230
1232
|
for ( var i = 0 ; ( i < children.length ) && ( item = children[i] ) ; i++ )
|
1231
1233
|
item.getElement().$.checked = ( item.getValue() == value );
|
1232
|
-
this.fire( 'change', { value : value } );
|
1234
|
+
!noChangeEvent && this.fire( 'change', { value : value } );
|
1233
1235
|
},
|
1234
1236
|
|
1235
1237
|
/**
|