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
File without changes
|
File without changes
|
@@ -0,0 +1,696 @@
|
|
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
|
+
* @fileOverview Defines the {@link CKEDITOR.dom.node} class, which is the base
|
8
|
+
* class for classes that represent DOM nodes.
|
9
|
+
*/
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Base class for classes representing DOM nodes. This constructor may return
|
13
|
+
* and instance of classes that inherits this class, like
|
14
|
+
* {@link CKEDITOR.dom.element} or {@link CKEDITOR.dom.text}.
|
15
|
+
* @augments CKEDITOR.dom.domObject
|
16
|
+
* @param {Object} domNode A native DOM node.
|
17
|
+
* @constructor
|
18
|
+
* @see CKEDITOR.dom.element
|
19
|
+
* @see CKEDITOR.dom.text
|
20
|
+
* @example
|
21
|
+
*/
|
22
|
+
CKEDITOR.dom.node = function( domNode )
|
23
|
+
{
|
24
|
+
if ( domNode )
|
25
|
+
{
|
26
|
+
switch ( domNode.nodeType )
|
27
|
+
{
|
28
|
+
// Safari don't consider document as element node type. (#3389)
|
29
|
+
case CKEDITOR.NODE_DOCUMENT :
|
30
|
+
return new CKEDITOR.dom.document( domNode );
|
31
|
+
|
32
|
+
case CKEDITOR.NODE_ELEMENT :
|
33
|
+
return new CKEDITOR.dom.element( domNode );
|
34
|
+
|
35
|
+
case CKEDITOR.NODE_TEXT :
|
36
|
+
return new CKEDITOR.dom.text( domNode );
|
37
|
+
}
|
38
|
+
|
39
|
+
// Call the base constructor.
|
40
|
+
CKEDITOR.dom.domObject.call( this, domNode );
|
41
|
+
}
|
42
|
+
|
43
|
+
return this;
|
44
|
+
};
|
45
|
+
|
46
|
+
CKEDITOR.dom.node.prototype = new CKEDITOR.dom.domObject();
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Element node type.
|
50
|
+
* @constant
|
51
|
+
* @example
|
52
|
+
*/
|
53
|
+
CKEDITOR.NODE_ELEMENT = 1;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Document node type.
|
57
|
+
* @constant
|
58
|
+
* @example
|
59
|
+
*/
|
60
|
+
CKEDITOR.NODE_DOCUMENT = 9;
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Text node type.
|
64
|
+
* @constant
|
65
|
+
* @example
|
66
|
+
*/
|
67
|
+
CKEDITOR.NODE_TEXT = 3;
|
68
|
+
|
69
|
+
/**
|
70
|
+
* Comment node type.
|
71
|
+
* @constant
|
72
|
+
* @example
|
73
|
+
*/
|
74
|
+
CKEDITOR.NODE_COMMENT = 8;
|
75
|
+
|
76
|
+
CKEDITOR.NODE_DOCUMENT_FRAGMENT = 11;
|
77
|
+
|
78
|
+
CKEDITOR.POSITION_IDENTICAL = 0;
|
79
|
+
CKEDITOR.POSITION_DISCONNECTED = 1;
|
80
|
+
CKEDITOR.POSITION_FOLLOWING = 2;
|
81
|
+
CKEDITOR.POSITION_PRECEDING = 4;
|
82
|
+
CKEDITOR.POSITION_IS_CONTAINED = 8;
|
83
|
+
CKEDITOR.POSITION_CONTAINS = 16;
|
84
|
+
|
85
|
+
CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype,
|
86
|
+
/** @lends CKEDITOR.dom.node.prototype */
|
87
|
+
{
|
88
|
+
/**
|
89
|
+
* Makes this node child of another element.
|
90
|
+
* @param {CKEDITOR.dom.element} element The target element to which append
|
91
|
+
* this node.
|
92
|
+
* @returns {CKEDITOR.dom.element} The target element.
|
93
|
+
* @example
|
94
|
+
* var p = new CKEDITOR.dom.element( 'p' );
|
95
|
+
* var strong = new CKEDITOR.dom.element( 'strong' );
|
96
|
+
* strong.appendTo( p );
|
97
|
+
*
|
98
|
+
* // result: "<p><strong></strong></p>"
|
99
|
+
*/
|
100
|
+
appendTo : function( element, toStart )
|
101
|
+
{
|
102
|
+
element.append( this, toStart );
|
103
|
+
return element;
|
104
|
+
},
|
105
|
+
|
106
|
+
clone : function( includeChildren, cloneId )
|
107
|
+
{
|
108
|
+
var $clone = this.$.cloneNode( includeChildren );
|
109
|
+
|
110
|
+
var removeIds = function( node )
|
111
|
+
{
|
112
|
+
if ( node.nodeType != CKEDITOR.NODE_ELEMENT )
|
113
|
+
return;
|
114
|
+
|
115
|
+
if ( !cloneId )
|
116
|
+
node.removeAttribute( 'id', false );
|
117
|
+
node.removeAttribute( 'data-cke-expando', false );
|
118
|
+
|
119
|
+
if ( includeChildren )
|
120
|
+
{
|
121
|
+
var childs = node.childNodes;
|
122
|
+
for ( var i=0; i < childs.length; i++ )
|
123
|
+
removeIds( childs[ i ] );
|
124
|
+
}
|
125
|
+
};
|
126
|
+
|
127
|
+
// The "id" attribute should never be cloned to avoid duplication.
|
128
|
+
removeIds( $clone );
|
129
|
+
|
130
|
+
return new CKEDITOR.dom.node( $clone );
|
131
|
+
},
|
132
|
+
|
133
|
+
hasPrevious : function()
|
134
|
+
{
|
135
|
+
return !!this.$.previousSibling;
|
136
|
+
},
|
137
|
+
|
138
|
+
hasNext : function()
|
139
|
+
{
|
140
|
+
return !!this.$.nextSibling;
|
141
|
+
},
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Inserts this element after a node.
|
145
|
+
* @param {CKEDITOR.dom.node} node The that will preceed this element.
|
146
|
+
* @returns {CKEDITOR.dom.node} The node preceeding this one after
|
147
|
+
* insertion.
|
148
|
+
* @example
|
149
|
+
* var em = new CKEDITOR.dom.element( 'em' );
|
150
|
+
* var strong = new CKEDITOR.dom.element( 'strong' );
|
151
|
+
* strong.insertAfter( em );
|
152
|
+
*
|
153
|
+
* // result: "<em></em><strong></strong>"
|
154
|
+
*/
|
155
|
+
insertAfter : function( node )
|
156
|
+
{
|
157
|
+
node.$.parentNode.insertBefore( this.$, node.$.nextSibling );
|
158
|
+
return node;
|
159
|
+
},
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Inserts this element before a node.
|
163
|
+
* @param {CKEDITOR.dom.node} node The that will be after this element.
|
164
|
+
* @returns {CKEDITOR.dom.node} The node being inserted.
|
165
|
+
* @example
|
166
|
+
* var em = new CKEDITOR.dom.element( 'em' );
|
167
|
+
* var strong = new CKEDITOR.dom.element( 'strong' );
|
168
|
+
* strong.insertBefore( em );
|
169
|
+
*
|
170
|
+
* // result: "<strong></strong><em></em>"
|
171
|
+
*/
|
172
|
+
insertBefore : function( node )
|
173
|
+
{
|
174
|
+
node.$.parentNode.insertBefore( this.$, node.$ );
|
175
|
+
return node;
|
176
|
+
},
|
177
|
+
|
178
|
+
insertBeforeMe : function( node )
|
179
|
+
{
|
180
|
+
this.$.parentNode.insertBefore( node.$, this.$ );
|
181
|
+
return node;
|
182
|
+
},
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Retrieves a uniquely identifiable tree address for this node.
|
186
|
+
* The tree address returns is an array of integers, with each integer
|
187
|
+
* indicating a child index of a DOM node, starting from
|
188
|
+
* document.documentElement.
|
189
|
+
*
|
190
|
+
* For example, assuming <body> is the second child from <html> (<head>
|
191
|
+
* being the first), and we'd like to address the third child under the
|
192
|
+
* fourth child of body, the tree address returned would be:
|
193
|
+
* [1, 3, 2]
|
194
|
+
*
|
195
|
+
* The tree address cannot be used for finding back the DOM tree node once
|
196
|
+
* the DOM tree structure has been modified.
|
197
|
+
*/
|
198
|
+
getAddress : function( normalized )
|
199
|
+
{
|
200
|
+
var address = [];
|
201
|
+
var $documentElement = this.getDocument().$.documentElement;
|
202
|
+
var node = this.$;
|
203
|
+
|
204
|
+
while ( node && node != $documentElement )
|
205
|
+
{
|
206
|
+
var parentNode = node.parentNode;
|
207
|
+
var currentIndex = -1;
|
208
|
+
|
209
|
+
if ( parentNode )
|
210
|
+
{
|
211
|
+
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
|
212
|
+
{
|
213
|
+
var candidate = parentNode.childNodes[i];
|
214
|
+
|
215
|
+
if ( normalized &&
|
216
|
+
candidate.nodeType == 3 &&
|
217
|
+
candidate.previousSibling &&
|
218
|
+
candidate.previousSibling.nodeType == 3 )
|
219
|
+
{
|
220
|
+
continue;
|
221
|
+
}
|
222
|
+
|
223
|
+
currentIndex++;
|
224
|
+
|
225
|
+
if ( candidate == node )
|
226
|
+
break;
|
227
|
+
}
|
228
|
+
|
229
|
+
address.unshift( currentIndex );
|
230
|
+
}
|
231
|
+
|
232
|
+
node = parentNode;
|
233
|
+
}
|
234
|
+
|
235
|
+
return address;
|
236
|
+
},
|
237
|
+
|
238
|
+
/**
|
239
|
+
* Gets the document containing this element.
|
240
|
+
* @returns {CKEDITOR.dom.document} The document.
|
241
|
+
* @example
|
242
|
+
* var element = CKEDITOR.document.getById( 'example' );
|
243
|
+
* alert( <b>element.getDocument().equals( CKEDITOR.document )</b> ); // "true"
|
244
|
+
*/
|
245
|
+
getDocument : function()
|
246
|
+
{
|
247
|
+
return new CKEDITOR.dom.document( this.$.ownerDocument || this.$.parentNode.ownerDocument );
|
248
|
+
},
|
249
|
+
|
250
|
+
getIndex : function()
|
251
|
+
{
|
252
|
+
var $ = this.$;
|
253
|
+
|
254
|
+
var currentNode = $.parentNode && $.parentNode.firstChild;
|
255
|
+
var currentIndex = -1;
|
256
|
+
|
257
|
+
while ( currentNode )
|
258
|
+
{
|
259
|
+
currentIndex++;
|
260
|
+
|
261
|
+
if ( currentNode == $ )
|
262
|
+
return currentIndex;
|
263
|
+
|
264
|
+
currentNode = currentNode.nextSibling;
|
265
|
+
}
|
266
|
+
|
267
|
+
return -1;
|
268
|
+
},
|
269
|
+
|
270
|
+
getNextSourceNode : function( startFromSibling, nodeType, guard )
|
271
|
+
{
|
272
|
+
// If "guard" is a node, transform it in a function.
|
273
|
+
if ( guard && !guard.call )
|
274
|
+
{
|
275
|
+
var guardNode = guard;
|
276
|
+
guard = function( node )
|
277
|
+
{
|
278
|
+
return !node.equals( guardNode );
|
279
|
+
};
|
280
|
+
}
|
281
|
+
|
282
|
+
var node = ( !startFromSibling && this.getFirst && this.getFirst() ),
|
283
|
+
parent;
|
284
|
+
|
285
|
+
// Guarding when we're skipping the current element( no children or 'startFromSibling' ).
|
286
|
+
// send the 'moving out' signal even we don't actually dive into.
|
287
|
+
if ( !node )
|
288
|
+
{
|
289
|
+
if ( this.type == CKEDITOR.NODE_ELEMENT && guard && guard( this, true ) === false )
|
290
|
+
return null;
|
291
|
+
node = this.getNext();
|
292
|
+
}
|
293
|
+
|
294
|
+
while ( !node && ( parent = ( parent || this ).getParent() ) )
|
295
|
+
{
|
296
|
+
// The guard check sends the "true" paramenter to indicate that
|
297
|
+
// we are moving "out" of the element.
|
298
|
+
if ( guard && guard( parent, true ) === false )
|
299
|
+
return null;
|
300
|
+
|
301
|
+
node = parent.getNext();
|
302
|
+
}
|
303
|
+
|
304
|
+
if ( !node )
|
305
|
+
return null;
|
306
|
+
|
307
|
+
if ( guard && guard( node ) === false )
|
308
|
+
return null;
|
309
|
+
|
310
|
+
if ( nodeType && nodeType != node.type )
|
311
|
+
return node.getNextSourceNode( false, nodeType, guard );
|
312
|
+
|
313
|
+
return node;
|
314
|
+
},
|
315
|
+
|
316
|
+
getPreviousSourceNode : function( startFromSibling, nodeType, guard )
|
317
|
+
{
|
318
|
+
if ( guard && !guard.call )
|
319
|
+
{
|
320
|
+
var guardNode = guard;
|
321
|
+
guard = function( node )
|
322
|
+
{
|
323
|
+
return !node.equals( guardNode );
|
324
|
+
};
|
325
|
+
}
|
326
|
+
|
327
|
+
var node = ( !startFromSibling && this.getLast && this.getLast() ),
|
328
|
+
parent;
|
329
|
+
|
330
|
+
// Guarding when we're skipping the current element( no children or 'startFromSibling' ).
|
331
|
+
// send the 'moving out' signal even we don't actually dive into.
|
332
|
+
if ( !node )
|
333
|
+
{
|
334
|
+
if ( this.type == CKEDITOR.NODE_ELEMENT && guard && guard( this, true ) === false )
|
335
|
+
return null;
|
336
|
+
node = this.getPrevious();
|
337
|
+
}
|
338
|
+
|
339
|
+
while ( !node && ( parent = ( parent || this ).getParent() ) )
|
340
|
+
{
|
341
|
+
// The guard check sends the "true" paramenter to indicate that
|
342
|
+
// we are moving "out" of the element.
|
343
|
+
if ( guard && guard( parent, true ) === false )
|
344
|
+
return null;
|
345
|
+
|
346
|
+
node = parent.getPrevious();
|
347
|
+
}
|
348
|
+
|
349
|
+
if ( !node )
|
350
|
+
return null;
|
351
|
+
|
352
|
+
if ( guard && guard( node ) === false )
|
353
|
+
return null;
|
354
|
+
|
355
|
+
if ( nodeType && node.type != nodeType )
|
356
|
+
return node.getPreviousSourceNode( false, nodeType, guard );
|
357
|
+
|
358
|
+
return node;
|
359
|
+
},
|
360
|
+
|
361
|
+
getPrevious : function( evaluator )
|
362
|
+
{
|
363
|
+
var previous = this.$, retval;
|
364
|
+
do
|
365
|
+
{
|
366
|
+
previous = previous.previousSibling;
|
367
|
+
retval = previous && new CKEDITOR.dom.node( previous );
|
368
|
+
}
|
369
|
+
while ( retval && evaluator && !evaluator( retval ) )
|
370
|
+
return retval;
|
371
|
+
},
|
372
|
+
|
373
|
+
/**
|
374
|
+
* Gets the node that follows this element in its parent's child list.
|
375
|
+
* @param {Function} evaluator Filtering the result node.
|
376
|
+
* @returns {CKEDITOR.dom.node} The next node or null if not available.
|
377
|
+
* @example
|
378
|
+
* var element = CKEDITOR.dom.element.createFromHtml( '<div><b>Example</b> <i>next</i></div>' );
|
379
|
+
* var first = <b>element.getFirst().getNext()</b>;
|
380
|
+
* alert( first.getName() ); // "i"
|
381
|
+
*/
|
382
|
+
getNext : function( evaluator )
|
383
|
+
{
|
384
|
+
var next = this.$, retval;
|
385
|
+
do
|
386
|
+
{
|
387
|
+
next = next.nextSibling;
|
388
|
+
retval = next && new CKEDITOR.dom.node( next );
|
389
|
+
}
|
390
|
+
while ( retval && evaluator && !evaluator( retval ) )
|
391
|
+
return retval;
|
392
|
+
},
|
393
|
+
|
394
|
+
/**
|
395
|
+
* Gets the parent element for this node.
|
396
|
+
* @returns {CKEDITOR.dom.element} The parent element.
|
397
|
+
* @example
|
398
|
+
* var node = editor.document.getBody().getFirst();
|
399
|
+
* var parent = node.<b>getParent()</b>;
|
400
|
+
* alert( node.getName() ); // "body"
|
401
|
+
*/
|
402
|
+
getParent : function()
|
403
|
+
{
|
404
|
+
var parent = this.$.parentNode;
|
405
|
+
return ( parent && parent.nodeType == 1 ) ? new CKEDITOR.dom.node( parent ) : null;
|
406
|
+
},
|
407
|
+
|
408
|
+
getParents : function( closerFirst )
|
409
|
+
{
|
410
|
+
var node = this;
|
411
|
+
var parents = [];
|
412
|
+
|
413
|
+
do
|
414
|
+
{
|
415
|
+
parents[ closerFirst ? 'push' : 'unshift' ]( node );
|
416
|
+
}
|
417
|
+
while ( ( node = node.getParent() ) )
|
418
|
+
|
419
|
+
return parents;
|
420
|
+
},
|
421
|
+
|
422
|
+
getCommonAncestor : function( node )
|
423
|
+
{
|
424
|
+
if ( node.equals( this ) )
|
425
|
+
return this;
|
426
|
+
|
427
|
+
if ( node.contains && node.contains( this ) )
|
428
|
+
return node;
|
429
|
+
|
430
|
+
var start = this.contains ? this : this.getParent();
|
431
|
+
|
432
|
+
do
|
433
|
+
{
|
434
|
+
if ( start.contains( node ) )
|
435
|
+
return start;
|
436
|
+
}
|
437
|
+
while ( ( start = start.getParent() ) );
|
438
|
+
|
439
|
+
return null;
|
440
|
+
},
|
441
|
+
|
442
|
+
getPosition : function( otherNode )
|
443
|
+
{
|
444
|
+
var $ = this.$;
|
445
|
+
var $other = otherNode.$;
|
446
|
+
|
447
|
+
if ( $.compareDocumentPosition )
|
448
|
+
return $.compareDocumentPosition( $other );
|
449
|
+
|
450
|
+
// IE and Safari have no support for compareDocumentPosition.
|
451
|
+
|
452
|
+
if ( $ == $other )
|
453
|
+
return CKEDITOR.POSITION_IDENTICAL;
|
454
|
+
|
455
|
+
// Only element nodes support contains and sourceIndex.
|
456
|
+
if ( this.type == CKEDITOR.NODE_ELEMENT && otherNode.type == CKEDITOR.NODE_ELEMENT )
|
457
|
+
{
|
458
|
+
if ( $.contains )
|
459
|
+
{
|
460
|
+
if ( $.contains( $other ) )
|
461
|
+
return CKEDITOR.POSITION_CONTAINS + CKEDITOR.POSITION_PRECEDING;
|
462
|
+
|
463
|
+
if ( $other.contains( $ ) )
|
464
|
+
return CKEDITOR.POSITION_IS_CONTAINED + CKEDITOR.POSITION_FOLLOWING;
|
465
|
+
}
|
466
|
+
|
467
|
+
if ( 'sourceIndex' in $ )
|
468
|
+
{
|
469
|
+
return ( $.sourceIndex < 0 || $other.sourceIndex < 0 ) ? CKEDITOR.POSITION_DISCONNECTED :
|
470
|
+
( $.sourceIndex < $other.sourceIndex ) ? CKEDITOR.POSITION_PRECEDING :
|
471
|
+
CKEDITOR.POSITION_FOLLOWING;
|
472
|
+
}
|
473
|
+
}
|
474
|
+
|
475
|
+
// For nodes that don't support compareDocumentPosition, contains
|
476
|
+
// or sourceIndex, their "address" is compared.
|
477
|
+
|
478
|
+
var addressOfThis = this.getAddress(),
|
479
|
+
addressOfOther = otherNode.getAddress(),
|
480
|
+
minLevel = Math.min( addressOfThis.length, addressOfOther.length );
|
481
|
+
|
482
|
+
// Determinate preceed/follow relationship.
|
483
|
+
for ( var i = 0 ; i <= minLevel - 1 ; i++ )
|
484
|
+
{
|
485
|
+
if ( addressOfThis[ i ] != addressOfOther[ i ] )
|
486
|
+
{
|
487
|
+
if ( i < minLevel )
|
488
|
+
{
|
489
|
+
return addressOfThis[ i ] < addressOfOther[ i ] ?
|
490
|
+
CKEDITOR.POSITION_PRECEDING : CKEDITOR.POSITION_FOLLOWING;
|
491
|
+
}
|
492
|
+
break;
|
493
|
+
}
|
494
|
+
}
|
495
|
+
|
496
|
+
// Determinate contains/contained relationship.
|
497
|
+
return ( addressOfThis.length < addressOfOther.length ) ?
|
498
|
+
CKEDITOR.POSITION_CONTAINS + CKEDITOR.POSITION_PRECEDING :
|
499
|
+
CKEDITOR.POSITION_IS_CONTAINED + CKEDITOR.POSITION_FOLLOWING;
|
500
|
+
},
|
501
|
+
|
502
|
+
/**
|
503
|
+
* Gets the closes ancestor node of a specified node name.
|
504
|
+
* @param {String} name Node name of ancestor node.
|
505
|
+
* @param {Boolean} includeSelf (Optional) Whether to include the current
|
506
|
+
* node in the calculation or not.
|
507
|
+
* @returns {CKEDITOR.dom.node} Ancestor node.
|
508
|
+
*/
|
509
|
+
getAscendant : function( name, includeSelf )
|
510
|
+
{
|
511
|
+
var $ = this.$;
|
512
|
+
|
513
|
+
if ( !includeSelf )
|
514
|
+
$ = $.parentNode;
|
515
|
+
|
516
|
+
while ( $ )
|
517
|
+
{
|
518
|
+
if ( $.nodeName && $.nodeName.toLowerCase() == name )
|
519
|
+
return new CKEDITOR.dom.node( $ );
|
520
|
+
|
521
|
+
$ = $.parentNode;
|
522
|
+
}
|
523
|
+
return null;
|
524
|
+
},
|
525
|
+
|
526
|
+
hasAscendant : function( name, includeSelf )
|
527
|
+
{
|
528
|
+
var $ = this.$;
|
529
|
+
|
530
|
+
if ( !includeSelf )
|
531
|
+
$ = $.parentNode;
|
532
|
+
|
533
|
+
while ( $ )
|
534
|
+
{
|
535
|
+
if ( $.nodeName && $.nodeName.toLowerCase() == name )
|
536
|
+
return true;
|
537
|
+
|
538
|
+
$ = $.parentNode;
|
539
|
+
}
|
540
|
+
return false;
|
541
|
+
},
|
542
|
+
|
543
|
+
move : function( target, toStart )
|
544
|
+
{
|
545
|
+
target.append( this.remove(), toStart );
|
546
|
+
},
|
547
|
+
|
548
|
+
/**
|
549
|
+
* Removes this node from the document DOM.
|
550
|
+
* @param {Boolean} [preserveChildren] Indicates that the children
|
551
|
+
* elements must remain in the document, removing only the outer
|
552
|
+
* tags.
|
553
|
+
* @example
|
554
|
+
* var element = CKEDITOR.dom.element.getById( 'MyElement' );
|
555
|
+
* <b>element.remove()</b>;
|
556
|
+
*/
|
557
|
+
remove : function( preserveChildren )
|
558
|
+
{
|
559
|
+
var $ = this.$;
|
560
|
+
var parent = $.parentNode;
|
561
|
+
|
562
|
+
if ( parent )
|
563
|
+
{
|
564
|
+
if ( preserveChildren )
|
565
|
+
{
|
566
|
+
// Move all children before the node.
|
567
|
+
for ( var child ; ( child = $.firstChild ) ; )
|
568
|
+
{
|
569
|
+
parent.insertBefore( $.removeChild( child ), $ );
|
570
|
+
}
|
571
|
+
}
|
572
|
+
|
573
|
+
parent.removeChild( $ );
|
574
|
+
}
|
575
|
+
|
576
|
+
return this;
|
577
|
+
},
|
578
|
+
|
579
|
+
replace : function( nodeToReplace )
|
580
|
+
{
|
581
|
+
this.insertBefore( nodeToReplace );
|
582
|
+
nodeToReplace.remove();
|
583
|
+
},
|
584
|
+
|
585
|
+
trim : function()
|
586
|
+
{
|
587
|
+
this.ltrim();
|
588
|
+
this.rtrim();
|
589
|
+
},
|
590
|
+
|
591
|
+
ltrim : function()
|
592
|
+
{
|
593
|
+
var child;
|
594
|
+
while ( this.getFirst && ( child = this.getFirst() ) )
|
595
|
+
{
|
596
|
+
if ( child.type == CKEDITOR.NODE_TEXT )
|
597
|
+
{
|
598
|
+
var trimmed = CKEDITOR.tools.ltrim( child.getText() ),
|
599
|
+
originalLength = child.getLength();
|
600
|
+
|
601
|
+
if ( !trimmed )
|
602
|
+
{
|
603
|
+
child.remove();
|
604
|
+
continue;
|
605
|
+
}
|
606
|
+
else if ( trimmed.length < originalLength )
|
607
|
+
{
|
608
|
+
child.split( originalLength - trimmed.length );
|
609
|
+
|
610
|
+
// IE BUG: child.remove() may raise JavaScript errors here. (#81)
|
611
|
+
this.$.removeChild( this.$.firstChild );
|
612
|
+
}
|
613
|
+
}
|
614
|
+
break;
|
615
|
+
}
|
616
|
+
},
|
617
|
+
|
618
|
+
rtrim : function()
|
619
|
+
{
|
620
|
+
var child;
|
621
|
+
while ( this.getLast && ( child = this.getLast() ) )
|
622
|
+
{
|
623
|
+
if ( child.type == CKEDITOR.NODE_TEXT )
|
624
|
+
{
|
625
|
+
var trimmed = CKEDITOR.tools.rtrim( child.getText() ),
|
626
|
+
originalLength = child.getLength();
|
627
|
+
|
628
|
+
if ( !trimmed )
|
629
|
+
{
|
630
|
+
child.remove();
|
631
|
+
continue;
|
632
|
+
}
|
633
|
+
else if ( trimmed.length < originalLength )
|
634
|
+
{
|
635
|
+
child.split( trimmed.length );
|
636
|
+
|
637
|
+
// IE BUG: child.getNext().remove() may raise JavaScript errors here.
|
638
|
+
// (#81)
|
639
|
+
this.$.lastChild.parentNode.removeChild( this.$.lastChild );
|
640
|
+
}
|
641
|
+
}
|
642
|
+
break;
|
643
|
+
}
|
644
|
+
|
645
|
+
if ( !CKEDITOR.env.ie && !CKEDITOR.env.opera )
|
646
|
+
{
|
647
|
+
child = this.$.lastChild;
|
648
|
+
|
649
|
+
if ( child && child.type == 1 && child.nodeName.toLowerCase() == 'br' )
|
650
|
+
{
|
651
|
+
// Use "eChildNode.parentNode" instead of "node" to avoid IE bug (#324).
|
652
|
+
child.parentNode.removeChild( child ) ;
|
653
|
+
}
|
654
|
+
}
|
655
|
+
},
|
656
|
+
|
657
|
+
/**
|
658
|
+
* Checks is this node is read-only (should not be changed). It
|
659
|
+
* additionaly returns the element, if any, which defines the read-only
|
660
|
+
* state of this node. It may be the node itself or any of its parent
|
661
|
+
* nodes.
|
662
|
+
* @returns {CKEDITOR.dom.element|Boolean} An element containing
|
663
|
+
* read-only attributes or "false" if none is found.
|
664
|
+
* @since 3.5
|
665
|
+
* @example
|
666
|
+
* // For the following HTML:
|
667
|
+
* // <div contenteditable="false">Some <b>text</b></div>
|
668
|
+
*
|
669
|
+
* // If "ele" is the above <div>
|
670
|
+
* ele.getReadOnlyRoot(); // the <div> element
|
671
|
+
*
|
672
|
+
* // If "ele" is the above <b>
|
673
|
+
* ele.getReadOnlyRoot(); // the <div> element
|
674
|
+
*/
|
675
|
+
isReadOnly : function()
|
676
|
+
{
|
677
|
+
var current = this;
|
678
|
+
while( current )
|
679
|
+
{
|
680
|
+
if ( current.type == CKEDITOR.NODE_ELEMENT )
|
681
|
+
{
|
682
|
+
if ( current.is( 'body' ) || current.getCustomData( '_cke_notReadOnly' ) )
|
683
|
+
break;
|
684
|
+
|
685
|
+
if ( current.getAttribute( 'contentEditable' ) == 'false' )
|
686
|
+
return current;
|
687
|
+
else if ( current.getAttribute( 'contentEditable' ) == 'true' )
|
688
|
+
break;
|
689
|
+
}
|
690
|
+
current = current.getParent();
|
691
|
+
}
|
692
|
+
|
693
|
+
return false;
|
694
|
+
}
|
695
|
+
}
|
696
|
+
);
|