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
|
@@ -0,0 +1,126 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
(function()
|
7
|
+
{
|
8
|
+
var htmlFilterRules =
|
9
|
+
{
|
10
|
+
elements :
|
11
|
+
{
|
12
|
+
$ : function( element )
|
13
|
+
{
|
14
|
+
var attributes = element.attributes,
|
15
|
+
realHtml = attributes && attributes[ 'data-cke-realelement' ],
|
16
|
+
realFragment = realHtml && new CKEDITOR.htmlParser.fragment.fromHtml( decodeURIComponent( realHtml ) ),
|
17
|
+
realElement = realFragment && realFragment.children[ 0 ];
|
18
|
+
|
19
|
+
// If we have width/height in the element, we must move it into
|
20
|
+
// the real element.
|
21
|
+
if ( realElement && element.attributes[ 'data-cke-resizable' ] )
|
22
|
+
{
|
23
|
+
var style = element.attributes.style;
|
24
|
+
|
25
|
+
if ( style )
|
26
|
+
{
|
27
|
+
// Get the width from the style.
|
28
|
+
var match = /(?:^|\s)width\s*:\s*(\d+)/i.exec( style ),
|
29
|
+
width = match && match[1];
|
30
|
+
|
31
|
+
// Get the height from the style.
|
32
|
+
match = /(?:^|\s)height\s*:\s*(\d+)/i.exec( style );
|
33
|
+
var height = match && match[1];
|
34
|
+
|
35
|
+
if ( width )
|
36
|
+
realElement.attributes.width = width;
|
37
|
+
|
38
|
+
if ( height )
|
39
|
+
realElement.attributes.height = height;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
return realElement;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
};
|
47
|
+
|
48
|
+
CKEDITOR.plugins.add( 'fakeobjects',
|
49
|
+
{
|
50
|
+
requires : [ 'htmlwriter' ],
|
51
|
+
|
52
|
+
afterInit : function( editor )
|
53
|
+
{
|
54
|
+
var dataProcessor = editor.dataProcessor,
|
55
|
+
htmlFilter = dataProcessor && dataProcessor.htmlFilter;
|
56
|
+
|
57
|
+
if ( htmlFilter )
|
58
|
+
htmlFilter.addRules( htmlFilterRules );
|
59
|
+
}
|
60
|
+
});
|
61
|
+
})();
|
62
|
+
|
63
|
+
CKEDITOR.editor.prototype.createFakeElement = function( realElement, className, realElementType, isResizable )
|
64
|
+
{
|
65
|
+
var lang = this.lang.fakeobjects,
|
66
|
+
label = lang[ realElementType ] || lang.unknown;
|
67
|
+
|
68
|
+
var attributes =
|
69
|
+
{
|
70
|
+
'class' : className,
|
71
|
+
src : CKEDITOR.getUrl( 'images/spacer.gif' ),
|
72
|
+
'data-cke-realelement' : encodeURIComponent( realElement.getOuterHtml() ),
|
73
|
+
'data-cke-real-node-type' : realElement.type,
|
74
|
+
alt : label,
|
75
|
+
title : label,
|
76
|
+
align : realElement.getAttribute( 'align' ) || ''
|
77
|
+
};
|
78
|
+
|
79
|
+
if ( realElementType )
|
80
|
+
attributes[ 'data-cke-real-element-type' ] = realElementType;
|
81
|
+
|
82
|
+
if ( isResizable )
|
83
|
+
attributes[ 'data-cke-resizable' ] = isResizable;
|
84
|
+
|
85
|
+
return this.document.createElement( 'img', { attributes : attributes } );
|
86
|
+
};
|
87
|
+
|
88
|
+
CKEDITOR.editor.prototype.createFakeParserElement = function( realElement, className, realElementType, isResizable )
|
89
|
+
{
|
90
|
+
var lang = this.lang.fakeobjects,
|
91
|
+
label = lang[ realElementType ] || lang.unknown,
|
92
|
+
html;
|
93
|
+
|
94
|
+
var writer = new CKEDITOR.htmlParser.basicWriter();
|
95
|
+
realElement.writeHtml( writer );
|
96
|
+
html = writer.getHtml();
|
97
|
+
|
98
|
+
var attributes =
|
99
|
+
{
|
100
|
+
'class' : className,
|
101
|
+
src : CKEDITOR.getUrl( 'images/spacer.gif' ),
|
102
|
+
'data-cke-realelement' : encodeURIComponent( html ),
|
103
|
+
'data-cke-real-node-type' : realElement.type,
|
104
|
+
alt : label,
|
105
|
+
title : label,
|
106
|
+
align : realElement.attributes.align || ''
|
107
|
+
};
|
108
|
+
|
109
|
+
if ( realElementType )
|
110
|
+
attributes[ 'data-cke-real-element-type' ] = realElementType;
|
111
|
+
|
112
|
+
if ( isResizable )
|
113
|
+
attributes[ 'data-cke-resizable' ] = isResizable;
|
114
|
+
|
115
|
+
return new CKEDITOR.htmlParser.element( 'img', attributes );
|
116
|
+
};
|
117
|
+
|
118
|
+
CKEDITOR.editor.prototype.restoreRealElement = function( fakeElement )
|
119
|
+
{
|
120
|
+
if ( fakeElement.data( 'cke-real-node-type' ) != CKEDITOR.NODE_ELEMENT )
|
121
|
+
return null;
|
122
|
+
|
123
|
+
return CKEDITOR.dom.element.createFromHtml(
|
124
|
+
decodeURIComponent( fakeElement.data( 'cke-realelement' ) ),
|
125
|
+
this.document );
|
126
|
+
};
|
@@ -0,0 +1,501 @@
|
|
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 The "filebrowser" plugin, it adds support for file uploads and
|
8
|
+
* browsing.
|
9
|
+
*
|
10
|
+
* When file is selected inside of the file browser or uploaded, its url is
|
11
|
+
* inserted automatically to a field, which is described in the 'filebrowser'
|
12
|
+
* attribute. To specify field that should be updated, pass the tab id and
|
13
|
+
* element id, separated with a colon.
|
14
|
+
*
|
15
|
+
* Example 1: (Browse)
|
16
|
+
*
|
17
|
+
* <pre>
|
18
|
+
* {
|
19
|
+
* type : 'button',
|
20
|
+
* id : 'browse',
|
21
|
+
* filebrowser : 'tabId:elementId',
|
22
|
+
* label : editor.lang.common.browseServer
|
23
|
+
* }
|
24
|
+
* </pre>
|
25
|
+
*
|
26
|
+
* If you set the 'filebrowser' attribute on any element other than
|
27
|
+
* 'fileButton', the 'Browse' action will be triggered.
|
28
|
+
*
|
29
|
+
* Example 2: (Quick Upload)
|
30
|
+
*
|
31
|
+
* <pre>
|
32
|
+
* {
|
33
|
+
* type : 'fileButton',
|
34
|
+
* id : 'uploadButton',
|
35
|
+
* filebrowser : 'tabId:elementId',
|
36
|
+
* label : editor.lang.common.uploadSubmit,
|
37
|
+
* 'for' : [ 'upload', 'upload' ]
|
38
|
+
* }
|
39
|
+
* </pre>
|
40
|
+
*
|
41
|
+
* If you set the 'filebrowser' attribute on a fileButton element, the
|
42
|
+
* 'QuickUpload' action will be executed.
|
43
|
+
*
|
44
|
+
* Filebrowser plugin also supports more advanced configuration (through
|
45
|
+
* javascript object).
|
46
|
+
*
|
47
|
+
* The following settings are supported:
|
48
|
+
*
|
49
|
+
* <pre>
|
50
|
+
* [action] - Browse or QuickUpload
|
51
|
+
* [target] - field to update, tabId:elementId
|
52
|
+
* [params] - additional arguments to be passed to the server connector (optional)
|
53
|
+
* [onSelect] - function to execute when file is selected/uploaded (optional)
|
54
|
+
* [url] - the URL to be called (optional)
|
55
|
+
* </pre>
|
56
|
+
*
|
57
|
+
* Example 3: (Quick Upload)
|
58
|
+
*
|
59
|
+
* <pre>
|
60
|
+
* {
|
61
|
+
* type : 'fileButton',
|
62
|
+
* label : editor.lang.common.uploadSubmit,
|
63
|
+
* id : 'buttonId',
|
64
|
+
* filebrowser :
|
65
|
+
* {
|
66
|
+
* action : 'QuickUpload', //required
|
67
|
+
* target : 'tab1:elementId', //required
|
68
|
+
* params : //optional
|
69
|
+
* {
|
70
|
+
* type : 'Files',
|
71
|
+
* currentFolder : '/folder/'
|
72
|
+
* },
|
73
|
+
* onSelect : function( fileUrl, errorMessage ) //optional
|
74
|
+
* {
|
75
|
+
* // Do not call the built-in selectFuntion
|
76
|
+
* // return false;
|
77
|
+
* }
|
78
|
+
* },
|
79
|
+
* 'for' : [ 'tab1', 'myFile' ]
|
80
|
+
* }
|
81
|
+
* </pre>
|
82
|
+
*
|
83
|
+
* Suppose we have a file element with id 'myFile', text field with id
|
84
|
+
* 'elementId' and a fileButton. If filebowser.url is not specified explicitly,
|
85
|
+
* form action will be set to 'filebrowser[DialogName]UploadUrl' or, if not
|
86
|
+
* specified, to 'filebrowserUploadUrl'. Additional parameters from 'params'
|
87
|
+
* object will be added to the query string. It is possible to create your own
|
88
|
+
* uploadHandler and cancel the built-in updateTargetElement command.
|
89
|
+
*
|
90
|
+
* Example 4: (Browse)
|
91
|
+
*
|
92
|
+
* <pre>
|
93
|
+
* {
|
94
|
+
* type : 'button',
|
95
|
+
* id : 'buttonId',
|
96
|
+
* label : editor.lang.common.browseServer,
|
97
|
+
* filebrowser :
|
98
|
+
* {
|
99
|
+
* action : 'Browse',
|
100
|
+
* url : '/ckfinder/ckfinder.html&type=Images',
|
101
|
+
* target : 'tab1:elementId'
|
102
|
+
* }
|
103
|
+
* }
|
104
|
+
* </pre>
|
105
|
+
*
|
106
|
+
* In this example, after pressing a button, file browser will be opened in a
|
107
|
+
* popup. If we don't specify filebrowser.url attribute,
|
108
|
+
* 'filebrowser[DialogName]BrowseUrl' or 'filebrowserBrowseUrl' will be used.
|
109
|
+
* After selecting a file in a file browser, an element with id 'elementId' will
|
110
|
+
* be updated. Just like in the third example, a custom 'onSelect' function may be
|
111
|
+
* defined.
|
112
|
+
*/
|
113
|
+
( function()
|
114
|
+
{
|
115
|
+
/**
|
116
|
+
* Adds (additional) arguments to given url.
|
117
|
+
*
|
118
|
+
* @param {String}
|
119
|
+
* url The url.
|
120
|
+
* @param {Object}
|
121
|
+
* params Additional parameters.
|
122
|
+
*/
|
123
|
+
function addQueryString( url, params )
|
124
|
+
{
|
125
|
+
var queryString = [];
|
126
|
+
|
127
|
+
if ( !params )
|
128
|
+
return url;
|
129
|
+
else
|
130
|
+
{
|
131
|
+
for ( var i in params )
|
132
|
+
queryString.push( i + "=" + encodeURIComponent( params[ i ] ) );
|
133
|
+
}
|
134
|
+
|
135
|
+
return url + ( ( url.indexOf( "?" ) != -1 ) ? "&" : "?" ) + queryString.join( "&" );
|
136
|
+
}
|
137
|
+
|
138
|
+
/**
|
139
|
+
* Make a string's first character uppercase.
|
140
|
+
*
|
141
|
+
* @param {String}
|
142
|
+
* str String.
|
143
|
+
*/
|
144
|
+
function ucFirst( str )
|
145
|
+
{
|
146
|
+
str += '';
|
147
|
+
var f = str.charAt( 0 ).toUpperCase();
|
148
|
+
return f + str.substr( 1 );
|
149
|
+
}
|
150
|
+
|
151
|
+
/**
|
152
|
+
* The onlick function assigned to the 'Browse Server' button. Opens the
|
153
|
+
* file browser and updates target field when file is selected.
|
154
|
+
*
|
155
|
+
* @param {CKEDITOR.event}
|
156
|
+
* evt The event object.
|
157
|
+
*/
|
158
|
+
function browseServer( evt )
|
159
|
+
{
|
160
|
+
var dialog = this.getDialog();
|
161
|
+
var editor = dialog.getParentEditor();
|
162
|
+
|
163
|
+
editor._.filebrowserSe = this;
|
164
|
+
|
165
|
+
var width = editor.config[ 'filebrowser' + ucFirst( dialog.getName() ) + 'WindowWidth' ]
|
166
|
+
|| editor.config.filebrowserWindowWidth || '80%';
|
167
|
+
var height = editor.config[ 'filebrowser' + ucFirst( dialog.getName() ) + 'WindowHeight' ]
|
168
|
+
|| editor.config.filebrowserWindowHeight || '70%';
|
169
|
+
|
170
|
+
var params = this.filebrowser.params || {};
|
171
|
+
params.CKEditor = editor.name;
|
172
|
+
params.CKEditorFuncNum = editor._.filebrowserFn;
|
173
|
+
if ( !params.langCode )
|
174
|
+
params.langCode = editor.langCode;
|
175
|
+
|
176
|
+
var url = addQueryString( this.filebrowser.url, params );
|
177
|
+
editor.popup( url, width, height, editor.config.fileBrowserWindowFeatures );
|
178
|
+
}
|
179
|
+
|
180
|
+
/**
|
181
|
+
* The onlick function assigned to the 'Upload' button. Makes the final
|
182
|
+
* decision whether form is really submitted and updates target field when
|
183
|
+
* file is uploaded.
|
184
|
+
*
|
185
|
+
* @param {CKEDITOR.event}
|
186
|
+
* evt The event object.
|
187
|
+
*/
|
188
|
+
function uploadFile( evt )
|
189
|
+
{
|
190
|
+
var dialog = this.getDialog();
|
191
|
+
var editor = dialog.getParentEditor();
|
192
|
+
|
193
|
+
editor._.filebrowserSe = this;
|
194
|
+
|
195
|
+
// If user didn't select the file, stop the upload.
|
196
|
+
if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getInputElement().$.value )
|
197
|
+
return false;
|
198
|
+
|
199
|
+
if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getAction() )
|
200
|
+
return false;
|
201
|
+
|
202
|
+
return true;
|
203
|
+
}
|
204
|
+
|
205
|
+
/**
|
206
|
+
* Setups the file element.
|
207
|
+
*
|
208
|
+
* @param {CKEDITOR.ui.dialog.file}
|
209
|
+
* fileInput The file element used during file upload.
|
210
|
+
* @param {Object}
|
211
|
+
* filebrowser Object containing filebrowser settings assigned to
|
212
|
+
* the fileButton associated with this file element.
|
213
|
+
*/
|
214
|
+
function setupFileElement( editor, fileInput, filebrowser )
|
215
|
+
{
|
216
|
+
var params = filebrowser.params || {};
|
217
|
+
params.CKEditor = editor.name;
|
218
|
+
params.CKEditorFuncNum = editor._.filebrowserFn;
|
219
|
+
if ( !params.langCode )
|
220
|
+
params.langCode = editor.langCode;
|
221
|
+
|
222
|
+
fileInput.action = addQueryString( filebrowser.url, params );
|
223
|
+
fileInput.filebrowser = filebrowser;
|
224
|
+
}
|
225
|
+
|
226
|
+
/**
|
227
|
+
* Traverse through the content definition and attach filebrowser to
|
228
|
+
* elements with 'filebrowser' attribute.
|
229
|
+
*
|
230
|
+
* @param String
|
231
|
+
* dialogName Dialog name.
|
232
|
+
* @param {CKEDITOR.dialog.dialogDefinitionObject}
|
233
|
+
* definition Dialog definition.
|
234
|
+
* @param {Array}
|
235
|
+
* elements Array of {@link CKEDITOR.dialog.contentDefinition}
|
236
|
+
* objects.
|
237
|
+
*/
|
238
|
+
function attachFileBrowser( editor, dialogName, definition, elements )
|
239
|
+
{
|
240
|
+
var element, fileInput;
|
241
|
+
|
242
|
+
for ( var i in elements )
|
243
|
+
{
|
244
|
+
element = elements[ i ];
|
245
|
+
|
246
|
+
if ( element.type == 'hbox' || element.type == 'vbox' )
|
247
|
+
attachFileBrowser( editor, dialogName, definition, element.children );
|
248
|
+
|
249
|
+
if ( !element.filebrowser )
|
250
|
+
continue;
|
251
|
+
|
252
|
+
if ( typeof element.filebrowser == 'string' )
|
253
|
+
{
|
254
|
+
var fb =
|
255
|
+
{
|
256
|
+
action : ( element.type == 'fileButton' ) ? 'QuickUpload' : 'Browse',
|
257
|
+
target : element.filebrowser
|
258
|
+
};
|
259
|
+
element.filebrowser = fb;
|
260
|
+
}
|
261
|
+
|
262
|
+
if ( element.filebrowser.action == 'Browse' )
|
263
|
+
{
|
264
|
+
var url = element.filebrowser.url;
|
265
|
+
if ( url === undefined )
|
266
|
+
{
|
267
|
+
url = editor.config[ 'filebrowser' + ucFirst( dialogName ) + 'BrowseUrl' ];
|
268
|
+
if ( url === undefined )
|
269
|
+
url = editor.config.filebrowserBrowseUrl;
|
270
|
+
}
|
271
|
+
|
272
|
+
if ( url )
|
273
|
+
{
|
274
|
+
element.onClick = browseServer;
|
275
|
+
element.filebrowser.url = url;
|
276
|
+
element.hidden = false;
|
277
|
+
}
|
278
|
+
}
|
279
|
+
else if ( element.filebrowser.action == 'QuickUpload' && element[ 'for' ] )
|
280
|
+
{
|
281
|
+
url = element.filebrowser.url;
|
282
|
+
if ( url === undefined )
|
283
|
+
{
|
284
|
+
url = editor.config[ 'filebrowser' + ucFirst( dialogName ) + 'UploadUrl' ];
|
285
|
+
if ( url === undefined )
|
286
|
+
url = editor.config.filebrowserUploadUrl;
|
287
|
+
}
|
288
|
+
|
289
|
+
if ( url )
|
290
|
+
{
|
291
|
+
var onClick = element.onClick;
|
292
|
+
element.onClick = function( evt )
|
293
|
+
{
|
294
|
+
// "element" here means the definition object, so we need to find the correct
|
295
|
+
// button to scope the event call
|
296
|
+
var sender = evt.sender;
|
297
|
+
if ( onClick && onClick.call( sender, evt ) === false )
|
298
|
+
return false;
|
299
|
+
|
300
|
+
return uploadFile.call( sender, evt );
|
301
|
+
};
|
302
|
+
|
303
|
+
element.filebrowser.url = url;
|
304
|
+
element.hidden = false;
|
305
|
+
setupFileElement( editor, definition.getContents( element[ 'for' ][ 0 ] ).get( element[ 'for' ][ 1 ] ), element.filebrowser );
|
306
|
+
}
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
/**
|
312
|
+
* Updates the target element with the url of uploaded/selected file.
|
313
|
+
*
|
314
|
+
* @param {String}
|
315
|
+
* url The url of a file.
|
316
|
+
*/
|
317
|
+
function updateTargetElement( url, sourceElement )
|
318
|
+
{
|
319
|
+
var dialog = sourceElement.getDialog();
|
320
|
+
var targetElement = sourceElement.filebrowser.target || null;
|
321
|
+
url = url.replace( /#/g, '%23' );
|
322
|
+
|
323
|
+
// If there is a reference to targetElement, update it.
|
324
|
+
if ( targetElement )
|
325
|
+
{
|
326
|
+
var target = targetElement.split( ':' );
|
327
|
+
var element = dialog.getContentElement( target[ 0 ], target[ 1 ] );
|
328
|
+
if ( element )
|
329
|
+
{
|
330
|
+
element.setValue( url );
|
331
|
+
dialog.selectPage( target[ 0 ] );
|
332
|
+
}
|
333
|
+
}
|
334
|
+
}
|
335
|
+
|
336
|
+
/**
|
337
|
+
* Returns true if filebrowser is configured in one of the elements.
|
338
|
+
*
|
339
|
+
* @param {CKEDITOR.dialog.dialogDefinitionObject}
|
340
|
+
* definition Dialog definition.
|
341
|
+
* @param String
|
342
|
+
* tabId The tab id where element(s) can be found.
|
343
|
+
* @param String
|
344
|
+
* elementId The element id (or ids, separated with a semicolon) to check.
|
345
|
+
*/
|
346
|
+
function isConfigured( definition, tabId, elementId )
|
347
|
+
{
|
348
|
+
if ( elementId.indexOf( ";" ) !== -1 )
|
349
|
+
{
|
350
|
+
var ids = elementId.split( ";" );
|
351
|
+
for ( var i = 0 ; i < ids.length ; i++ )
|
352
|
+
{
|
353
|
+
if ( isConfigured( definition, tabId, ids[i] ) )
|
354
|
+
return true;
|
355
|
+
}
|
356
|
+
return false;
|
357
|
+
}
|
358
|
+
|
359
|
+
var elementFileBrowser = definition.getContents( tabId ).get( elementId ).filebrowser;
|
360
|
+
return ( elementFileBrowser && elementFileBrowser.url );
|
361
|
+
}
|
362
|
+
|
363
|
+
function setUrl( fileUrl, data )
|
364
|
+
{
|
365
|
+
var dialog = this._.filebrowserSe.getDialog(),
|
366
|
+
targetInput = this._.filebrowserSe[ 'for' ],
|
367
|
+
onSelect = this._.filebrowserSe.filebrowser.onSelect;
|
368
|
+
|
369
|
+
if ( targetInput )
|
370
|
+
dialog.getContentElement( targetInput[ 0 ], targetInput[ 1 ] ).reset();
|
371
|
+
|
372
|
+
if ( typeof data == 'function' && data.call( this._.filebrowserSe ) === false )
|
373
|
+
return;
|
374
|
+
|
375
|
+
if ( onSelect && onSelect.call( this._.filebrowserSe, fileUrl, data ) === false )
|
376
|
+
return;
|
377
|
+
|
378
|
+
// The "data" argument may be used to pass the error message to the editor.
|
379
|
+
if ( typeof data == 'string' && data )
|
380
|
+
alert( data );
|
381
|
+
|
382
|
+
if ( fileUrl )
|
383
|
+
updateTargetElement( fileUrl, this._.filebrowserSe );
|
384
|
+
}
|
385
|
+
|
386
|
+
CKEDITOR.plugins.add( 'filebrowser',
|
387
|
+
{
|
388
|
+
init : function( editor, pluginPath )
|
389
|
+
{
|
390
|
+
editor._.filebrowserFn = CKEDITOR.tools.addFunction( setUrl, editor );
|
391
|
+
}
|
392
|
+
} );
|
393
|
+
|
394
|
+
CKEDITOR.on( 'dialogDefinition', function( evt )
|
395
|
+
{
|
396
|
+
var definition = evt.data.definition,
|
397
|
+
element;
|
398
|
+
// Associate filebrowser to elements with 'filebrowser' attribute.
|
399
|
+
for ( var i in definition.contents )
|
400
|
+
{
|
401
|
+
if ( ( element = definition.contents[ i ] ) )
|
402
|
+
{
|
403
|
+
attachFileBrowser( evt.editor, evt.data.name, definition, element.elements );
|
404
|
+
if ( element.hidden && element.filebrowser )
|
405
|
+
{
|
406
|
+
element.hidden = !isConfigured( definition, element[ 'id' ], element.filebrowser );
|
407
|
+
}
|
408
|
+
}
|
409
|
+
}
|
410
|
+
} );
|
411
|
+
|
412
|
+
} )();
|
413
|
+
|
414
|
+
/**
|
415
|
+
* The location of an external file browser, that should be launched when "Browse Server" button is pressed.
|
416
|
+
* If configured, the "Browse Server" button will appear in Link, Image and Flash dialogs.
|
417
|
+
* @see The <a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)">File Browser/Uploader</a> documentation.
|
418
|
+
* @name CKEDITOR.config.filebrowserBrowseUrl
|
419
|
+
* @since 3.0
|
420
|
+
* @type String
|
421
|
+
* @default '' (empty string = disabled)
|
422
|
+
* @example
|
423
|
+
* config.filebrowserBrowseUrl = '/browser/browse.php';
|
424
|
+
*/
|
425
|
+
|
426
|
+
/**
|
427
|
+
* The location of a script that handles file uploads.
|
428
|
+
* If set, the "Upload" tab will appear in "Link", "Image" and "Flash" dialogs.
|
429
|
+
* @name CKEDITOR.config.filebrowserUploadUrl
|
430
|
+
* @see The <a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)">File Browser/Uploader</a> documentation.
|
431
|
+
* @since 3.0
|
432
|
+
* @type String
|
433
|
+
* @default '' (empty string = disabled)
|
434
|
+
* @example
|
435
|
+
* config.filebrowserUploadUrl = '/uploader/upload.php';
|
436
|
+
*/
|
437
|
+
|
438
|
+
/**
|
439
|
+
* The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Image dialog.
|
440
|
+
* If not set, CKEditor will use {@link CKEDITOR.config.filebrowserBrowseUrl}.
|
441
|
+
* @name CKEDITOR.config.filebrowserImageBrowseUrl
|
442
|
+
* @since 3.0
|
443
|
+
* @type String
|
444
|
+
* @default '' (empty string = disabled)
|
445
|
+
* @example
|
446
|
+
* config.filebrowserImageBrowseUrl = '/browser/browse.php?type=Images';
|
447
|
+
*/
|
448
|
+
|
449
|
+
/**
|
450
|
+
* The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Flash dialog.
|
451
|
+
* If not set, CKEditor will use {@link CKEDITOR.config.filebrowserBrowseUrl}.
|
452
|
+
* @name CKEDITOR.config.filebrowserFlashBrowseUrl
|
453
|
+
* @since 3.0
|
454
|
+
* @type String
|
455
|
+
* @default '' (empty string = disabled)
|
456
|
+
* @example
|
457
|
+
* config.filebrowserFlashBrowseUrl = '/browser/browse.php?type=Flash';
|
458
|
+
*/
|
459
|
+
|
460
|
+
/**
|
461
|
+
* The location of a script that handles file uploads in the Image dialog.
|
462
|
+
* If not set, CKEditor will use {@link CKEDITOR.config.filebrowserUploadUrl}.
|
463
|
+
* @name CKEDITOR.config.filebrowserImageUploadUrl
|
464
|
+
* @since 3.0
|
465
|
+
* @type String
|
466
|
+
* @default '' (empty string = disabled)
|
467
|
+
* @example
|
468
|
+
* config.filebrowserImageUploadUrl = '/uploader/upload.php?type=Images';
|
469
|
+
*/
|
470
|
+
|
471
|
+
/**
|
472
|
+
* The location of a script that handles file uploads in the Flash dialog.
|
473
|
+
* If not set, CKEditor will use {@link CKEDITOR.config.filebrowserUploadUrl}.
|
474
|
+
* @name CKEDITOR.config.filebrowserFlashUploadUrl
|
475
|
+
* @since 3.0
|
476
|
+
* @type String
|
477
|
+
* @default '' (empty string = disabled)
|
478
|
+
* @example
|
479
|
+
* config.filebrowserFlashUploadUrl = '/uploader/upload.php?type=Flash';
|
480
|
+
*/
|
481
|
+
|
482
|
+
/**
|
483
|
+
* The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link tab of Image dialog.
|
484
|
+
* If not set, CKEditor will use {@link CKEDITOR.config.filebrowserBrowseUrl}.
|
485
|
+
* @name CKEDITOR.config.filebrowserImageBrowseLinkUrl
|
486
|
+
* @since 3.2
|
487
|
+
* @type String
|
488
|
+
* @default '' (empty string = disabled)
|
489
|
+
* @example
|
490
|
+
* config.filebrowserImageBrowseLinkUrl = '/browser/browse.php';
|
491
|
+
*/
|
492
|
+
|
493
|
+
/**
|
494
|
+
* The "features" to use in the file browser popup window.
|
495
|
+
* @name CKEDITOR.config.filebrowserWindowFeatures
|
496
|
+
* @since 3.4.1
|
497
|
+
* @type String
|
498
|
+
* @default 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes'
|
499
|
+
* @example
|
500
|
+
* config.filebrowserWindowFeatures = 'resizable=yes,scrollbars=no';
|
501
|
+
*/
|