ckeditor 3.2.4 → 3.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +16 -20
- data/Rakefile +9 -8
- data/app/controllers/ckeditor_controller.rb +13 -13
- data/app/helpers/ckeditor_helper.rb +19 -2
- data/app/views/ckeditor/files.html.erb +1 -1
- data/app/views/ckeditor/images.html.erb +1 -1
- data/config/routes.rb +4 -4
- data/examples/s3/s3.yml +2 -0
- data/generators/ckeditor_install/USAGE +7 -0
- data/generators/ckeditor_install/ckeditor_install_generator.rb +28 -0
- data/generators/ckeditor_install/templates/README +0 -0
- data/generators/ckeditor_install/templates/ckeditor.rb +56 -0
- data/generators/ckeditor_install/templates/ckeditor/CHANGES.html +831 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/INSTALL.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/LICENSE.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/ajax.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/api.html +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/api_dialog.html +188 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/api_dialog/my_dialog.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/asp/advanced.asp +105 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/asp/events.asp +136 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/asp/index.html +103 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/asp/replace.asp +72 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/asp/replaceall.asp +77 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/asp/sample_posteddata.asp +46 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/asp/standalone.asp +72 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/assets/output_xhtml.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/divreplace.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/enterkey.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/fullpage.html +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/index.html +55 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/jqueryadapter.html +73 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/output_html.html +259 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/output_xhtml.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/php/advanced.php +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/php/events.php +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/php/replace.php +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/php/replaceall.php +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/php/standalone.php +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/replacebyclass.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/replacebycode.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/sample.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/sample.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/sample_posteddata.php +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/sharedspaces.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/skins.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/ui_color.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_samples/ui_languages.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/adapters/jquery.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/_bootstrap.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/ajax.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ckeditor.js +113 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ckeditor_base.js +193 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ckeditor_basic.js +242 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/command.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/commanddefinition.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/config.js +333 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dataprocessor.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/comment.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/document.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/documentfragment.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/domobject.js +251 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/element.js +1526 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/elementpath.js +116 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/event.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/node.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/nodelist.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/range.js +1865 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/text.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/walker.js +445 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dom/window.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/dtd.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/editor.js +759 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/editor_basic.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/env.js +227 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/event.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/eventInfo.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/focusmanager.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser.js +218 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/basicwriter.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/cdata.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/comment.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/element.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/filter.js +288 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/fragment.js +497 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/htmlparser/text.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/imagecacher.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/lang.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/loader.js +242 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/plugindefinition.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/plugins.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/resourcemanager.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/scriptloader.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/skins.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/themes.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/tools.js +733 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/ui.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/core/xml.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/lang/_languages.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/_translationstatus.txt +60 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/af.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ar.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bg.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bn.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bs.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ca.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/cs.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/cy.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/da.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/de.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/el.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-au.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-ca.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-gb.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/eo.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/es.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/et.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/eu.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fa.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fi.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fo.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fr-ca.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fr.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/gl.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/gu.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/he.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hi.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hr.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hu.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/is.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/it.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ja.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/km.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ko.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/lt.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/lv.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/mn.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ms.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/nb.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/nl.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/no.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pl.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pt-br.js +747 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pt.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ro.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ru.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sk.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sl.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sr-latn.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sr.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sv.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/th.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/tr.js +747 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/uk.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/vi.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/zh-cn.js +748 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/zh.js +748 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/a11yhelp/plugin.js +46 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/about/dialogs/about.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/about/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/basicstyles/plugin.js +101 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/blockquote/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/button/plugin.js +277 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/clipboard/dialogs/paste.js +205 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/clipboard/plugin.js +413 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/colorbutton/plugin.js +251 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +339 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/colordialog/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/contextmenu/plugin.js +276 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialog/plugin.js +2968 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialogui/plugin.js +1520 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/div/dialogs/div.js +527 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/div/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/domiterator/plugin.js +341 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/editingblock/plugin.js +230 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/elementspath/plugin.js +206 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/enterkey/plugin.js +353 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/entities/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +122 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/filebrowser/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/find/dialogs/find.js +867 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/find/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +698 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/flash/plugin.js +173 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/floatpanel/plugin.js +376 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/font/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/format/plugin.js +194 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/button.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/form.js +177 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +98 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/select.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/textfield.js +199 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/plugin.js +281 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +486 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/iframedialog/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/image/dialogs/image.js +1394 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/image/plugin.js +81 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/indent/plugin.js +422 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/justify/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/keystrokes/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/dialogs/link.js +1419 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/plugin.js +229 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/list/plugin.js +651 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/listblock/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +203 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/liststyle/plugin.js +63 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/maximize/plugin.js +343 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/menu/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/menubutton/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/newpage/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pagebreak/plugin.js +112 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/panel/plugin.js +398 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/panelbutton/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pastefromword/filter/default.js +1170 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pastefromword/plugin.js +122 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +70 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pastetext/plugin.js +145 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/popup/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/preview/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/print/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/removeformat/plugin.js +182 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/resize/plugin.js +157 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/richcombo/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/save/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +533 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/scayt/plugin.js +956 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/selection/plugin.js +1250 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/showblocks/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showborders/plugin.js +175 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +216 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/plugin.js +94 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/sourcearea/plugin.js +207 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +406 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/specialchar/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/styles/plugin.js +1394 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/styles/styles/default.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/stylescombo/plugin.js +205 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tab/plugin.js +261 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/table/dialogs/table.js +598 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/table/plugin.js +78 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +524 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tabletools/plugin.js +1116 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/templates/dialogs/templates.js +231 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/templates/default.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/toolbar/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +205 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/lang/en.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +15 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/undo/plugin.js +555 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.css +82 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/plugins/wsc/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +1026 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/dialog.css +856 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/editor.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/elementspath.css +73 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/icons.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/icons.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/mainui.css +195 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/menu.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/panel.css +216 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/presets.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/reset.css +84 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/richcombo.css +271 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/kama/skin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/templates.css +88 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/toolbar.css +404 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/dialog.css +765 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/editor.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/elementspath.css +74 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/icons.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/mainui.css +145 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/menu.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/panel.css +211 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/presets.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/reset.css +84 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/richcombo.css +291 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/office2003/skin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/templates.css +87 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/toolbar.css +465 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/dialog.css +780 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/editor.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/elementspath.css +74 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/icons.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/icons.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/mainui.css +154 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/menu.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/panel.css +211 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/presets.css +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/reset.css +84 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/richcombo.css +291 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/_source/skins/v2/skin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/templates.css +87 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/toolbar.css +418 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/themes/default/theme.js +359 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/adapters/jquery.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/ckeditor.js +130 -0
- data/generators/ckeditor_install/templates/ckeditor/ckeditor.pack +208 -0
- data/generators/ckeditor_install/templates/ckeditor/ckeditor_basic.js +8 -0
- data/generators/ckeditor_install/templates/ckeditor/ckeditor_basic_source.js +20 -0
- data/generators/ckeditor_install/templates/ckeditor/ckeditor_source.js +25 -0
- data/generators/ckeditor_install/templates/ckeditor/config.js +42 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/contents.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/css/ckfinder.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/css/fck_dialog.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/css/fck_editor.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/css/swfupload.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/add.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/cancelbutton.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/ckfnothumb.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/doc.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/mp3.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/pdf.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/rar.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/refresh.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/select_files.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/spacer.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/swf.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/toolbar.start.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/images/xls.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/lang/_languages.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/_translationstatus.txt +60 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/af.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/ar.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/bg.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/bn.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/bs.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/ca.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/cs.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/cy.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/da.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/de.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/el.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/en-au.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/en-ca.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/en-gb.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/en.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/eo.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/es.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/et.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/eu.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/fa.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/fi.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/fo.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/fr-ca.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/fr.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/gl.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/gu.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/he.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/hi.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/hr.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/hu.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/is.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/it.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/ja.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/km.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/ko.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/lt.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/lv.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/mn.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/ms.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/nb.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/nl.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/no.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/pl.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/pt-br.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/pt.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/ro.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/ru.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/sk.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/sl.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/sr-latn.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/sr.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/sv.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/th.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/tr.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/uk.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/vi.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/zh-cn.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/zh.js +6 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/a11yhelp/lang/en.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/about/dialogs/about.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/{lib/generators/templates/ckeditor/_source/plugins/embed → generators/ckeditor_install/templates/ckeditor/plugins/ajax_save}/plugin.js +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/attachment/dialogs/attachment.js +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/attachment/images/attachment.png +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/attachment/lang/en.js +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/attachment/lang/ru.js +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/attachment/lang/uk.js +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/attachment/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/dialog/dialogDefinition.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/div/dialogs/div.js +7 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/embed/dialogs/embed.js +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/embed/images/embed.png +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/embed/lang/en.js +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/embed/lang/ru.js +0 -0
- data/{lib/generators/templates/ckeditor/_source → generators/ckeditor_install/templates/ckeditor}/plugins/embed/lang/uk.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/embed/plugin.js +43 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/button.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/checkbox.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/radio.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/select.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/forms/dialogs/textarea.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/textfield.js +7 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/iframedialog/plugin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/link/dialogs/anchor.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/liststyle/dialogs/liststyle.js +7 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/pastefromword/filter/default.js +10 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/styles/styles/default.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/templates/dialogs/templates.js +7 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/templates/templates/default.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/lang/en.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/plugin.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/uicolor/yui/yui.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/plugins/wsc/dialogs/wsc.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/dialog.css +9 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/editor.css +12 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/icons.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/mini.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/noimage.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/sprites.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/kama/skin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/templates.css +6 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/dialog.css +9 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/editor.css +13 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/icons.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/office2003/skin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/templates.css +6 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/dialog.css +8 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/editor.css +12 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/icons.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/mini.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/noimage.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/sprites.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/skins/v2/skin.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/templates.css +6 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/fileprogress.js +275 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/swfupload/handlers.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/swfupload/mootools-1.2.3-core-yc.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/swfupload/querystring.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/swfupload/swfupload.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/swfupload/swfupload.queue.js +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/swfupload/swfupload.swf +0 -0
- data/{lib/generators → generators/ckeditor_install}/templates/ckeditor/swfupload/swfupload.swfobject.js +0 -0
- data/generators/ckeditor_install/templates/ckeditor/themes/default/theme.js +8 -0
- data/generators/ckeditor_migration/USAGE +12 -0
- data/generators/ckeditor_migration/ckeditor_migration_generator.rb +36 -0
- data/{lib/generators → generators/ckeditor_migration}/templates/models/attachment_fu/asset.rb +0 -0
- data/{lib/generators → generators/ckeditor_migration}/templates/models/attachment_fu/attachment_file.rb +0 -0
- data/{lib/generators → generators/ckeditor_migration}/templates/models/attachment_fu/migration.rb +0 -0
- data/{lib/generators → generators/ckeditor_migration}/templates/models/attachment_fu/picture.rb +0 -0
- data/generators/ckeditor_migration/templates/models/paperclip/asset.rb +88 -0
- data/{lib/generators → generators/ckeditor_migration}/templates/models/paperclip/attachment_file.rb +0 -0
- data/{lib/generators → generators/ckeditor_migration}/templates/models/paperclip/migration.rb +0 -0
- data/{lib/generators → generators/ckeditor_migration}/templates/models/paperclip/picture.rb +0 -0
- data/lib/ckeditor.rb +22 -10
- data/lib/ckeditor/middleware.rb +1 -1
- data/lib/ckeditor/safe_buffer.rb +34 -0
- data/lib/ckeditor/utils.rb +6 -2
- data/lib/ckeditor/version.rb +2 -2
- data/lib/ckeditor/view_helper.rb +22 -27
- metadata +649 -631
- data/CHANGELOG +0 -15
- data/lib/ckeditor/engine.rb +0 -21
- data/lib/generators/USAGE +0 -17
- data/lib/generators/ckeditor_core_generator.rb +0 -18
- data/lib/generators/ckeditor_models_generator.rb +0 -41
- data/lib/generators/templates/ckeditor.rb +0 -52
- data/lib/generators/templates/ckeditor.yml +0 -28
- data/lib/generators/templates/ckeditor/CHANGES.html +0 -642
- data/lib/generators/templates/ckeditor/_samples/api_dialog.html +0 -181
- data/lib/generators/templates/ckeditor/_samples/index.html +0 -54
- data/lib/generators/templates/ckeditor/_samples/jqueryadapter.html +0 -73
- data/lib/generators/templates/ckeditor/_source/core/ckeditor.js +0 -103
- data/lib/generators/templates/ckeditor/_source/core/ckeditor_base.js +0 -193
- data/lib/generators/templates/ckeditor/_source/core/ckeditor_basic.js +0 -242
- data/lib/generators/templates/ckeditor/_source/core/config.js +0 -319
- data/lib/generators/templates/ckeditor/_source/core/dom/domobject.js +0 -246
- data/lib/generators/templates/ckeditor/_source/core/dom/element.js +0 -1441
- data/lib/generators/templates/ckeditor/_source/core/dom/elementpath.js +0 -104
- data/lib/generators/templates/ckeditor/_source/core/dom/range.js +0 -1836
- data/lib/generators/templates/ckeditor/_source/core/dom/walker.js +0 -451
- data/lib/generators/templates/ckeditor/_source/core/editor.js +0 -756
- data/lib/generators/templates/ckeditor/_source/core/env.js +0 -222
- data/lib/generators/templates/ckeditor/_source/core/htmlparser.js +0 -212
- data/lib/generators/templates/ckeditor/_source/core/htmlparser/filter.js +0 -262
- data/lib/generators/templates/ckeditor/_source/core/htmlparser/fragment.js +0 -496
- data/lib/generators/templates/ckeditor/_source/core/loader.js +0 -242
- data/lib/generators/templates/ckeditor/_source/core/tools.js +0 -698
- data/lib/generators/templates/ckeditor/_source/lang/_translationstatus.txt +0 -60
- data/lib/generators/templates/ckeditor/_source/lang/af.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/ar.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/bg.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/bn.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/bs.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/ca.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/cs.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/cy.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/da.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/de.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/el.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/en-au.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/en-ca.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/en-gb.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/en.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/eo.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/es.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/et.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/eu.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/fa.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/fi.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/fo.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/fr-ca.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/fr.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/gl.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/gu.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/he.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/hi.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/hr.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/hu.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/is.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/it.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/ja.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/km.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/ko.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/lt.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/lv.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/mn.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/ms.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/nb.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/nl.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/no.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/pl.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/pt-br.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/pt.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/ro.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/ru.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/sk.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/sl.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/sr-latn.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/sr.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/sv.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/th.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/tr.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/uk.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/vi.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/zh-cn.js +0 -708
- data/lib/generators/templates/ckeditor/_source/lang/zh.js +0 -708
- data/lib/generators/templates/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -46
- data/lib/generators/templates/ckeditor/_source/plugins/basicstyles/plugin.js +0 -101
- data/lib/generators/templates/ckeditor/_source/plugins/button/plugin.js +0 -272
- data/lib/generators/templates/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -186
- data/lib/generators/templates/ckeditor/_source/plugins/clipboard/plugin.js +0 -379
- data/lib/generators/templates/ckeditor/_source/plugins/colorbutton/plugin.js +0 -247
- data/lib/generators/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -191
- data/lib/generators/templates/ckeditor/_source/plugins/contextmenu/plugin.js +0 -274
- data/lib/generators/templates/ckeditor/_source/plugins/dialog/plugin.js +0 -2913
- data/lib/generators/templates/ckeditor/_source/plugins/dialogui/plugin.js +0 -1408
- data/lib/generators/templates/ckeditor/_source/plugins/div/dialogs/div.js +0 -529
- data/lib/generators/templates/ckeditor/_source/plugins/domiterator/plugin.js +0 -355
- data/lib/generators/templates/ckeditor/_source/plugins/editingblock/plugin.js +0 -224
- data/lib/generators/templates/ckeditor/_source/plugins/elementspath/plugin.js +0 -203
- data/lib/generators/templates/ckeditor/_source/plugins/enterkey/plugin.js +0 -339
- data/lib/generators/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -120
- data/lib/generators/templates/ckeditor/_source/plugins/find/dialogs/find.js +0 -867
- data/lib/generators/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -698
- data/lib/generators/templates/ckeditor/_source/plugins/flash/plugin.js +0 -165
- data/lib/generators/templates/ckeditor/_source/plugins/floatpanel/plugin.js +0 -376
- data/lib/generators/templates/ckeditor/_source/plugins/format/plugin.js +0 -193
- data/lib/generators/templates/ckeditor/_source/plugins/forms/dialogs/form.js +0 -177
- data/lib/generators/templates/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -91
- data/lib/generators/templates/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -193
- data/lib/generators/templates/ckeditor/_source/plugins/forms/plugin.js +0 -217
- data/lib/generators/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -463
- data/lib/generators/templates/ckeditor/_source/plugins/image/dialogs/image.js +0 -1380
- data/lib/generators/templates/ckeditor/_source/plugins/image/plugin.js +0 -73
- data/lib/generators/templates/ckeditor/_source/plugins/indent/plugin.js +0 -381
- data/lib/generators/templates/ckeditor/_source/plugins/link/dialogs/link.js +0 -1413
- data/lib/generators/templates/ckeditor/_source/plugins/link/plugin.js +0 -219
- data/lib/generators/templates/ckeditor/_source/plugins/list/plugin.js +0 -645
- data/lib/generators/templates/ckeditor/_source/plugins/maximize/plugin.js +0 -305
- data/lib/generators/templates/ckeditor/_source/plugins/pagebreak/plugin.js +0 -103
- data/lib/generators/templates/ckeditor/_source/plugins/panel/plugin.js +0 -397
- data/lib/generators/templates/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -1179
- data/lib/generators/templates/ckeditor/_source/plugins/pastefromword/plugin.js +0 -120
- data/lib/generators/templates/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -77
- data/lib/generators/templates/ckeditor/_source/plugins/pastetext/plugin.js +0 -162
- data/lib/generators/templates/ckeditor/_source/plugins/removeformat/plugin.js +0 -132
- data/lib/generators/templates/ckeditor/_source/plugins/resize/plugin.js +0 -117
- data/lib/generators/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -533
- data/lib/generators/templates/ckeditor/_source/plugins/scayt/plugin.js +0 -767
- data/lib/generators/templates/ckeditor/_source/plugins/selection/plugin.js +0 -1145
- data/lib/generators/templates/ckeditor/_source/plugins/showborders/plugin.js +0 -167
- data/lib/generators/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -216
- data/lib/generators/templates/ckeditor/_source/plugins/smiley/plugin.js +0 -84
- data/lib/generators/templates/ckeditor/_source/plugins/sourcearea/plugin.js +0 -206
- data/lib/generators/templates/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -403
- data/lib/generators/templates/ckeditor/_source/plugins/styles/plugin.js +0 -1442
- data/lib/generators/templates/ckeditor/_source/plugins/stylescombo/plugin.js +0 -204
- data/lib/generators/templates/ckeditor/_source/plugins/tab/plugin.js +0 -261
- data/lib/generators/templates/ckeditor/_source/plugins/table/dialogs/table.js +0 -591
- data/lib/generators/templates/ckeditor/_source/plugins/table/plugin.js +0 -70
- data/lib/generators/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -528
- data/lib/generators/templates/ckeditor/_source/plugins/tabletools/plugin.js +0 -1068
- data/lib/generators/templates/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -230
- data/lib/generators/templates/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -204
- data/lib/generators/templates/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -15
- data/lib/generators/templates/ckeditor/_source/plugins/undo/plugin.js +0 -519
- data/lib/generators/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -83
- data/lib/generators/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -882
- data/lib/generators/templates/ckeditor/_source/skins/kama/dialog.css +0 -835
- data/lib/generators/templates/ckeditor/_source/skins/kama/elementspath.css +0 -72
- data/lib/generators/templates/ckeditor/_source/skins/kama/mainui.css +0 -183
- data/lib/generators/templates/ckeditor/_source/skins/kama/panel.css +0 -216
- data/lib/generators/templates/ckeditor/_source/skins/kama/reset.css +0 -78
- data/lib/generators/templates/ckeditor/_source/skins/kama/richcombo.css +0 -270
- data/lib/generators/templates/ckeditor/_source/skins/kama/templates.css +0 -84
- data/lib/generators/templates/ckeditor/_source/skins/kama/toolbar.css +0 -409
- data/lib/generators/templates/ckeditor/_source/skins/office2003/dialog.css +0 -738
- data/lib/generators/templates/ckeditor/_source/skins/office2003/elementspath.css +0 -73
- data/lib/generators/templates/ckeditor/_source/skins/office2003/mainui.css +0 -133
- data/lib/generators/templates/ckeditor/_source/skins/office2003/panel.css +0 -211
- data/lib/generators/templates/ckeditor/_source/skins/office2003/reset.css +0 -78
- data/lib/generators/templates/ckeditor/_source/skins/office2003/richcombo.css +0 -289
- data/lib/generators/templates/ckeditor/_source/skins/office2003/templates.css +0 -81
- data/lib/generators/templates/ckeditor/_source/skins/office2003/toolbar.css +0 -463
- data/lib/generators/templates/ckeditor/_source/skins/v2/dialog.css +0 -753
- data/lib/generators/templates/ckeditor/_source/skins/v2/elementspath.css +0 -73
- data/lib/generators/templates/ckeditor/_source/skins/v2/mainui.css +0 -142
- data/lib/generators/templates/ckeditor/_source/skins/v2/panel.css +0 -211
- data/lib/generators/templates/ckeditor/_source/skins/v2/reset.css +0 -78
- data/lib/generators/templates/ckeditor/_source/skins/v2/richcombo.css +0 -289
- data/lib/generators/templates/ckeditor/_source/skins/v2/templates.css +0 -81
- data/lib/generators/templates/ckeditor/_source/skins/v2/toolbar.css +0 -415
- data/lib/generators/templates/ckeditor/_source/themes/default/theme.js +0 -335
- data/lib/generators/templates/ckeditor/ckeditor.js +0 -124
- data/lib/generators/templates/ckeditor/ckeditor.pack +0 -205
- data/lib/generators/templates/ckeditor/ckeditor_basic.js +0 -8
- data/lib/generators/templates/ckeditor/ckeditor_basic_source.js +0 -20
- data/lib/generators/templates/ckeditor/ckeditor_source.js +0 -25
- data/lib/generators/templates/ckeditor/config.js +0 -42
- data/lib/generators/templates/ckeditor/lang/_translationstatus.txt +0 -60
- data/lib/generators/templates/ckeditor/lang/af.js +0 -6
- data/lib/generators/templates/ckeditor/lang/ar.js +0 -6
- data/lib/generators/templates/ckeditor/lang/bg.js +0 -6
- data/lib/generators/templates/ckeditor/lang/bn.js +0 -6
- data/lib/generators/templates/ckeditor/lang/bs.js +0 -6
- data/lib/generators/templates/ckeditor/lang/ca.js +0 -6
- data/lib/generators/templates/ckeditor/lang/cs.js +0 -6
- data/lib/generators/templates/ckeditor/lang/cy.js +0 -6
- data/lib/generators/templates/ckeditor/lang/da.js +0 -6
- data/lib/generators/templates/ckeditor/lang/de.js +0 -6
- data/lib/generators/templates/ckeditor/lang/el.js +0 -6
- data/lib/generators/templates/ckeditor/lang/en-au.js +0 -6
- data/lib/generators/templates/ckeditor/lang/en-ca.js +0 -6
- data/lib/generators/templates/ckeditor/lang/en-gb.js +0 -6
- data/lib/generators/templates/ckeditor/lang/en.js +0 -6
- data/lib/generators/templates/ckeditor/lang/eo.js +0 -6
- data/lib/generators/templates/ckeditor/lang/es.js +0 -6
- data/lib/generators/templates/ckeditor/lang/et.js +0 -6
- data/lib/generators/templates/ckeditor/lang/eu.js +0 -6
- data/lib/generators/templates/ckeditor/lang/fa.js +0 -6
- data/lib/generators/templates/ckeditor/lang/fi.js +0 -6
- data/lib/generators/templates/ckeditor/lang/fo.js +0 -6
- data/lib/generators/templates/ckeditor/lang/fr-ca.js +0 -6
- data/lib/generators/templates/ckeditor/lang/fr.js +0 -6
- data/lib/generators/templates/ckeditor/lang/gl.js +0 -6
- data/lib/generators/templates/ckeditor/lang/gu.js +0 -6
- data/lib/generators/templates/ckeditor/lang/he.js +0 -6
- data/lib/generators/templates/ckeditor/lang/hi.js +0 -6
- data/lib/generators/templates/ckeditor/lang/hr.js +0 -6
- data/lib/generators/templates/ckeditor/lang/hu.js +0 -6
- data/lib/generators/templates/ckeditor/lang/is.js +0 -6
- data/lib/generators/templates/ckeditor/lang/it.js +0 -6
- data/lib/generators/templates/ckeditor/lang/ja.js +0 -6
- data/lib/generators/templates/ckeditor/lang/km.js +0 -6
- data/lib/generators/templates/ckeditor/lang/ko.js +0 -6
- data/lib/generators/templates/ckeditor/lang/lt.js +0 -6
- data/lib/generators/templates/ckeditor/lang/lv.js +0 -6
- data/lib/generators/templates/ckeditor/lang/mn.js +0 -6
- data/lib/generators/templates/ckeditor/lang/ms.js +0 -6
- data/lib/generators/templates/ckeditor/lang/nb.js +0 -6
- data/lib/generators/templates/ckeditor/lang/nl.js +0 -6
- data/lib/generators/templates/ckeditor/lang/no.js +0 -6
- data/lib/generators/templates/ckeditor/lang/pl.js +0 -6
- data/lib/generators/templates/ckeditor/lang/pt-br.js +0 -6
- data/lib/generators/templates/ckeditor/lang/pt.js +0 -6
- data/lib/generators/templates/ckeditor/lang/ro.js +0 -6
- data/lib/generators/templates/ckeditor/lang/ru.js +0 -6
- data/lib/generators/templates/ckeditor/lang/sk.js +0 -6
- data/lib/generators/templates/ckeditor/lang/sl.js +0 -6
- data/lib/generators/templates/ckeditor/lang/sr-latn.js +0 -6
- data/lib/generators/templates/ckeditor/lang/sr.js +0 -6
- data/lib/generators/templates/ckeditor/lang/sv.js +0 -6
- data/lib/generators/templates/ckeditor/lang/th.js +0 -6
- data/lib/generators/templates/ckeditor/lang/tr.js +0 -6
- data/lib/generators/templates/ckeditor/lang/uk.js +0 -6
- data/lib/generators/templates/ckeditor/lang/vi.js +0 -6
- data/lib/generators/templates/ckeditor/lang/zh-cn.js +0 -6
- data/lib/generators/templates/ckeditor/lang/zh.js +0 -6
- data/lib/generators/templates/ckeditor/plugins/attachment/dialogs/attachment.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/lib/generators/templates/ckeditor/plugins/attachment/lang/en.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/attachment/lang/ru.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/attachment/lang/uk.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/attachment/plugin.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/lib/generators/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -6
- data/lib/generators/templates/ckeditor/plugins/div/dialogs/div.js +0 -7
- data/lib/generators/templates/ckeditor/plugins/embed/dialogs/embed.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/embed/images/embed.png +0 -0
- data/lib/generators/templates/ckeditor/plugins/embed/lang/en.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/embed/lang/ru.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/embed/lang/uk.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/embed/plugin.js +0 -1
- data/lib/generators/templates/ckeditor/plugins/find/dialogs/find.js +0 -9
- data/lib/generators/templates/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/lib/generators/templates/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/lib/generators/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/lib/generators/templates/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/lib/generators/templates/ckeditor/plugins/image/dialogs/image.js +0 -13
- data/lib/generators/templates/ckeditor/plugins/link/dialogs/link.js +0 -11
- data/lib/generators/templates/ckeditor/plugins/pastefromword/filter/default.js +0 -10
- data/lib/generators/templates/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/lib/generators/templates/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/lib/generators/templates/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- data/lib/generators/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/lib/generators/templates/ckeditor/plugins/table/dialogs/table.js +0 -9
- data/lib/generators/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -8
- data/lib/generators/templates/ckeditor/plugins/templates/dialogs/templates.js +0 -7
- data/lib/generators/templates/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/lib/generators/templates/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
- data/lib/generators/templates/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/lib/generators/templates/ckeditor/skins/kama/dialog.css +0 -9
- data/lib/generators/templates/ckeditor/skins/kama/editor.css +0 -12
- data/lib/generators/templates/ckeditor/skins/kama/templates.css +0 -6
- data/lib/generators/templates/ckeditor/skins/office2003/dialog.css +0 -9
- data/lib/generators/templates/ckeditor/skins/office2003/editor.css +0 -13
- data/lib/generators/templates/ckeditor/skins/office2003/templates.css +0 -6
- data/lib/generators/templates/ckeditor/skins/v2/dialog.css +0 -8
- data/lib/generators/templates/ckeditor/skins/v2/editor.css +0 -12
- data/lib/generators/templates/ckeditor/skins/v2/templates.css +0 -6
- data/lib/generators/templates/ckeditor/swfupload/fileprogress.js +0 -272
- data/lib/generators/templates/ckeditor/themes/default/theme.js +0 -8
- data/lib/generators/templates/models/paperclip/asset.rb +0 -86
- data/lib/tasks/ckeditor_tasks.rake +0 -3
@@ -0,0 +1,206 @@
|
|
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 "elementspath" plugin. It shows all elements in the DOM
|
8
|
+
* parent tree relative to the current selection in the editing area.
|
9
|
+
*/
|
10
|
+
|
11
|
+
(function()
|
12
|
+
{
|
13
|
+
var commands =
|
14
|
+
{
|
15
|
+
toolbarFocus :
|
16
|
+
{
|
17
|
+
exec : function( editor )
|
18
|
+
{
|
19
|
+
var idBase = editor._.elementsPath.idBase;
|
20
|
+
var element = CKEDITOR.document.getById( idBase + '0' );
|
21
|
+
|
22
|
+
if ( element )
|
23
|
+
element.focus();
|
24
|
+
}
|
25
|
+
}
|
26
|
+
};
|
27
|
+
|
28
|
+
var emptyHtml = '<span class="cke_empty"> </span>';
|
29
|
+
|
30
|
+
CKEDITOR.plugins.add( 'elementspath',
|
31
|
+
{
|
32
|
+
requires : [ 'selection' ],
|
33
|
+
|
34
|
+
init : function( editor )
|
35
|
+
{
|
36
|
+
var spaceId = 'cke_path_' + editor.name;
|
37
|
+
var spaceElement;
|
38
|
+
var getSpaceElement = function()
|
39
|
+
{
|
40
|
+
if ( !spaceElement )
|
41
|
+
spaceElement = CKEDITOR.document.getById( spaceId );
|
42
|
+
return spaceElement;
|
43
|
+
};
|
44
|
+
|
45
|
+
var idBase = 'cke_elementspath_' + CKEDITOR.tools.getNextNumber() + '_';
|
46
|
+
|
47
|
+
editor._.elementsPath = { idBase : idBase, filters : [] };
|
48
|
+
|
49
|
+
editor.on( 'themeSpace', function( event )
|
50
|
+
{
|
51
|
+
if ( event.data.space == 'bottom' )
|
52
|
+
{
|
53
|
+
event.data.html +=
|
54
|
+
'<span id="' + spaceId + '_label" class="cke_voice_label">' + editor.lang.elementsPath.eleLabel + '</span>' +
|
55
|
+
'<div id="' + spaceId + '" class="cke_path" role="group" aria-labelledby="' + spaceId + '_label">' + emptyHtml + '</div>';
|
56
|
+
}
|
57
|
+
});
|
58
|
+
|
59
|
+
editor.on( 'selectionChange', function( ev )
|
60
|
+
{
|
61
|
+
var env = CKEDITOR.env,
|
62
|
+
selection = ev.data.selection,
|
63
|
+
element = selection.getStartElement(),
|
64
|
+
html = [],
|
65
|
+
editor = ev.editor,
|
66
|
+
elementsList = editor._.elementsPath.list = [],
|
67
|
+
filters = editor._.elementsPath.filters;
|
68
|
+
|
69
|
+
while ( element )
|
70
|
+
{
|
71
|
+
var ignore = 0;
|
72
|
+
for ( var i = 0; i < filters.length; i++ )
|
73
|
+
{
|
74
|
+
if ( filters[ i ]( element ) === false )
|
75
|
+
{
|
76
|
+
ignore = 1;
|
77
|
+
break;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
if ( !ignore )
|
82
|
+
{
|
83
|
+
var index = elementsList.push( element ) - 1;
|
84
|
+
var name;
|
85
|
+
if ( element.getAttribute( '_cke_real_element_type' ) )
|
86
|
+
name = element.getAttribute( '_cke_real_element_type' );
|
87
|
+
else
|
88
|
+
name = element.getName();
|
89
|
+
|
90
|
+
// Use this variable to add conditional stuff to the
|
91
|
+
// HTML (because we are doing it in reverse order... unshift).
|
92
|
+
var extra = '';
|
93
|
+
|
94
|
+
// Some browsers don't cancel key events in the keydown but in the
|
95
|
+
// keypress.
|
96
|
+
// TODO: Check if really needed for Gecko+Mac.
|
97
|
+
if ( env.opera || ( env.gecko && env.mac ) )
|
98
|
+
extra += ' onkeypress="return false;"';
|
99
|
+
|
100
|
+
// With Firefox, we need to force the button to redraw, otherwise it
|
101
|
+
// will remain in the focus state.
|
102
|
+
if ( env.gecko )
|
103
|
+
extra += ' onblur="this.style.cssText = this.style.cssText;"';
|
104
|
+
|
105
|
+
var label = editor.lang.elementsPath.eleTitle.replace( /%1/, name );
|
106
|
+
html.unshift(
|
107
|
+
'<a' +
|
108
|
+
' id="', idBase, index, '"' +
|
109
|
+
' href="javascript:void(\'', name, '\')"' +
|
110
|
+
' tabindex="-1"' +
|
111
|
+
' title="', label, '"' +
|
112
|
+
( ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ?
|
113
|
+
' onfocus="event.preventBubble();"' : '' ) +
|
114
|
+
' hidefocus="true" ' +
|
115
|
+
' onkeydown="return CKEDITOR._.elementsPath.keydown(\'', editor.name, '\',', index, ', event);"' +
|
116
|
+
extra ,
|
117
|
+
' onclick="return CKEDITOR._.elementsPath.click(\'', editor.name, '\',', index, ');"',
|
118
|
+
' role="button" aria-labelledby="' + idBase + index + '_label">',
|
119
|
+
name,
|
120
|
+
'<span id="', idBase, index, '_label" class="cke_label">' + label + '</span>',
|
121
|
+
'</a>' );
|
122
|
+
|
123
|
+
}
|
124
|
+
|
125
|
+
if ( name == 'body' )
|
126
|
+
break;
|
127
|
+
|
128
|
+
element = element.getParent();
|
129
|
+
}
|
130
|
+
|
131
|
+
getSpaceElement().setHtml( html.join('') + emptyHtml );
|
132
|
+
});
|
133
|
+
|
134
|
+
editor.on( 'contentDomUnload', function()
|
135
|
+
{
|
136
|
+
// If the spaceElement hasn't been initialized, don't try to do it at this time
|
137
|
+
// Only reuse existing reference.
|
138
|
+
spaceElement && spaceElement.setHtml( emptyHtml );
|
139
|
+
});
|
140
|
+
|
141
|
+
editor.addCommand( 'elementsPathFocus', commands.toolbarFocus );
|
142
|
+
}
|
143
|
+
});
|
144
|
+
})();
|
145
|
+
|
146
|
+
/**
|
147
|
+
* Handles the click on an element in the element path.
|
148
|
+
* @private
|
149
|
+
*/
|
150
|
+
CKEDITOR._.elementsPath =
|
151
|
+
{
|
152
|
+
click : function( instanceName, elementIndex )
|
153
|
+
{
|
154
|
+
var editor = CKEDITOR.instances[ instanceName ];
|
155
|
+
editor.focus();
|
156
|
+
|
157
|
+
var element = editor._.elementsPath.list[ elementIndex ];
|
158
|
+
editor.getSelection().selectElement( element );
|
159
|
+
|
160
|
+
return false;
|
161
|
+
},
|
162
|
+
|
163
|
+
keydown : function( instanceName, elementIndex, ev )
|
164
|
+
{
|
165
|
+
var instance = CKEDITOR.ui.button._.instances[ elementIndex ];
|
166
|
+
var editor = CKEDITOR.instances[ instanceName ];
|
167
|
+
var idBase = editor._.elementsPath.idBase;
|
168
|
+
|
169
|
+
var element;
|
170
|
+
|
171
|
+
ev = new CKEDITOR.dom.event( ev );
|
172
|
+
|
173
|
+
var rtl = editor.lang.dir == 'rtl';
|
174
|
+
switch ( ev.getKeystroke() )
|
175
|
+
{
|
176
|
+
case rtl ? 39 : 37 : // LEFT-ARROW
|
177
|
+
case 9 : // TAB
|
178
|
+
element = CKEDITOR.document.getById( idBase + ( elementIndex + 1 ) );
|
179
|
+
if ( !element )
|
180
|
+
element = CKEDITOR.document.getById( idBase + '0' );
|
181
|
+
element.focus();
|
182
|
+
return false;
|
183
|
+
|
184
|
+
case rtl ? 37 : 39 : // RIGHT-ARROW
|
185
|
+
case CKEDITOR.SHIFT + 9 : // SHIFT + TAB
|
186
|
+
element = CKEDITOR.document.getById( idBase + ( elementIndex - 1 ) );
|
187
|
+
if ( !element )
|
188
|
+
element = CKEDITOR.document.getById( idBase + ( editor._.elementsPath.list.length - 1 ) );
|
189
|
+
element.focus();
|
190
|
+
return false;
|
191
|
+
|
192
|
+
case 27 : // ESC
|
193
|
+
editor.focus();
|
194
|
+
return false;
|
195
|
+
|
196
|
+
case 13 : // ENTER // Opera
|
197
|
+
case 32 : // SPACE
|
198
|
+
this.click( instanceName, elementIndex );
|
199
|
+
return false;
|
200
|
+
|
201
|
+
//default :
|
202
|
+
// alert( ev.getKeystroke() );
|
203
|
+
}
|
204
|
+
return true;
|
205
|
+
}
|
206
|
+
};
|
@@ -0,0 +1,353 @@
|
|
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
|
+
CKEDITOR.plugins.add( 'enterkey',
|
9
|
+
{
|
10
|
+
requires : [ 'keystrokes', 'indent' ],
|
11
|
+
|
12
|
+
init : function( editor )
|
13
|
+
{
|
14
|
+
var specialKeys = editor.specialKeys;
|
15
|
+
specialKeys[ 13 ] = enter;
|
16
|
+
specialKeys[ CKEDITOR.SHIFT + 13 ] = shiftEnter;
|
17
|
+
}
|
18
|
+
});
|
19
|
+
|
20
|
+
CKEDITOR.plugins.enterkey =
|
21
|
+
{
|
22
|
+
enterBlock : function( editor, mode, range, forceMode )
|
23
|
+
{
|
24
|
+
// Get the range for the current selection.
|
25
|
+
range = range || getRange( editor );
|
26
|
+
|
27
|
+
var doc = range.document;
|
28
|
+
|
29
|
+
// Exit the list when we're inside an empty list item block. (#5376)
|
30
|
+
if ( range.checkStartOfBlock() && range.checkEndOfBlock() )
|
31
|
+
{
|
32
|
+
var path = new CKEDITOR.dom.elementPath( range.startContainer ),
|
33
|
+
block = path.block;
|
34
|
+
|
35
|
+
if ( block && ( block.is( 'li' ) || block.getParent().is( 'li' ) ) )
|
36
|
+
{
|
37
|
+
editor.execCommand( 'outdent' );
|
38
|
+
return;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
// Determine the block element to be used.
|
43
|
+
var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
|
44
|
+
|
45
|
+
// Split the range.
|
46
|
+
var splitInfo = range.splitBlock( blockTag );
|
47
|
+
|
48
|
+
if ( !splitInfo )
|
49
|
+
return;
|
50
|
+
|
51
|
+
// Get the current blocks.
|
52
|
+
var previousBlock = splitInfo.previousBlock,
|
53
|
+
nextBlock = splitInfo.nextBlock;
|
54
|
+
|
55
|
+
var isStartOfBlock = splitInfo.wasStartOfBlock,
|
56
|
+
isEndOfBlock = splitInfo.wasEndOfBlock;
|
57
|
+
|
58
|
+
var node;
|
59
|
+
|
60
|
+
// If this is a block under a list item, split it as well. (#1647)
|
61
|
+
if ( nextBlock )
|
62
|
+
{
|
63
|
+
node = nextBlock.getParent();
|
64
|
+
if ( node.is( 'li' ) )
|
65
|
+
{
|
66
|
+
nextBlock.breakParent( node );
|
67
|
+
nextBlock.move( nextBlock.getNext(), true );
|
68
|
+
}
|
69
|
+
}
|
70
|
+
else if ( previousBlock && ( node = previousBlock.getParent() ) && node.is( 'li' ) )
|
71
|
+
{
|
72
|
+
previousBlock.breakParent( node );
|
73
|
+
range.moveToElementEditStart( previousBlock.getNext() );
|
74
|
+
previousBlock.move( previousBlock.getPrevious() );
|
75
|
+
}
|
76
|
+
|
77
|
+
// If we have both the previous and next blocks, it means that the
|
78
|
+
// boundaries were on separated blocks, or none of them where on the
|
79
|
+
// block limits (start/end).
|
80
|
+
if ( !isStartOfBlock && !isEndOfBlock )
|
81
|
+
{
|
82
|
+
// If the next block is an <li> with another list tree as the first
|
83
|
+
// child, we'll need to append a filler (<br>/NBSP) or the list item
|
84
|
+
// wouldn't be editable. (#1420)
|
85
|
+
if ( nextBlock.is( 'li' )
|
86
|
+
&& ( node = nextBlock.getFirst( CKEDITOR.dom.walker.invisible( true ) ) )
|
87
|
+
&& node.is && node.is( 'ul', 'ol' ) )
|
88
|
+
( CKEDITOR.env.ie ? doc.createText( '\xa0' ) : doc.createElement( 'br' ) ).insertBefore( node );
|
89
|
+
|
90
|
+
// Move the selection to the end block.
|
91
|
+
if ( nextBlock )
|
92
|
+
range.moveToElementEditStart( nextBlock );
|
93
|
+
}
|
94
|
+
else
|
95
|
+
{
|
96
|
+
var newBlock;
|
97
|
+
|
98
|
+
if ( previousBlock )
|
99
|
+
{
|
100
|
+
// Do not enter this block if it's a header tag, or we are in
|
101
|
+
// a Shift+Enter (#77). Create a new block element instead
|
102
|
+
// (later in the code).
|
103
|
+
if ( previousBlock.is( 'li' ) || !headerTagRegex.test( previousBlock.getName() ) )
|
104
|
+
{
|
105
|
+
// Otherwise, duplicate the previous block.
|
106
|
+
newBlock = previousBlock.clone();
|
107
|
+
}
|
108
|
+
}
|
109
|
+
else if ( nextBlock )
|
110
|
+
newBlock = nextBlock.clone();
|
111
|
+
|
112
|
+
if ( !newBlock )
|
113
|
+
newBlock = doc.createElement( blockTag );
|
114
|
+
// Force the enter block unless we're talking of a list item.
|
115
|
+
else if ( forceMode && !newBlock.is( 'li' ) )
|
116
|
+
newBlock.renameNode( blockTag );
|
117
|
+
|
118
|
+
// Recreate the inline elements tree, which was available
|
119
|
+
// before hitting enter, so the same styles will be available in
|
120
|
+
// the new block.
|
121
|
+
var elementPath = splitInfo.elementPath;
|
122
|
+
if ( elementPath )
|
123
|
+
{
|
124
|
+
for ( var i = 0, len = elementPath.elements.length ; i < len ; i++ )
|
125
|
+
{
|
126
|
+
var element = elementPath.elements[ i ];
|
127
|
+
|
128
|
+
if ( element.equals( elementPath.block ) || element.equals( elementPath.blockLimit ) )
|
129
|
+
break;
|
130
|
+
|
131
|
+
if ( CKEDITOR.dtd.$removeEmpty[ element.getName() ] )
|
132
|
+
{
|
133
|
+
element = element.clone();
|
134
|
+
newBlock.moveChildren( element );
|
135
|
+
newBlock.append( element );
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
if ( !CKEDITOR.env.ie )
|
141
|
+
newBlock.appendBogus();
|
142
|
+
|
143
|
+
range.insertNode( newBlock );
|
144
|
+
|
145
|
+
// This is tricky, but to make the new block visible correctly
|
146
|
+
// we must select it.
|
147
|
+
// The previousBlock check has been included because it may be
|
148
|
+
// empty if we have fixed a block-less space (like ENTER into an
|
149
|
+
// empty table cell).
|
150
|
+
if ( CKEDITOR.env.ie && isStartOfBlock && ( !isEndOfBlock || !previousBlock.getChildCount() ) )
|
151
|
+
{
|
152
|
+
// Move the selection to the new block.
|
153
|
+
range.moveToElementEditStart( isEndOfBlock ? previousBlock : newBlock );
|
154
|
+
range.select();
|
155
|
+
}
|
156
|
+
|
157
|
+
// Move the selection to the new block.
|
158
|
+
range.moveToElementEditStart( isStartOfBlock && !isEndOfBlock ? nextBlock : newBlock );
|
159
|
+
}
|
160
|
+
|
161
|
+
if ( !CKEDITOR.env.ie )
|
162
|
+
{
|
163
|
+
if ( nextBlock )
|
164
|
+
{
|
165
|
+
// If we have split the block, adds a temporary span at the
|
166
|
+
// range position and scroll relatively to it.
|
167
|
+
var tmpNode = doc.createElement( 'span' );
|
168
|
+
|
169
|
+
// We need some content for Safari.
|
170
|
+
tmpNode.setHtml( ' ' );
|
171
|
+
|
172
|
+
range.insertNode( tmpNode );
|
173
|
+
tmpNode.scrollIntoView();
|
174
|
+
range.deleteContents();
|
175
|
+
}
|
176
|
+
else
|
177
|
+
{
|
178
|
+
// We may use the above scroll logic for the new block case
|
179
|
+
// too, but it gives some weird result with Opera.
|
180
|
+
newBlock.scrollIntoView();
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
range.select();
|
185
|
+
},
|
186
|
+
|
187
|
+
enterBr : function( editor, mode, range, forceMode )
|
188
|
+
{
|
189
|
+
// Get the range for the current selection.
|
190
|
+
range = range || getRange( editor );
|
191
|
+
|
192
|
+
var doc = range.document;
|
193
|
+
|
194
|
+
// Determine the block element to be used.
|
195
|
+
var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
|
196
|
+
|
197
|
+
var isEndOfBlock = range.checkEndOfBlock();
|
198
|
+
|
199
|
+
var elementPath = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() );
|
200
|
+
|
201
|
+
var startBlock = elementPath.block,
|
202
|
+
startBlockTag = startBlock && elementPath.block.getName();
|
203
|
+
|
204
|
+
var isPre = false;
|
205
|
+
|
206
|
+
if ( !forceMode && startBlockTag == 'li' )
|
207
|
+
{
|
208
|
+
enterBlock( editor, mode, range, forceMode );
|
209
|
+
return;
|
210
|
+
}
|
211
|
+
|
212
|
+
// If we are at the end of a header block.
|
213
|
+
if ( !forceMode && isEndOfBlock && headerTagRegex.test( startBlockTag ) )
|
214
|
+
{
|
215
|
+
// Insert a <br> after the current paragraph.
|
216
|
+
doc.createElement( 'br' ).insertAfter( startBlock );
|
217
|
+
|
218
|
+
// A text node is required by Gecko only to make the cursor blink.
|
219
|
+
if ( CKEDITOR.env.gecko )
|
220
|
+
doc.createText( '' ).insertAfter( startBlock );
|
221
|
+
|
222
|
+
// IE has different behaviors regarding position.
|
223
|
+
range.setStartAt( startBlock.getNext(), CKEDITOR.env.ie ? CKEDITOR.POSITION_BEFORE_START : CKEDITOR.POSITION_AFTER_START );
|
224
|
+
}
|
225
|
+
else
|
226
|
+
{
|
227
|
+
var lineBreak;
|
228
|
+
|
229
|
+
isPre = ( startBlockTag == 'pre' );
|
230
|
+
|
231
|
+
// Gecko prefers <br> as line-break inside <pre> (#4711).
|
232
|
+
if ( isPre && !CKEDITOR.env.gecko )
|
233
|
+
lineBreak = doc.createText( CKEDITOR.env.ie ? '\r' : '\n' );
|
234
|
+
else
|
235
|
+
lineBreak = doc.createElement( 'br' );
|
236
|
+
|
237
|
+
range.deleteContents();
|
238
|
+
range.insertNode( lineBreak );
|
239
|
+
|
240
|
+
// A text node is required by Gecko only to make the cursor blink.
|
241
|
+
// We need some text inside of it, so the bogus <br> is properly
|
242
|
+
// created.
|
243
|
+
if ( !CKEDITOR.env.ie )
|
244
|
+
doc.createText( '\ufeff' ).insertAfter( lineBreak );
|
245
|
+
|
246
|
+
// If we are at the end of a block, we must be sure the bogus node is available in that block.
|
247
|
+
if ( isEndOfBlock && !CKEDITOR.env.ie )
|
248
|
+
lineBreak.getParent().appendBogus();
|
249
|
+
|
250
|
+
// Now we can remove the text node contents, so the caret doesn't
|
251
|
+
// stop on it.
|
252
|
+
if ( !CKEDITOR.env.ie )
|
253
|
+
lineBreak.getNext().$.nodeValue = '';
|
254
|
+
// IE has different behavior regarding position.
|
255
|
+
if ( CKEDITOR.env.ie )
|
256
|
+
range.setStartAt( lineBreak, CKEDITOR.POSITION_AFTER_END );
|
257
|
+
else
|
258
|
+
range.setStartAt( lineBreak.getNext(), CKEDITOR.POSITION_AFTER_START );
|
259
|
+
|
260
|
+
// Scroll into view, for non IE.
|
261
|
+
if ( !CKEDITOR.env.ie )
|
262
|
+
{
|
263
|
+
var dummy = null;
|
264
|
+
|
265
|
+
// BR is not positioned in Opera and Webkit.
|
266
|
+
if ( !CKEDITOR.env.gecko )
|
267
|
+
{
|
268
|
+
dummy = doc.createElement( 'span' );
|
269
|
+
// We need have some contents for Webkit to position it
|
270
|
+
// under parent node. ( #3681)
|
271
|
+
dummy.setHtml(' ');
|
272
|
+
}
|
273
|
+
else
|
274
|
+
dummy = doc.createElement( 'br' );
|
275
|
+
|
276
|
+
dummy.insertBefore( lineBreak.getNext() );
|
277
|
+
dummy.scrollIntoView();
|
278
|
+
dummy.remove();
|
279
|
+
}
|
280
|
+
}
|
281
|
+
|
282
|
+
// This collapse guarantees the cursor will be blinking.
|
283
|
+
range.collapse( true );
|
284
|
+
|
285
|
+
range.select( isPre );
|
286
|
+
}
|
287
|
+
};
|
288
|
+
|
289
|
+
var plugin = CKEDITOR.plugins.enterkey,
|
290
|
+
enterBr = plugin.enterBr,
|
291
|
+
enterBlock = plugin.enterBlock,
|
292
|
+
headerTagRegex = /^h[1-6]$/;
|
293
|
+
|
294
|
+
function shiftEnter( editor )
|
295
|
+
{
|
296
|
+
// Only effective within document.
|
297
|
+
if ( editor.mode != 'wysiwyg' )
|
298
|
+
return false;
|
299
|
+
|
300
|
+
// On SHIFT+ENTER:
|
301
|
+
// 1. We want to enforce the mode to be respected, instead
|
302
|
+
// of cloning the current block. (#77)
|
303
|
+
// 2. Always perform a block break when inside <pre> (#5402).
|
304
|
+
if ( editor.getSelection().getStartElement().hasAscendant( 'pre', true ) )
|
305
|
+
{
|
306
|
+
setTimeout( function() { enterBlock( editor, editor.config.enterMode, null, true ); }, 0 );
|
307
|
+
return true;
|
308
|
+
}
|
309
|
+
else
|
310
|
+
return enter( editor, editor.config.shiftEnterMode, true );
|
311
|
+
}
|
312
|
+
|
313
|
+
function enter( editor, mode, forceMode )
|
314
|
+
{
|
315
|
+
forceMode = editor.config.forceEnterMode || forceMode;
|
316
|
+
|
317
|
+
// Only effective within document.
|
318
|
+
if ( editor.mode != 'wysiwyg' )
|
319
|
+
return false;
|
320
|
+
|
321
|
+
if ( !mode )
|
322
|
+
mode = editor.config.enterMode;
|
323
|
+
|
324
|
+
// Use setTimout so the keys get cancelled immediatelly.
|
325
|
+
setTimeout( function()
|
326
|
+
{
|
327
|
+
editor.fire( 'saveSnapshot' ); // Save undo step.
|
328
|
+
if ( mode == CKEDITOR.ENTER_BR || editor.getSelection().getStartElement().hasAscendant( 'pre', true ) )
|
329
|
+
enterBr( editor, mode, null, forceMode );
|
330
|
+
else
|
331
|
+
enterBlock( editor, mode, null, forceMode );
|
332
|
+
|
333
|
+
}, 0 );
|
334
|
+
|
335
|
+
return true;
|
336
|
+
}
|
337
|
+
|
338
|
+
|
339
|
+
function getRange( editor )
|
340
|
+
{
|
341
|
+
// Get the selection ranges.
|
342
|
+
var ranges = editor.getSelection().getRanges();
|
343
|
+
|
344
|
+
// Delete the contents of all ranges except the first one.
|
345
|
+
for ( var i = ranges.length - 1 ; i > 0 ; i-- )
|
346
|
+
{
|
347
|
+
ranges[ i ].deleteContents();
|
348
|
+
}
|
349
|
+
|
350
|
+
// Return the first range.
|
351
|
+
return ranges[ 0 ];
|
352
|
+
}
|
353
|
+
})();
|