ckeditor 3.4.3 → 3.5.0
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 -47
- data/Rakefile +6 -5
- data/app/controllers/ckeditor/attachments_controller.rb +23 -0
- data/app/controllers/ckeditor/base_controller.rb +60 -0
- data/app/controllers/ckeditor/pictures_controller.rb +23 -0
- data/app/helpers/ckeditor/base_helper.rb +21 -0
- data/app/views/ckeditor/attachments/index.html.erb +91 -0
- data/app/views/ckeditor/pictures/index.html.erb +91 -0
- data/config/routes.rb +5 -4
- data/lib/ckeditor.rb +29 -26
- data/lib/ckeditor/engine.rb +21 -0
- data/lib/ckeditor/utils.rb +13 -6
- data/lib/ckeditor/version.rb +2 -2
- data/lib/generators/ckeditor/base/USAGE +7 -0
- data/lib/generators/ckeditor/base/base_generator.rb +20 -0
- data/lib/generators/ckeditor/base/templates/ckeditor.rb +54 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/CHANGES.html +1063 -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/lib/generators/ckeditor/base/templates/ckeditor/_samples/adobeair/application.xml +32 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/adobeair/run.bat +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/adobeair/run.sh +8 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/adobeair/sample.html +45 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/ajax.html +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/api.html +174 -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_for_flash.fla +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/assets/output_xhtml.css +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/assets/swfobject.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_samples/autogrow.html +0 -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/lib/generators/ckeditor/base/templates/ckeditor/_samples/index.html +58 -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_for_flash.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/lib/generators/ckeditor/base/templates/ckeditor/_samples/placeholder.html +62 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/adapters/jquery.js +300 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/core/ckeditor_base.js +196 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/core/config.js +431 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/document.js +251 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/documentfragment.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/domobject.js +258 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/element.js +1615 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/node.js +696 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/nodelist.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/range.js +1893 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/rangelist.js +213 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/dom/text.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/walker.js +444 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/core/editor.js +943 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/editor_basic.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/env.js +272 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/element.js +240 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/htmlparser/filter.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/fragment.js +504 -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/lang.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/loader.js +242 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/core/skins.js +184 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/core/themes.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/tools.js +734 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/ui.js +118 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/af.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ar.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/bg.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/bn.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/bs.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ca.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/cs.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/cy.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/da.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/de.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/el.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/en-au.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/en-ca.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/en-gb.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/en.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/eo.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/es.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/et.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/eu.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fa.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fi.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fo.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fr-ca.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fr.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/gl.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/gu.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/he.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/hi.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/hr.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/hu.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/is.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/it.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ja.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/km.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ko.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/lt.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/lv.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/mn.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ms.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/nb.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/nl.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/no.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/pl.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/pt-br.js +751 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/pt.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ro.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ru.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sk.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sl.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sr-latn.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sr.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sv.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/th.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/tr.js +751 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/uk.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/vi.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/zh-cn.js +752 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/zh.js +752 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/adobeair/plugin.js +228 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/ajax_save/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/attachment/dialogs/attachment.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/attachment/images/attachment.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/attachment/lang/en.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/attachment/lang/ru.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/attachment/lang/uk.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/attachment/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/autogrow/plugin.js +0 -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 +265 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/blockquote/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/button/plugin.js +295 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/clipboard/dialogs/paste.js +212 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/clipboard/plugin.js +412 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/colorbutton/plugin.js +291 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +340 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/colordialog/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/contextmenu/plugin.js +177 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialog/plugin.js +3067 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialogadvtab/plugin.js +213 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialogui/plugin.js +1523 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/div/dialogs/div.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/div/plugin.js +121 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/elementspath/plugin.js +201 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/embed/dialogs/embed.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/embed/images/embed.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/embed/lang/en.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/embed/lang/ru.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/embed/lang/uk.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/embed/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/enterkey/plugin.js +381 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/entities/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +126 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/filebrowser/plugin.js +501 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/find/dialogs/find.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/find/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +698 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/flash/plugin.js +168 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/floatpanel/plugin.js +405 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/button.js +135 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/checkbox.js +153 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/form.js +177 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +98 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/radio.js +135 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/select.js +556 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/textarea.js +114 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/textfield.js +199 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/plugin.js +284 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +543 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/iframe/dialogs/iframe.js +257 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/iframe/plugin.js +106 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/iframedialog/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/image/dialogs/image.js +1388 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/image/plugin.js +81 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/indent/plugin.js +468 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/justify/plugin.js +239 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/keystrokes/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/link/dialogs/anchor.js +99 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/link/dialogs/link.js +1426 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/link/plugin.js +241 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/list/plugin.js +723 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/listblock/plugin.js +257 -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 +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/maximize/plugin.js +340 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/menu/plugin.js +505 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/menubutton/plugin.js +98 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pagebreak/plugin.js +120 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/panel/plugin.js +395 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/panelbutton/plugin.js +146 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pastefromword/filter/default.js +1175 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pastetext/plugin.js +85 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +78 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/placeholder/lang/en.js +16 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/placeholder/plugin.js +160 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/removeformat/plugin.js +184 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/resize/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/richcombo/plugin.js +371 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/save/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +534 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/scayt/plugin.js +947 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/selection/plugin.js +0 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/plugin.js +156 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showborders/plugin.js +203 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +223 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/sourcearea/plugin.js +196 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +347 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/specialchar/lang/en.js +89 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/specialchar/plugin.js +70 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/styles/plugin.js +1564 -0
- 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 +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/table/dialogs/table.js +672 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/table/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/tableresize/plugin.js +450 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +525 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/plugins/tabletools/plugin.js +0 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/toolbar/plugin.js +482 -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/lang/he.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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/undo/plugin.js +554 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.js +191 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wsc/plugin.js +33 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +1224 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/dialog.css +915 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/icons.css +361 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/icons_rtl.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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/mainui.css +202 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/menu.css +244 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/richcombo.css +287 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/skin.js +259 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/kama/templates.css +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/toolbar.css +448 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/dialog.css +826 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/icons.css +358 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/icons_rtl.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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/mainui.css +152 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/menu.css +241 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/richcombo.css +318 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/skin.js +71 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/office2003/templates.css +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/toolbar.css +510 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/dialog.css +842 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/icons.css +358 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/icons_rtl.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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/mainui.css +161 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/menu.css +244 -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/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/richcombo.css +317 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/skin.js +67 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/_source/skins/v2/templates.css +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/toolbar.css +453 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/themes/default/theme.js +368 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/adapters/jquery.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor.js +139 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor.pack +211 -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/lib/generators/ckeditor/base/templates/ckeditor/ckeditor_source.js +25 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/config.js +0 -0
- 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/adobeair/plugin.js +6 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/ajax_save/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/attachment/dialogs/attachment.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/attachment/lang/en.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/attachment/lang/ru.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/attachment/lang/uk.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/attachment/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/autogrow/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/clipboard/dialogs/paste.js +7 -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/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/embed/dialogs/embed.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/embed/images/embed.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/embed/lang/en.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/embed/lang/ru.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/embed/lang/uk.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/embed/plugin.js +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/find/dialogs/find.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/iframedialog/plugin.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/link/dialogs/link.js +11 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/plugins/pastefromword/filter/default.js +10 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/placeholder/lang/en.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/placeholder/plugin.js +6 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/scayt/dialogs/options.js +8 -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/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- 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/lib/generators/ckeditor/base/templates/ckeditor/plugins/specialchar/lang/en.js +6 -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/lib/generators/ckeditor/base/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -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/lang/he.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/lib/generators/ckeditor/base/templates/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/dialog.css +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/editor.css +13 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/icons_rtl.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/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/skin.js +7 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/kama/templates.css +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/dialog.css +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/editor.css +14 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/icons_rtl.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/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/skin.js +6 -0
- data/{generators/ckeditor_install → lib/generators/ckeditor/base}/templates/ckeditor/skins/office2003/templates.css +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/dialog.css +9 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/editor.css +13 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/icons_rtl.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/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/skin.js +6 -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/lib/generators/ckeditor/base/templates/ckeditor/themes/default/theme.js +8 -0
- data/lib/generators/ckeditor/migration/USAGE +12 -0
- 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/lib/generators/ckeditor/migration/templates/models/paperclip/asset.rb +95 -0
- 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 +693 -670
- data/app/controllers/ckeditor_controller.rb +0 -85
- data/app/helpers/ckeditor_helper.rb +0 -38
- data/app/views/ckeditor/files.html.erb +0 -91
- data/app/views/ckeditor/images.html.erb +0 -91
- data/examples/s3/s3.yml +0 -2
- data/generators/ckeditor_install/USAGE +0 -7
- data/generators/ckeditor_install/ckeditor_install_generator.rb +0 -28
- data/generators/ckeditor_install/templates/README +0 -0
- data/generators/ckeditor_install/templates/ckeditor.rb +0 -56
- data/generators/ckeditor_install/templates/ckeditor/CHANGES.html +0 -993
- data/generators/ckeditor_install/templates/ckeditor/_samples/api.html +0 -152
- data/generators/ckeditor_install/templates/ckeditor/_samples/index.html +0 -57
- data/generators/ckeditor_install/templates/ckeditor/_source/adapters/jquery.js +0 -297
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ckeditor_base.js +0 -196
- data/generators/ckeditor_install/templates/ckeditor/_source/core/config.js +0 -430
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/document.js +0 -224
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/domobject.js +0 -255
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/element.js +0 -1564
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/node.js +0 -683
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/range.js +0 -1883
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/rangelist.js +0 -214
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/walker.js +0 -445
- data/generators/ckeditor_install/templates/ckeditor/_source/core/editor.js +0 -924
- data/generators/ckeditor_install/templates/ckeditor/_source/core/env.js +0 -270
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/element.js +0 -240
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/fragment.js +0 -504
- data/generators/ckeditor_install/templates/ckeditor/_source/core/imagecacher.js +0 -80
- data/generators/ckeditor_install/templates/ckeditor/_source/core/loader.js +0 -243
- data/generators/ckeditor_install/templates/ckeditor/_source/core/skins.js +0 -212
- data/generators/ckeditor_install/templates/ckeditor/_source/core/tools.js +0 -734
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ui.js +0 -116
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/_translationstatus.txt +0 -60
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/af.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ar.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bg.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bn.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bs.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ca.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/cs.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/cy.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/da.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/de.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/el.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-au.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-ca.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-gb.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/eo.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/es.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/et.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/eu.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fa.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fi.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fo.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fr-ca.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fr.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/gl.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/gu.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/he.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hi.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hr.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hu.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/is.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/it.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ja.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/km.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ko.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/lt.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/lv.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/mn.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ms.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/nb.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/nl.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/no.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pl.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pt-br.js +0 -757
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pt.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ro.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ru.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sk.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sl.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sr-latn.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sr.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sv.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/th.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/tr.js +0 -757
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/uk.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/vi.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/zh-cn.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/zh.js +0 -758
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/bidi/plugin.js +0 -259
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/button/plugin.js +0 -277
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -205
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/clipboard/plugin.js +0 -412
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/colorbutton/plugin.js +0 -250
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -336
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/contextmenu/plugin.js +0 -290
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialog/plugin.js +0 -3015
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -213
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialogui/plugin.js +0 -1523
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/div/plugin.js +0 -121
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/elementspath/plugin.js +0 -206
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/enterkey/plugin.js +0 -363
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -122
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/filebrowser/plugin.js +0 -501
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -698
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/flash/plugin.js +0 -168
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/floatpanel/plugin.js +0 -402
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/button.js +0 -135
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -153
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/form.js +0 -177
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -98
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -135
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/select.js +0 -556
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -114
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -199
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/plugin.js +0 -284
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -502
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/image/dialogs/image.js +0 -1396
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/image/plugin.js +0 -81
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/indent/plugin.js +0 -455
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/justify/plugin.js +0 -221
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -99
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/dialogs/link.js +0 -1424
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/plugin.js +0 -238
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/list/plugin.js +0 -710
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/listblock/plugin.js +0 -257
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/maximize/plugin.js +0 -350
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/menu/plugin.js +0 -408
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/menubutton/plugin.js +0 -94
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pagebreak/plugin.js +0 -121
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/panel/plugin.js +0 -399
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/panelbutton/plugin.js +0 -147
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -1170
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pastetext/plugin.js +0 -145
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/removeformat/plugin.js +0 -184
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/richcombo/plugin.js +0 -370
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -534
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/scayt/plugin.js +0 -945
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/plugin.js +0 -155
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showborders/plugin.js +0 -201
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -218
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/sourcearea/plugin.js +0 -207
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -409
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/specialchar/plugin.js +0 -29
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/styles/plugin.js +0 -1479
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/table/dialogs/table.js +0 -672
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tableresize/plugin.js +0 -450
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -533
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/toolbar/plugin.js +0 -481
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/undo/plugin.js +0 -554
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -176
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wsc/plugin.js +0 -33
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -1146
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/dialog.css +0 -882
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/icons.css +0 -357
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/mainui.css +0 -195
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/menu.css +0 -216
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/richcombo.css +0 -277
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/skin.js +0 -268
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/toolbar.css +0 -409
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/dialog.css +0 -785
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/icons.css +0 -354
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/mainui.css +0 -145
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/menu.css +0 -213
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/richcombo.css +0 -297
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/skin.js +0 -81
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/toolbar.css +0 -470
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/dialog.css +0 -800
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/icons.css +0 -354
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/mainui.css +0 -154
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/menu.css +0 -215
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/richcombo.css +0 -297
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/skin.js +0 -77
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/toolbar.css +0 -423
- data/generators/ckeditor_install/templates/ckeditor/_source/themes/default/theme.js +0 -361
- data/generators/ckeditor_install/templates/ckeditor/adapters/jquery.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/ckeditor.js +0 -137
- data/generators/ckeditor_install/templates/ckeditor/ckeditor.pack +0 -211
- 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/ckeditor_source.js +0 -25
- 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/clipboard/dialogs/paste.js +0 -7
- data/generators/ckeditor_install/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
- data/generators/ckeditor_install/templates/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/button.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/textfield.js +0 -7
- data/generators/ckeditor_install/templates/ckeditor/plugins/image/dialogs/image.js +0 -13
- data/generators/ckeditor_install/templates/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/plugins/link/dialogs/link.js +0 -11
- data/generators/ckeditor_install/templates/ckeditor/plugins/pastefromword/filter/default.js +0 -10
- data/generators/ckeditor_install/templates/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- 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_install/templates/ckeditor/plugins/tableresize/plugin.js +0 -7
- data/generators/ckeditor_install/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -8
- data/generators/ckeditor_install/templates/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/dialog.css +0 -9
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/editor.css +0 -12
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/skin.js +0 -7
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/dialog.css +0 -9
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/editor.css +0 -13
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/skin.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/dialog.css +0 -9
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/editor.css +0 -12
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/skin.js +0 -6
- data/generators/ckeditor_install/templates/ckeditor/themes/default/theme.js +0 -8
- data/generators/ckeditor_migration/USAGE +0 -12
- data/generators/ckeditor_migration/ckeditor_migration_generator.rb +0 -36
- data/generators/ckeditor_migration/templates/models/paperclip/asset.rb +0 -88
- data/lib/ckeditor/safe_buffer.rb +0 -34
@@ -1,81 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*/
|
5
|
-
|
6
|
-
/**
|
7
|
-
* @file Image plugin
|
8
|
-
*/
|
9
|
-
|
10
|
-
CKEDITOR.plugins.add( 'image',
|
11
|
-
{
|
12
|
-
init : function( editor )
|
13
|
-
{
|
14
|
-
var pluginName = 'image';
|
15
|
-
|
16
|
-
// Register the dialog.
|
17
|
-
CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/image.js' );
|
18
|
-
|
19
|
-
// Register the command.
|
20
|
-
editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
|
21
|
-
|
22
|
-
// Register the toolbar button.
|
23
|
-
editor.ui.addButton( 'Image',
|
24
|
-
{
|
25
|
-
label : editor.lang.common.image,
|
26
|
-
command : pluginName
|
27
|
-
});
|
28
|
-
|
29
|
-
editor.on( 'doubleclick', function( evt )
|
30
|
-
{
|
31
|
-
var element = evt.data.element;
|
32
|
-
|
33
|
-
if ( element.is( 'img' ) && !element.getAttribute( '_cke_realelement' ) )
|
34
|
-
evt.data.dialog = 'image';
|
35
|
-
});
|
36
|
-
|
37
|
-
// If the "menu" plugin is loaded, register the menu items.
|
38
|
-
if ( editor.addMenuItems )
|
39
|
-
{
|
40
|
-
editor.addMenuItems(
|
41
|
-
{
|
42
|
-
image :
|
43
|
-
{
|
44
|
-
label : editor.lang.image.menu,
|
45
|
-
command : 'image',
|
46
|
-
group : 'image'
|
47
|
-
}
|
48
|
-
});
|
49
|
-
}
|
50
|
-
|
51
|
-
// If the "contextmenu" plugin is loaded, register the listeners.
|
52
|
-
if ( editor.contextMenu )
|
53
|
-
{
|
54
|
-
editor.contextMenu.addListener( function( element, selection )
|
55
|
-
{
|
56
|
-
if ( !element || !element.is( 'img' ) || element.getAttribute( '_cke_realelement' ) || element.isReadOnly() )
|
57
|
-
return null;
|
58
|
-
|
59
|
-
return { image : CKEDITOR.TRISTATE_OFF };
|
60
|
-
});
|
61
|
-
}
|
62
|
-
}
|
63
|
-
} );
|
64
|
-
|
65
|
-
/**
|
66
|
-
* Whether to remove links when emptying the link URL field in the image dialog.
|
67
|
-
* @type Boolean
|
68
|
-
* @default true
|
69
|
-
* @example
|
70
|
-
* config.image_removeLinkByEmptyURL = false;
|
71
|
-
*/
|
72
|
-
CKEDITOR.config.image_removeLinkByEmptyURL = true;
|
73
|
-
|
74
|
-
/**
|
75
|
-
* Padding text to set off the image in preview area.
|
76
|
-
* @name CKEDITOR.config.image_previewText
|
77
|
-
* @type String
|
78
|
-
* @default "Lorem ipsum dolor..." placehoder text.
|
79
|
-
* @example
|
80
|
-
* config.image_previewText = CKEDITOR.tools.repeat( '___ ', 100 );
|
81
|
-
*/
|
@@ -1,455 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*/
|
5
|
-
|
6
|
-
/**
|
7
|
-
* @file Increse and decrease indent commands.
|
8
|
-
*/
|
9
|
-
|
10
|
-
(function()
|
11
|
-
{
|
12
|
-
var listNodeNames = { ol : 1, ul : 1 };
|
13
|
-
|
14
|
-
var isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
|
15
|
-
isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true );
|
16
|
-
|
17
|
-
function setState( editor, state )
|
18
|
-
{
|
19
|
-
editor.getCommand( this.name ).setState( state );
|
20
|
-
}
|
21
|
-
|
22
|
-
function onSelectionChange( evt )
|
23
|
-
{
|
24
|
-
var editor = evt.editor;
|
25
|
-
|
26
|
-
var elementPath = evt.data.path,
|
27
|
-
list = elementPath && elementPath.contains( listNodeNames );
|
28
|
-
|
29
|
-
if ( list )
|
30
|
-
return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
|
31
|
-
|
32
|
-
if ( !this.useIndentClasses && this.name == 'indent' )
|
33
|
-
return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
|
34
|
-
|
35
|
-
var path = evt.data.path,
|
36
|
-
firstBlock = path.block || path.blockLimit;
|
37
|
-
if ( !firstBlock )
|
38
|
-
return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
|
39
|
-
|
40
|
-
if ( this.useIndentClasses )
|
41
|
-
{
|
42
|
-
var indentClass = firstBlock.$.className.match( this.classNameRegex ),
|
43
|
-
indentStep = 0;
|
44
|
-
if ( indentClass )
|
45
|
-
{
|
46
|
-
indentClass = indentClass[1];
|
47
|
-
indentStep = this.indentClassMap[ indentClass ];
|
48
|
-
}
|
49
|
-
if ( ( this.name == 'outdent' && !indentStep ) ||
|
50
|
-
( this.name == 'indent' && indentStep == editor.config.indentClasses.length ) )
|
51
|
-
return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
|
52
|
-
return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
|
53
|
-
}
|
54
|
-
else
|
55
|
-
{
|
56
|
-
var indent = parseInt( firstBlock.getStyle( getIndentCssProperty( firstBlock ) ), 10 );
|
57
|
-
if ( isNaN( indent ) )
|
58
|
-
indent = 0;
|
59
|
-
if ( indent <= 0 )
|
60
|
-
return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
|
61
|
-
return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
function indentCommand( editor, name )
|
66
|
-
{
|
67
|
-
this.name = name;
|
68
|
-
this.useIndentClasses = editor.config.indentClasses && editor.config.indentClasses.length > 0;
|
69
|
-
if ( this.useIndentClasses )
|
70
|
-
{
|
71
|
-
this.classNameRegex = new RegExp( '(?:^|\\s+)(' + editor.config.indentClasses.join( '|' ) + ')(?=$|\\s)' );
|
72
|
-
this.indentClassMap = {};
|
73
|
-
for ( var i = 0 ; i < editor.config.indentClasses.length ; i++ )
|
74
|
-
this.indentClassMap[ editor.config.indentClasses[i] ] = i + 1;
|
75
|
-
}
|
76
|
-
|
77
|
-
this.startDisabled = name == 'outdent';
|
78
|
-
}
|
79
|
-
|
80
|
-
// Returns the CSS property to be used for identing a given element.
|
81
|
-
function getIndentCssProperty( element )
|
82
|
-
{
|
83
|
-
return element.getComputedStyle( 'direction' ) == 'ltr' ? 'margin-left' : 'margin-right';
|
84
|
-
}
|
85
|
-
|
86
|
-
function isListItem( node )
|
87
|
-
{
|
88
|
-
return node.type = CKEDITOR.NODE_ELEMENT && node.is( 'li' );
|
89
|
-
}
|
90
|
-
|
91
|
-
indentCommand.prototype = {
|
92
|
-
exec : function( editor )
|
93
|
-
{
|
94
|
-
var self = this, database = {};
|
95
|
-
|
96
|
-
function indentList( listNode )
|
97
|
-
{
|
98
|
-
// Our starting and ending points of the range might be inside some blocks under a list item...
|
99
|
-
// So before playing with the iterator, we need to expand the block to include the list items.
|
100
|
-
var startContainer = range.startContainer,
|
101
|
-
endContainer = range.endContainer;
|
102
|
-
while ( startContainer && !startContainer.getParent().equals( listNode ) )
|
103
|
-
startContainer = startContainer.getParent();
|
104
|
-
while ( endContainer && !endContainer.getParent().equals( listNode ) )
|
105
|
-
endContainer = endContainer.getParent();
|
106
|
-
|
107
|
-
if ( !startContainer || !endContainer )
|
108
|
-
return;
|
109
|
-
|
110
|
-
// Now we can iterate over the individual items on the same tree depth.
|
111
|
-
var block = startContainer,
|
112
|
-
itemsToMove = [],
|
113
|
-
stopFlag = false;
|
114
|
-
while ( !stopFlag )
|
115
|
-
{
|
116
|
-
if ( block.equals( endContainer ) )
|
117
|
-
stopFlag = true;
|
118
|
-
itemsToMove.push( block );
|
119
|
-
block = block.getNext();
|
120
|
-
}
|
121
|
-
if ( itemsToMove.length < 1 )
|
122
|
-
return;
|
123
|
-
|
124
|
-
// Do indent or outdent operations on the array model of the list, not the
|
125
|
-
// list's DOM tree itself. The array model demands that it knows as much as
|
126
|
-
// possible about the surrounding lists, we need to feed it the further
|
127
|
-
// ancestor node that is still a list.
|
128
|
-
var listParents = listNode.getParents( true );
|
129
|
-
for ( var i = 0 ; i < listParents.length ; i++ )
|
130
|
-
{
|
131
|
-
if ( listParents[i].getName && listNodeNames[ listParents[i].getName() ] )
|
132
|
-
{
|
133
|
-
listNode = listParents[i];
|
134
|
-
break;
|
135
|
-
}
|
136
|
-
}
|
137
|
-
var indentOffset = self.name == 'indent' ? 1 : -1,
|
138
|
-
startItem = itemsToMove[0],
|
139
|
-
lastItem = itemsToMove[ itemsToMove.length - 1 ];
|
140
|
-
|
141
|
-
// Convert the list DOM tree into a one dimensional array.
|
142
|
-
var listArray = CKEDITOR.plugins.list.listToArray( listNode, database );
|
143
|
-
|
144
|
-
// Apply indenting or outdenting on the array.
|
145
|
-
var baseIndent = listArray[ lastItem.getCustomData( 'listarray_index' ) ].indent;
|
146
|
-
for ( i = startItem.getCustomData( 'listarray_index' ); i <= lastItem.getCustomData( 'listarray_index' ); i++ )
|
147
|
-
{
|
148
|
-
listArray[ i ].indent += indentOffset;
|
149
|
-
// Make sure the newly created sublist get a brand-new element of the same type. (#5372)
|
150
|
-
var listRoot = listArray[ i ].parent;
|
151
|
-
listArray[ i ].parent = new CKEDITOR.dom.element( listRoot.getName(), listRoot.getDocument() );
|
152
|
-
}
|
153
|
-
|
154
|
-
for ( i = lastItem.getCustomData( 'listarray_index' ) + 1 ;
|
155
|
-
i < listArray.length && listArray[i].indent > baseIndent ; i++ )
|
156
|
-
listArray[i].indent += indentOffset;
|
157
|
-
|
158
|
-
// Convert the array back to a DOM forest (yes we might have a few subtrees now).
|
159
|
-
// And replace the old list with the new forest.
|
160
|
-
var newListDir = listNode.getAttribute( 'dir' ) || listNode.getStyle( 'direction' );
|
161
|
-
var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode, newListDir );
|
162
|
-
|
163
|
-
// Avoid nested <li> after outdent even they're visually same,
|
164
|
-
// recording them for later refactoring.(#3982)
|
165
|
-
if ( self.name == 'outdent' )
|
166
|
-
{
|
167
|
-
var parentLiElement;
|
168
|
-
if ( ( parentLiElement = listNode.getParent() ) && parentLiElement.is( 'li' ) )
|
169
|
-
{
|
170
|
-
var children = newList.listNode.getChildren(),
|
171
|
-
pendingLis = [],
|
172
|
-
count = children.count(),
|
173
|
-
child;
|
174
|
-
|
175
|
-
for ( i = count - 1 ; i >= 0 ; i-- )
|
176
|
-
{
|
177
|
-
if ( ( child = children.getItem( i ) ) && child.is && child.is( 'li' ) )
|
178
|
-
pendingLis.push( child );
|
179
|
-
}
|
180
|
-
}
|
181
|
-
}
|
182
|
-
|
183
|
-
if ( newList )
|
184
|
-
newList.listNode.replace( listNode );
|
185
|
-
|
186
|
-
// Move the nested <li> to be appeared after the parent.
|
187
|
-
if ( pendingLis && pendingLis.length )
|
188
|
-
{
|
189
|
-
for ( i = 0; i < pendingLis.length ; i++ )
|
190
|
-
{
|
191
|
-
var li = pendingLis[ i ],
|
192
|
-
followingList = li;
|
193
|
-
|
194
|
-
// Nest preceding <ul>/<ol> inside current <li> if any.
|
195
|
-
while ( ( followingList = followingList.getNext() ) &&
|
196
|
-
followingList.is &&
|
197
|
-
followingList.getName() in listNodeNames )
|
198
|
-
{
|
199
|
-
// IE requires a filler NBSP for nested list inside empty list item,
|
200
|
-
// otherwise the list item will be inaccessiable. (#4476)
|
201
|
-
if ( CKEDITOR.env.ie && !li.getFirst( function( node ){ return isNotWhitespaces( node ) && isNotBookmark( node ); } ) )
|
202
|
-
li.append( range.document.createText( '\u00a0' ) );
|
203
|
-
|
204
|
-
li.append( followingList );
|
205
|
-
}
|
206
|
-
|
207
|
-
li.insertAfter( parentLiElement );
|
208
|
-
}
|
209
|
-
}
|
210
|
-
}
|
211
|
-
|
212
|
-
function indentBlock()
|
213
|
-
{
|
214
|
-
var iterator = range.createIterator(),
|
215
|
-
enterMode = editor.config.enterMode;
|
216
|
-
iterator.enforceRealBlocks = true;
|
217
|
-
iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
|
218
|
-
var block;
|
219
|
-
while ( ( block = iterator.getNextParagraph() ) )
|
220
|
-
indentElement( block );
|
221
|
-
}
|
222
|
-
|
223
|
-
function indentElement( element )
|
224
|
-
{
|
225
|
-
if ( element.getCustomData( 'indent_processed' ) )
|
226
|
-
return false;
|
227
|
-
|
228
|
-
if ( self.useIndentClasses )
|
229
|
-
{
|
230
|
-
// Transform current class name to indent step index.
|
231
|
-
var indentClass = element.$.className.match( self.classNameRegex ),
|
232
|
-
indentStep = 0;
|
233
|
-
if ( indentClass )
|
234
|
-
{
|
235
|
-
indentClass = indentClass[1];
|
236
|
-
indentStep = self.indentClassMap[ indentClass ];
|
237
|
-
}
|
238
|
-
|
239
|
-
// Operate on indent step index, transform indent step index back to class
|
240
|
-
// name.
|
241
|
-
if ( self.name == 'outdent' )
|
242
|
-
indentStep--;
|
243
|
-
else
|
244
|
-
indentStep++;
|
245
|
-
|
246
|
-
if ( indentStep < 0 )
|
247
|
-
return false;
|
248
|
-
|
249
|
-
indentStep = Math.min( indentStep, editor.config.indentClasses.length );
|
250
|
-
indentStep = Math.max( indentStep, 0 );
|
251
|
-
var className = CKEDITOR.tools.ltrim( element.$.className.replace( self.classNameRegex, '' ) );
|
252
|
-
if ( indentStep < 1 )
|
253
|
-
element.$.className = className;
|
254
|
-
else
|
255
|
-
element.addClass( editor.config.indentClasses[ indentStep - 1 ] );
|
256
|
-
}
|
257
|
-
else
|
258
|
-
{
|
259
|
-
var indentCssProperty = getIndentCssProperty( element ),
|
260
|
-
currentOffset = parseInt( element.getStyle( indentCssProperty ), 10 );
|
261
|
-
if ( isNaN( currentOffset ) )
|
262
|
-
currentOffset = 0;
|
263
|
-
var indentOffset = editor.config.indentOffset || 40;
|
264
|
-
currentOffset += ( self.name == 'indent' ? 1 : -1 ) * indentOffset;
|
265
|
-
|
266
|
-
if ( currentOffset < 0 )
|
267
|
-
return false;
|
268
|
-
|
269
|
-
currentOffset = Math.max( currentOffset, 0 );
|
270
|
-
currentOffset = Math.ceil( currentOffset / indentOffset ) * indentOffset;
|
271
|
-
element.setStyle( indentCssProperty, currentOffset ? currentOffset + ( editor.config.indentUnit || 'px' ) : '' );
|
272
|
-
if ( element.getAttribute( 'style' ) === '' )
|
273
|
-
element.removeAttribute( 'style' );
|
274
|
-
}
|
275
|
-
|
276
|
-
CKEDITOR.dom.element.setMarker( database, element, 'indent_processed', 1 );
|
277
|
-
return true;
|
278
|
-
}
|
279
|
-
|
280
|
-
var selection = editor.getSelection(),
|
281
|
-
bookmarks = selection.createBookmarks( 1 ),
|
282
|
-
ranges = selection && selection.getRanges( 1 ),
|
283
|
-
range;
|
284
|
-
|
285
|
-
|
286
|
-
var iterator = ranges.createIterator();
|
287
|
-
while ( ( range = iterator.getNextRange() ) )
|
288
|
-
{
|
289
|
-
var rangeRoot = range.getCommonAncestor(),
|
290
|
-
nearestListBlock = rangeRoot;
|
291
|
-
|
292
|
-
while ( nearestListBlock && !( nearestListBlock.type == CKEDITOR.NODE_ELEMENT &&
|
293
|
-
listNodeNames[ nearestListBlock.getName() ] ) )
|
294
|
-
nearestListBlock = nearestListBlock.getParent();
|
295
|
-
|
296
|
-
// Avoid having selection enclose the entire list. (#6138)
|
297
|
-
// [<ul><li>...</li></ul>] =><ul><li>[...]</li></ul>
|
298
|
-
if ( !nearestListBlock )
|
299
|
-
{
|
300
|
-
var selectedNode = range.getEnclosedNode();
|
301
|
-
if ( selectedNode
|
302
|
-
&& selectedNode.type == CKEDITOR.NODE_ELEMENT
|
303
|
-
&& selectedNode.getName() in listNodeNames)
|
304
|
-
{
|
305
|
-
range.setStartAt( selectedNode, CKEDITOR.POSITION_AFTER_START );
|
306
|
-
range.setEndAt( selectedNode, CKEDITOR.POSITION_BEFORE_END );
|
307
|
-
nearestListBlock = selectedNode;
|
308
|
-
}
|
309
|
-
}
|
310
|
-
|
311
|
-
// Avoid selection anchors under list root.
|
312
|
-
// <ul>[<li>...</li>]</ul> => <ul><li>[...]</li></ul>
|
313
|
-
if ( nearestListBlock && range.startContainer.type == CKEDITOR.NODE_ELEMENT
|
314
|
-
&& range.startContainer.getName() in listNodeNames )
|
315
|
-
{
|
316
|
-
var walker = new CKEDITOR.dom.walker( range );
|
317
|
-
walker.evaluator = isListItem;
|
318
|
-
range.startContainer = walker.next();
|
319
|
-
}
|
320
|
-
|
321
|
-
if ( nearestListBlock && range.endContainer.type == CKEDITOR.NODE_ELEMENT
|
322
|
-
&& range.endContainer.getName() in listNodeNames )
|
323
|
-
{
|
324
|
-
walker = new CKEDITOR.dom.walker( range );
|
325
|
-
walker.evaluator = isListItem;
|
326
|
-
range.endContainer = walker.previous();
|
327
|
-
}
|
328
|
-
|
329
|
-
if ( nearestListBlock )
|
330
|
-
{
|
331
|
-
var firstListItem = nearestListBlock.getFirst( function( node )
|
332
|
-
{
|
333
|
-
return node.type == CKEDITOR.NODE_ELEMENT && node.is( 'li' );
|
334
|
-
}),
|
335
|
-
rangeStart = range.startContainer,
|
336
|
-
indentWholeList = firstListItem.equals( rangeStart ) || firstListItem.contains( rangeStart );
|
337
|
-
|
338
|
-
// Indent the entire list if cursor is inside the first list item. (#3893)
|
339
|
-
// Only do that for indenting or when using indent classes or when there is something to outdent. (#6141)
|
340
|
-
if ( !( indentWholeList &&
|
341
|
-
( self.name == 'indent' || self.useIndentClasses || parseInt( nearestListBlock.getStyle( getIndentCssProperty( nearestListBlock ) ), 10 ) ) &&
|
342
|
-
indentElement( nearestListBlock ) ) )
|
343
|
-
indentList( nearestListBlock );
|
344
|
-
}
|
345
|
-
else
|
346
|
-
indentBlock();
|
347
|
-
}
|
348
|
-
|
349
|
-
// Clean up the markers.
|
350
|
-
CKEDITOR.dom.element.clearAllMarkers( database );
|
351
|
-
|
352
|
-
editor.forceNextSelectionCheck();
|
353
|
-
selection.selectBookmarks( bookmarks );
|
354
|
-
}
|
355
|
-
};
|
356
|
-
|
357
|
-
CKEDITOR.plugins.add( 'indent',
|
358
|
-
{
|
359
|
-
init : function( editor )
|
360
|
-
{
|
361
|
-
// Register commands.
|
362
|
-
var indent = new indentCommand( editor, 'indent' ),
|
363
|
-
outdent = new indentCommand( editor, 'outdent' );
|
364
|
-
editor.addCommand( 'indent', indent );
|
365
|
-
editor.addCommand( 'outdent', outdent );
|
366
|
-
|
367
|
-
// Register the toolbar buttons.
|
368
|
-
editor.ui.addButton( 'Indent',
|
369
|
-
{
|
370
|
-
label : editor.lang.indent,
|
371
|
-
command : 'indent'
|
372
|
-
});
|
373
|
-
editor.ui.addButton( 'Outdent',
|
374
|
-
{
|
375
|
-
label : editor.lang.outdent,
|
376
|
-
command : 'outdent'
|
377
|
-
});
|
378
|
-
|
379
|
-
// Register the state changing handlers.
|
380
|
-
editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, indent ) );
|
381
|
-
editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, outdent ) );
|
382
|
-
|
383
|
-
// [IE6/7] Raw lists are using margin instead of padding for visual indentation in wysiwyg mode. (#3893)
|
384
|
-
if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat )
|
385
|
-
{
|
386
|
-
editor.addCss(
|
387
|
-
"ul,ol" +
|
388
|
-
"{" +
|
389
|
-
" margin-left: 0px;" +
|
390
|
-
" padding-left: 40px;" +
|
391
|
-
"}" );
|
392
|
-
}
|
393
|
-
|
394
|
-
// Register dirChanged listener.
|
395
|
-
editor.on( 'dirChanged', function( e )
|
396
|
-
{
|
397
|
-
var range = new CKEDITOR.dom.range( editor.document );
|
398
|
-
range.setStartBefore( e.data );
|
399
|
-
range.setEndAfter( e.data );
|
400
|
-
|
401
|
-
var walker = new CKEDITOR.dom.walker( range ),
|
402
|
-
node;
|
403
|
-
|
404
|
-
while ( ( node = walker.next() ) )
|
405
|
-
{
|
406
|
-
if ( node.type == CKEDITOR.NODE_ELEMENT )
|
407
|
-
{
|
408
|
-
// A child with the defined dir is to be ignored.
|
409
|
-
if ( !node.equals( e.data ) && node.getDirection() )
|
410
|
-
{
|
411
|
-
range.setStartAfter( node );
|
412
|
-
walker = new CKEDITOR.dom.walker( range );
|
413
|
-
continue;
|
414
|
-
}
|
415
|
-
|
416
|
-
// Switch the margins.
|
417
|
-
var marginLeft = node.getStyle( 'margin-right' ),
|
418
|
-
marginRight = node.getStyle( 'margin-left' );
|
419
|
-
|
420
|
-
marginLeft ? node.setStyle( 'margin-left', marginLeft ) : node.removeStyle( 'margin-left' );
|
421
|
-
marginRight ? node.setStyle( 'margin-right', marginRight ) : node.removeStyle( 'margin-right' );
|
422
|
-
}
|
423
|
-
}
|
424
|
-
});
|
425
|
-
},
|
426
|
-
|
427
|
-
requires : [ 'domiterator', 'list' ]
|
428
|
-
} );
|
429
|
-
})();
|
430
|
-
|
431
|
-
/**
|
432
|
-
* Size of each indentation step
|
433
|
-
* @type Number
|
434
|
-
* @default 40
|
435
|
-
* @example
|
436
|
-
* config.indentOffset = 4;
|
437
|
-
*/
|
438
|
-
|
439
|
-
/**
|
440
|
-
* Unit for the indentation style
|
441
|
-
* @type String
|
442
|
-
* @default 'px'
|
443
|
-
* @example
|
444
|
-
* config.indentUnit = 'em';
|
445
|
-
*/
|
446
|
-
|
447
|
-
/**
|
448
|
-
* List of classes to use for indenting the contents. If it's null, no classes will be used
|
449
|
-
* and instead the {@link #indentUnit} and {@link #indentOffset} properties will be used.
|
450
|
-
* @type Array
|
451
|
-
* default null
|
452
|
-
* @example
|
453
|
-
* // Use the classes 'Indent1', 'Indent2', 'Indent3'
|
454
|
-
* config.indentClasses = ['Indent1', 'Indent2', 'Indent3'];
|
455
|
-
*/
|