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
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -161,6 +161,32 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
161
161
|
selectedTable[ ( !value || value <= 0 ) ? 'addClass' : 'removeClass' ]( showBorderClassName );
|
162
162
|
};
|
163
163
|
} );
|
164
|
+
|
165
|
+
var advTab = dialogDefinition.getContents( 'advanced' ),
|
166
|
+
classField = advTab && advTab.get( 'advCSSClasses' );
|
167
|
+
|
168
|
+
if ( classField )
|
169
|
+
{
|
170
|
+
classField.setup = CKEDITOR.tools.override( classField.setup, function( originalSetup )
|
171
|
+
{
|
172
|
+
return function()
|
173
|
+
{
|
174
|
+
originalSetup.apply( this, arguments );
|
175
|
+
this.setValue( this.getValue().replace( /cke_show_border/, '' ) );
|
176
|
+
};
|
177
|
+
});
|
178
|
+
|
179
|
+
classField.commit = CKEDITOR.tools.override( classField.commit, function( originalCommit )
|
180
|
+
{
|
181
|
+
return function( data, element )
|
182
|
+
{
|
183
|
+
originalCommit.apply( this, arguments );
|
184
|
+
|
185
|
+
if ( !parseInt( element.getAttribute( 'border' ), 10 ) )
|
186
|
+
element.addClass( 'cke_show_border' );
|
187
|
+
};
|
188
|
+
});
|
189
|
+
}
|
164
190
|
}
|
165
191
|
});
|
166
192
|
|
@@ -131,7 +131,7 @@ CKEDITOR.dialog.add( 'smiley', function( editor )
|
|
131
131
|
});
|
132
132
|
|
133
133
|
// Build the HTML for the smiley images table.
|
134
|
-
var labelId =
|
134
|
+
var labelId = CKEDITOR.tools.getNextId() + '_smiley_emtions_label';
|
135
135
|
var html =
|
136
136
|
[
|
137
137
|
'<div>' +
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -15,22 +15,25 @@ CKEDITOR.dialog.add( 'specialchar', function( editor )
|
|
15
15
|
var insertSpecialChar = function ( specialChar )
|
16
16
|
{
|
17
17
|
var selection = editor.getSelection(),
|
18
|
-
ranges
|
18
|
+
ranges = selection.getRanges( true ),
|
19
19
|
range, textNode;
|
20
20
|
|
21
21
|
editor.fire( 'saveSnapshot' );
|
22
22
|
|
23
|
-
for ( var i =
|
23
|
+
for ( var i = ranges.length - 1; i >= 0 ; i-- )
|
24
24
|
{
|
25
25
|
range = ranges[ i ];
|
26
26
|
range.deleteContents();
|
27
27
|
|
28
|
-
textNode =
|
28
|
+
textNode = CKEDITOR.dom.element.createFromHtml( specialChar );
|
29
29
|
range.insertNode( textNode );
|
30
30
|
}
|
31
31
|
|
32
|
-
|
33
|
-
|
32
|
+
if ( range )
|
33
|
+
{
|
34
|
+
range.moveToPosition( textNode, CKEDITOR.POSITION_AFTER_END );
|
35
|
+
range.select();
|
36
|
+
}
|
34
37
|
|
35
38
|
editor.fire( 'saveSnapshot' );
|
36
39
|
};
|
@@ -262,7 +265,7 @@ CKEDITOR.dialog.add( 'specialchar', function( editor )
|
|
262
265
|
var columns = this.definition.charColumns,
|
263
266
|
chars = this.definition.chars;
|
264
267
|
|
265
|
-
var charsTableLabel =
|
268
|
+
var charsTableLabel = CKEDITOR.tools.getNextId() + '_specialchar_table_label';
|
266
269
|
var html = [ '<table role="listbox" aria-labelledby="' + charsTableLabel + '"' +
|
267
270
|
' style="width: 320px; height: 100%; border-collapse: separate;"' +
|
268
271
|
' align="center" cellspacing="2" cellpadding="2" border="0">' ];
|
File without changes
|
@@ -376,9 +376,6 @@ CKEDITOR.STYLE_OBJECT = 3;
|
|
376
376
|
// Get the DTD definition for the element. Defaults to "span".
|
377
377
|
var dtd = CKEDITOR.dtd[ elementName ] || ( isUnknownElement = true, CKEDITOR.dtd.span );
|
378
378
|
|
379
|
-
// Bookmark the range so we can re-select it after processing.
|
380
|
-
var bookmark = range.createBookmark();
|
381
|
-
|
382
379
|
// Expand the range.
|
383
380
|
range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
|
384
381
|
range.trim();
|
@@ -544,9 +541,9 @@ CKEDITOR.STYLE_OBJECT = 3;
|
|
544
541
|
}
|
545
542
|
}
|
546
543
|
|
547
|
-
|
548
|
-
|
549
|
-
|
544
|
+
// Remove the bookmark nodes.
|
545
|
+
range.moveToBookmark( boundaryNodes );
|
546
|
+
|
550
547
|
// Minimize the result range to exclude empty text nodes. (#5374)
|
551
548
|
range.shrink( CKEDITOR.SHRINK_TEXT );
|
552
549
|
}
|
@@ -585,12 +582,14 @@ CKEDITOR.STYLE_OBJECT = 3;
|
|
585
582
|
|
586
583
|
if ( this.checkElementRemovable( element ) )
|
587
584
|
{
|
588
|
-
var
|
589
|
-
|
590
|
-
if (
|
585
|
+
var isStart;
|
586
|
+
|
587
|
+
if ( range.collapsed && (
|
588
|
+
range.checkBoundaryOfElement( element, CKEDITOR.END ) ||
|
589
|
+
( isStart = range.checkBoundaryOfElement( element, CKEDITOR.START ) ) ) )
|
591
590
|
{
|
592
591
|
boundaryElement = element;
|
593
|
-
boundaryElement.match =
|
592
|
+
boundaryElement.match = isStart ? 'start' : 'end';
|
594
593
|
}
|
595
594
|
else
|
596
595
|
{
|
@@ -1274,17 +1273,24 @@ CKEDITOR.STYLE_OBJECT = 3;
|
|
1274
1273
|
|
1275
1274
|
function applyStyle( document, remove )
|
1276
1275
|
{
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1276
|
+
var selection = document.getSelection(),
|
1277
|
+
// Bookmark the range so we can re-select it after processing.
|
1278
|
+
bookmarks = selection.createBookmarks(),
|
1279
|
+
ranges = selection.getRanges( true ),
|
1280
|
+
func = remove ? this.removeFromRange : this.applyToRange,
|
1281
|
+
range;
|
1282
|
+
|
1283
|
+
var iterator = ranges.createIterator();
|
1284
|
+
while ( ( range = iterator.getNextRange() ) )
|
1285
|
+
func.call( this, range );
|
1286
|
+
|
1287
|
+
if ( bookmarks.length == 1 && bookmarks[0].collapsed )
|
1288
|
+
{
|
1289
|
+
selection.selectRanges( ranges );
|
1290
|
+
bookmarks[0].startNode.remove();
|
1291
|
+
}
|
1292
|
+
else
|
1293
|
+
selection.selectBookmarks( bookmarks );
|
1288
1294
|
}
|
1289
1295
|
})();
|
1290
1296
|
|
File without changes
|
File without changes
|
@@ -27,13 +27,86 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
27
27
|
}
|
28
28
|
};
|
29
29
|
|
30
|
+
function selectNextCellCommand( backward )
|
31
|
+
{
|
32
|
+
return {
|
33
|
+
editorFocus : false,
|
34
|
+
canUndo : false,
|
35
|
+
modes : { wysiwyg : 1 },
|
36
|
+
exec : function( editor )
|
37
|
+
{
|
38
|
+
if ( editor.focusManager.hasFocus )
|
39
|
+
{
|
40
|
+
var sel = editor.getSelection(),
|
41
|
+
ancestor = sel.getCommonAncestor(),
|
42
|
+
cell;
|
43
|
+
|
44
|
+
if ( ( cell = ( ancestor.getAscendant( 'td', true ) || ancestor.getAscendant( 'th', true ) ) ) )
|
45
|
+
{
|
46
|
+
var resultRange = new CKEDITOR.dom.range( editor.document ),
|
47
|
+
next = CKEDITOR.tools.tryThese( function()
|
48
|
+
{
|
49
|
+
var row = cell.getParent(),
|
50
|
+
next = row.$.cells[ cell.$.cellIndex + ( backward ? - 1 : 1 ) ];
|
51
|
+
|
52
|
+
// Invalid any empty value.
|
53
|
+
next.parentNode.parentNode;
|
54
|
+
return next;
|
55
|
+
},
|
56
|
+
function()
|
57
|
+
{
|
58
|
+
var row = cell.getParent(),
|
59
|
+
table = row.getAscendant( 'table' ),
|
60
|
+
nextRow = table.$.rows[ row.$.rowIndex + ( backward ? - 1 : 1 ) ];
|
61
|
+
|
62
|
+
return nextRow.cells[ backward? nextRow.cells.length -1 : 0 ];
|
63
|
+
});
|
64
|
+
|
65
|
+
// Clone one more row at the end of table and select the first newly established cell.
|
66
|
+
if ( ! ( next || backward ) )
|
67
|
+
{
|
68
|
+
var table = cell.getAscendant( 'table' ).$,
|
69
|
+
cells = cell.getParent().$.cells;
|
70
|
+
|
71
|
+
var newRow = new CKEDITOR.dom.element( table.insertRow( -1 ), editor.document );
|
72
|
+
|
73
|
+
for ( var i = 0, count = cells.length ; i < count; i++ )
|
74
|
+
{
|
75
|
+
var newCell = newRow.append( new CKEDITOR.dom.element(
|
76
|
+
cells[ i ], editor.document ).clone( false, false ) );
|
77
|
+
!CKEDITOR.env.ie && newCell.appendBogus();
|
78
|
+
}
|
79
|
+
|
80
|
+
resultRange.moveToElementEditStart( newRow );
|
81
|
+
}
|
82
|
+
else if ( next )
|
83
|
+
{
|
84
|
+
next = new CKEDITOR.dom.element( next );
|
85
|
+
resultRange.moveToElementEditStart( next );
|
86
|
+
// Avoid selecting empty block makes the cursor blind.
|
87
|
+
if ( !( resultRange.checkStartOfBlock() && resultRange.checkEndOfBlock() ) )
|
88
|
+
resultRange.selectNodeContents( next );
|
89
|
+
}
|
90
|
+
else
|
91
|
+
return true;
|
92
|
+
|
93
|
+
resultRange.select( true );
|
94
|
+
return true;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
return false;
|
98
|
+
}
|
99
|
+
};
|
100
|
+
}
|
101
|
+
|
30
102
|
CKEDITOR.plugins.add( 'tab',
|
31
103
|
{
|
32
104
|
requires : [ 'keystrokes' ],
|
33
105
|
|
34
106
|
init : function( editor )
|
35
107
|
{
|
36
|
-
var
|
108
|
+
var tabTools = editor.config.enableTabKeyTools !== false,
|
109
|
+
tabSpaces = editor.config.tabSpaces || 0,
|
37
110
|
tabText = '';
|
38
111
|
|
39
112
|
while ( tabSpaces-- )
|
@@ -51,6 +124,16 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
51
124
|
});
|
52
125
|
}
|
53
126
|
|
127
|
+
if ( tabTools )
|
128
|
+
{
|
129
|
+
editor.on( 'key', function( ev )
|
130
|
+
{
|
131
|
+
if ( ev.data.keyCode == 9 && editor.execCommand( 'selectNextCell' ) || // TAB
|
132
|
+
ev.data.keyCode == ( CKEDITOR.SHIFT + 9 ) && editor.execCommand( 'selectPreviousCell' ) ) // SHIFT+TAB
|
133
|
+
ev.cancel();
|
134
|
+
});
|
135
|
+
}
|
136
|
+
|
54
137
|
if ( CKEDITOR.env.webkit || CKEDITOR.env.gecko )
|
55
138
|
{
|
56
139
|
editor.on( 'key', function( ev )
|
@@ -73,6 +156,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
73
156
|
|
74
157
|
editor.addCommand( 'blur', CKEDITOR.tools.extend( blurCommand, meta ) );
|
75
158
|
editor.addCommand( 'blurBack', CKEDITOR.tools.extend( blurBackCommand, meta ) );
|
159
|
+
editor.addCommand( 'selectNextCell', selectNextCellCommand() );
|
160
|
+
editor.addCommand( 'selectPreviousCell', selectNextCellCommand( true ) );
|
76
161
|
}
|
77
162
|
});
|
78
163
|
})();
|
@@ -259,3 +344,24 @@ CKEDITOR.dom.element.prototype.focusPrevious = function( ignoreChildren, indexTo
|
|
259
344
|
* @example
|
260
345
|
* config.tabSpaces = 4;
|
261
346
|
*/
|
347
|
+
|
348
|
+
/**
|
349
|
+
* Allow context-sensitive tab key behaviors, including the following scenarios:
|
350
|
+
* <h5>When selection is anchored inside <b>table cells</b>:</h5>
|
351
|
+
* <ul>
|
352
|
+
* <li>If TAB is pressed, select the contents of the "next" cell. If in the last cell in the table, add a new row to it and focus its first cell.</li>
|
353
|
+
* <li>If SHIFT+TAB is pressed, select the contents of the "previous" cell. Do nothing when it's in the first cell.</li>
|
354
|
+
* </ul>
|
355
|
+
* @name CKEDITOR.config.enableTabKeyTools
|
356
|
+
* @type Boolean
|
357
|
+
* @default true
|
358
|
+
* @example
|
359
|
+
* config.enableTabKeyTools = false;
|
360
|
+
*/
|
361
|
+
|
362
|
+
// If the TAB key is not supposed to be enabled for navigation, the following
|
363
|
+
// settings could be used alternatively:
|
364
|
+
// config.keystrokes.push(
|
365
|
+
// [ CKEDITOR.ALT + 38 /*Arrow Up*/, 'selectPreviousCell' ],
|
366
|
+
// [ CKEDITOR.ALT + 40 /*Arrow Down*/, 'selectNextCell' ]
|
367
|
+
// );
|
@@ -18,12 +18,53 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
18
18
|
|
19
19
|
function tableDialog( editor, command )
|
20
20
|
{
|
21
|
-
var makeElement = function( name )
|
21
|
+
var makeElement = function( name )
|
22
|
+
{
|
23
|
+
return new CKEDITOR.dom.element( name, editor.document );
|
24
|
+
};
|
25
|
+
|
26
|
+
var dialogadvtab = editor.plugins.dialogadvtab;
|
22
27
|
|
23
28
|
return {
|
24
29
|
title : editor.lang.table.title,
|
25
30
|
minWidth : 310,
|
26
31
|
minHeight : CKEDITOR.env.ie ? 310 : 280,
|
32
|
+
|
33
|
+
onLoad : function()
|
34
|
+
{
|
35
|
+
var dialog = this;
|
36
|
+
|
37
|
+
var styles = dialog.getContentElement( 'advanced', 'advStyles' );
|
38
|
+
|
39
|
+
if ( styles )
|
40
|
+
{
|
41
|
+
styles.on( 'change', function( evt )
|
42
|
+
{
|
43
|
+
// Synchronize width value.
|
44
|
+
var width = this.getStyle( 'width', '' ),
|
45
|
+
txtWidth = dialog.getContentElement( 'info', 'txtWidth' ),
|
46
|
+
cmbWidthType = dialog.getContentElement( 'info', 'cmbWidthType' ),
|
47
|
+
isPx = 1;
|
48
|
+
|
49
|
+
if ( width )
|
50
|
+
{
|
51
|
+
isPx = ( width.length < 3 || width.substr( width.length - 1 ) != '%' );
|
52
|
+
width = parseInt( width, 10 );
|
53
|
+
}
|
54
|
+
|
55
|
+
txtWidth && txtWidth.setValue( width, true );
|
56
|
+
cmbWidthType && cmbWidthType.setValue( isPx ? 'pixels' : 'percents', true );
|
57
|
+
|
58
|
+
// Synchronize height value.
|
59
|
+
var height = this.getStyle( 'height', '' ),
|
60
|
+
txtHeight = dialog.getContentElement( 'info', 'txtHeight' );
|
61
|
+
|
62
|
+
height && ( height = parseInt( height, 10 ) );
|
63
|
+
txtHeight && txtHeight.setValue( height, true );
|
64
|
+
});
|
65
|
+
}
|
66
|
+
},
|
67
|
+
|
27
68
|
onShow : function()
|
28
69
|
{
|
29
70
|
// Detect if there's a selected table.
|
@@ -33,7 +74,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
33
74
|
|
34
75
|
var rowsInput = this.getContentElement( 'info', 'txtRows' ),
|
35
76
|
colsInput = this.getContentElement( 'info', 'txtCols' ),
|
36
|
-
widthInput = this.getContentElement( 'info', 'txtWidth' )
|
77
|
+
widthInput = this.getContentElement( 'info', 'txtWidth' ),
|
78
|
+
heightInput = this.getContentElement( 'info', 'txtHeight' );
|
79
|
+
|
37
80
|
if ( command == 'tableProperties' )
|
38
81
|
{
|
39
82
|
if ( ( selectedTable = editor.getSelection().getSelectedElement() ) )
|
@@ -56,20 +99,23 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
56
99
|
this._.selectedElement = selectedTable;
|
57
100
|
}
|
58
101
|
|
59
|
-
// Enable
|
102
|
+
// Enable or disable the row, cols, width fields.
|
60
103
|
if ( selectedTable )
|
61
104
|
{
|
62
105
|
this.setupContent( selectedTable );
|
63
106
|
rowsInput && rowsInput.disable();
|
64
107
|
colsInput && colsInput.disable();
|
65
|
-
widthInput && widthInput.select();
|
66
108
|
}
|
67
109
|
else
|
68
110
|
{
|
69
111
|
rowsInput && rowsInput.enable();
|
70
112
|
colsInput && colsInput.enable();
|
71
|
-
rowsInput && rowsInput.select();
|
72
113
|
}
|
114
|
+
|
115
|
+
// Call the onChange method for the widht and height fields so
|
116
|
+
// they get reflected into the Advanced tab.
|
117
|
+
widthInput && widthInput.onChange();
|
118
|
+
heightInput && heightInput.onChange();
|
73
119
|
},
|
74
120
|
onOk : function()
|
75
121
|
{
|
@@ -380,7 +426,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
380
426
|
id : 'txtWidth',
|
381
427
|
style : 'width:5em',
|
382
428
|
label : editor.lang.table.width,
|
383
|
-
'default' :
|
429
|
+
'default' : 500,
|
384
430
|
validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidWidth ),
|
385
431
|
|
386
432
|
// Extra labelling of width unit type.
|
@@ -394,6 +440,21 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
394
440
|
inputElement.setAttribute( 'aria-labelledby', [ ariaLabelledByAttr, labelElement.$.id ].join( ' ' ) );
|
395
441
|
},
|
396
442
|
|
443
|
+
onChange : function()
|
444
|
+
{
|
445
|
+
var styles = this.getDialog().getContentElement( 'advanced', 'advStyles' );
|
446
|
+
|
447
|
+
if ( styles )
|
448
|
+
{
|
449
|
+
var value = this.getValue();
|
450
|
+
|
451
|
+
if ( value )
|
452
|
+
value += this.getDialog().getContentElement( 'info', 'cmbWidthType' ).getValue() == 'percents' ? '%' : 'px';
|
453
|
+
|
454
|
+
styles.updateStyle( 'width', value );
|
455
|
+
}
|
456
|
+
},
|
457
|
+
|
397
458
|
setup : function( selectedTable )
|
398
459
|
{
|
399
460
|
var widthMatch = widthPattern.exec( selectedTable.$.style.width );
|
@@ -421,6 +482,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
421
482
|
if ( widthMatch )
|
422
483
|
this.setValue( widthMatch[2] == 'px' ? 'pixels' : 'percents' );
|
423
484
|
},
|
485
|
+
onChange : function()
|
486
|
+
{
|
487
|
+
this.getDialog().getContentElement( 'info', 'txtWidth' ).onChange();
|
488
|
+
},
|
424
489
|
commit : commitValue
|
425
490
|
}
|
426
491
|
]
|
@@ -449,6 +514,17 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
449
514
|
inputElement.setAttribute( 'aria-labelledby', [ ariaLabelledByAttr, labelElement.$.id ].join( ' ' ) );
|
450
515
|
},
|
451
516
|
|
517
|
+
onChange : function()
|
518
|
+
{
|
519
|
+
var styles = this.getDialog().getContentElement( 'advanced', 'advStyles' );
|
520
|
+
|
521
|
+
if ( styles )
|
522
|
+
{
|
523
|
+
var value = this.getValue();
|
524
|
+
styles.updateStyle( 'height', value && ( value + 'px' ) );
|
525
|
+
}
|
526
|
+
},
|
527
|
+
|
452
528
|
setup : function( selectedTable )
|
453
529
|
{
|
454
530
|
var heightMatch = heightPattern.exec( selectedTable.$.style.height );
|
@@ -582,7 +658,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
582
658
|
]
|
583
659
|
}
|
584
660
|
]
|
585
|
-
}
|
661
|
+
},
|
662
|
+
dialogadvtab && dialogadvtab.createAdvancedTab( editor )
|
586
663
|
]
|
587
664
|
};
|
588
665
|
}
|