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
@@ -1,355 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*/
|
5
|
-
|
6
|
-
/**
|
7
|
-
* @file DOM iterator, which iterates over list items, lines and paragraphs.
|
8
|
-
*/
|
9
|
-
|
10
|
-
CKEDITOR.plugins.add( 'domiterator' );
|
11
|
-
|
12
|
-
(function()
|
13
|
-
{
|
14
|
-
/**
|
15
|
-
* @name CKEDITOR.dom.iterator
|
16
|
-
*/
|
17
|
-
function iterator( range )
|
18
|
-
{
|
19
|
-
if ( arguments.length < 1 )
|
20
|
-
return;
|
21
|
-
|
22
|
-
this.range = range;
|
23
|
-
this.forceBrBreak = false;
|
24
|
-
|
25
|
-
// Whether include <br>s into the enlarged range.(#3730).
|
26
|
-
this.enlargeBr = true;
|
27
|
-
this.enforceRealBlocks = false;
|
28
|
-
|
29
|
-
this._ || ( this._ = {} );
|
30
|
-
}
|
31
|
-
|
32
|
-
var beginWhitespaceRegex = /^[\r\n\t ]+$/,
|
33
|
-
isBookmark = CKEDITOR.dom.walker.bookmark();
|
34
|
-
|
35
|
-
iterator.prototype = {
|
36
|
-
getNextParagraph : function( blockTag )
|
37
|
-
{
|
38
|
-
// The block element to be returned.
|
39
|
-
var block;
|
40
|
-
|
41
|
-
// The range object used to identify the paragraph contents.
|
42
|
-
var range;
|
43
|
-
|
44
|
-
// Indicats that the current element in the loop is the last one.
|
45
|
-
var isLast;
|
46
|
-
|
47
|
-
// Instructs to cleanup remaining BRs.
|
48
|
-
var removePreviousBr, removeLastBr;
|
49
|
-
|
50
|
-
// This is the first iteration. Let's initialize it.
|
51
|
-
if ( !this._.lastNode )
|
52
|
-
{
|
53
|
-
range = this.range.clone();
|
54
|
-
range.enlarge( this.forceBrBreak || !this.enlargeBr ?
|
55
|
-
CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS : CKEDITOR.ENLARGE_BLOCK_CONTENTS );
|
56
|
-
|
57
|
-
var walker = new CKEDITOR.dom.walker( range ),
|
58
|
-
ignoreBookmarkTextEvaluator = CKEDITOR.dom.walker.bookmark( true, true );
|
59
|
-
// Avoid anchor inside bookmark inner text.
|
60
|
-
walker.evaluator = ignoreBookmarkTextEvaluator;
|
61
|
-
this._.nextNode = walker.next();
|
62
|
-
// TODO: It's better to have walker.reset() used here.
|
63
|
-
walker = new CKEDITOR.dom.walker( range );
|
64
|
-
walker.evaluator = ignoreBookmarkTextEvaluator;
|
65
|
-
var lastNode = walker.previous();
|
66
|
-
this._.lastNode = lastNode.getNextSourceNode( true );
|
67
|
-
|
68
|
-
// We may have an empty text node at the end of block due to [3770].
|
69
|
-
// If that node is the lastNode, it would cause our logic to leak to the
|
70
|
-
// next block.(#3887)
|
71
|
-
if ( this._.lastNode &&
|
72
|
-
this._.lastNode.type == CKEDITOR.NODE_TEXT &&
|
73
|
-
!CKEDITOR.tools.trim( this._.lastNode.getText( ) ) &&
|
74
|
-
this._.lastNode.getParent().isBlockBoundary() )
|
75
|
-
{
|
76
|
-
var testRange = new CKEDITOR.dom.range( range.document );
|
77
|
-
testRange.moveToPosition( this._.lastNode, CKEDITOR.POSITION_AFTER_END );
|
78
|
-
if ( testRange.checkEndOfBlock() )
|
79
|
-
{
|
80
|
-
var path = new CKEDITOR.dom.elementPath( testRange.endContainer );
|
81
|
-
var lastBlock = path.block || path.blockLimit;
|
82
|
-
this._.lastNode = lastBlock.getNextSourceNode( true );
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
// Probably the document end is reached, we need a marker node.
|
87
|
-
if ( !this._.lastNode )
|
88
|
-
{
|
89
|
-
this._.lastNode = this._.docEndMarker = range.document.createText( '' );
|
90
|
-
this._.lastNode.insertAfter( lastNode );
|
91
|
-
}
|
92
|
-
|
93
|
-
// Let's reuse this variable.
|
94
|
-
range = null;
|
95
|
-
}
|
96
|
-
|
97
|
-
var currentNode = this._.nextNode;
|
98
|
-
lastNode = this._.lastNode;
|
99
|
-
|
100
|
-
this._.nextNode = null;
|
101
|
-
while ( currentNode )
|
102
|
-
{
|
103
|
-
// closeRange indicates that a paragraph boundary has been found,
|
104
|
-
// so the range can be closed.
|
105
|
-
var closeRange = false;
|
106
|
-
|
107
|
-
// includeNode indicates that the current node is good to be part
|
108
|
-
// of the range. By default, any non-element node is ok for it.
|
109
|
-
var includeNode = ( currentNode.type != CKEDITOR.NODE_ELEMENT ),
|
110
|
-
continueFromSibling = false;
|
111
|
-
|
112
|
-
// If it is an element node, let's check if it can be part of the
|
113
|
-
// range.
|
114
|
-
if ( !includeNode )
|
115
|
-
{
|
116
|
-
var nodeName = currentNode.getName();
|
117
|
-
|
118
|
-
if ( currentNode.isBlockBoundary( this.forceBrBreak && { br : 1 } ) )
|
119
|
-
{
|
120
|
-
// <br> boundaries must be part of the range. It will
|
121
|
-
// happen only if ForceBrBreak.
|
122
|
-
if ( nodeName == 'br' )
|
123
|
-
includeNode = true;
|
124
|
-
else if ( !range && !currentNode.getChildCount() && nodeName != 'hr' )
|
125
|
-
{
|
126
|
-
// If we have found an empty block, and haven't started
|
127
|
-
// the range yet, it means we must return this block.
|
128
|
-
block = currentNode;
|
129
|
-
isLast = currentNode.equals( lastNode );
|
130
|
-
break;
|
131
|
-
}
|
132
|
-
|
133
|
-
// The range must finish right before the boundary,
|
134
|
-
// including possibly skipped empty spaces. (#1603)
|
135
|
-
if ( range )
|
136
|
-
{
|
137
|
-
range.setEndAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
|
138
|
-
|
139
|
-
// The found boundary must be set as the next one at this
|
140
|
-
// point. (#1717)
|
141
|
-
if ( nodeName != 'br' )
|
142
|
-
this._.nextNode = currentNode;
|
143
|
-
}
|
144
|
-
|
145
|
-
closeRange = true;
|
146
|
-
}
|
147
|
-
else
|
148
|
-
{
|
149
|
-
// If we have child nodes, let's check them.
|
150
|
-
if ( currentNode.getFirst() )
|
151
|
-
{
|
152
|
-
// If we don't have a range yet, let's start it.
|
153
|
-
if ( !range )
|
154
|
-
{
|
155
|
-
range = new CKEDITOR.dom.range( this.range.document );
|
156
|
-
range.setStartAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
|
157
|
-
}
|
158
|
-
|
159
|
-
currentNode = currentNode.getFirst();
|
160
|
-
continue;
|
161
|
-
}
|
162
|
-
includeNode = true;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
else if ( currentNode.type == CKEDITOR.NODE_TEXT )
|
166
|
-
{
|
167
|
-
// Ignore normal whitespaces (i.e. not including or
|
168
|
-
// other unicode whitespaces) before/after a block node.
|
169
|
-
if ( beginWhitespaceRegex.test( currentNode.getText() ) )
|
170
|
-
includeNode = false;
|
171
|
-
}
|
172
|
-
|
173
|
-
// The current node is good to be part of the range and we are
|
174
|
-
// starting a new range, initialize it first.
|
175
|
-
if ( includeNode && !range )
|
176
|
-
{
|
177
|
-
range = new CKEDITOR.dom.range( this.range.document );
|
178
|
-
range.setStartAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
|
179
|
-
}
|
180
|
-
|
181
|
-
// The last node has been found.
|
182
|
-
isLast = ( ( !closeRange || includeNode ) && currentNode.equals( lastNode ) );
|
183
|
-
|
184
|
-
// If we are in an element boundary, let's check if it is time
|
185
|
-
// to close the range, otherwise we include the parent within it.
|
186
|
-
if ( range && !closeRange )
|
187
|
-
{
|
188
|
-
while ( !currentNode.getNext() && !isLast )
|
189
|
-
{
|
190
|
-
var parentNode = currentNode.getParent();
|
191
|
-
|
192
|
-
if ( parentNode.isBlockBoundary( this.forceBrBreak && { br : 1 } ) )
|
193
|
-
{
|
194
|
-
closeRange = true;
|
195
|
-
isLast = isLast || ( parentNode.equals( lastNode) );
|
196
|
-
break;
|
197
|
-
}
|
198
|
-
|
199
|
-
currentNode = parentNode;
|
200
|
-
includeNode = true;
|
201
|
-
isLast = ( currentNode.equals( lastNode ) );
|
202
|
-
continueFromSibling = true;
|
203
|
-
}
|
204
|
-
}
|
205
|
-
|
206
|
-
// Now finally include the node.
|
207
|
-
if ( includeNode )
|
208
|
-
range.setEndAt( currentNode, CKEDITOR.POSITION_AFTER_END );
|
209
|
-
|
210
|
-
currentNode = currentNode.getNextSourceNode( continueFromSibling, null, lastNode );
|
211
|
-
isLast = !currentNode;
|
212
|
-
|
213
|
-
// We have found a block boundary. Let's close the range and move out of the
|
214
|
-
// loop.
|
215
|
-
if ( ( closeRange || isLast ) && range )
|
216
|
-
{
|
217
|
-
var boundaryNodes = range.getBoundaryNodes(),
|
218
|
-
startPath = new CKEDITOR.dom.elementPath( range.startContainer );
|
219
|
-
|
220
|
-
// Drop the range if it only contains bookmark nodes, and is
|
221
|
-
// not because of the original collapsed range. (#4087,#4450)
|
222
|
-
if ( boundaryNodes.startNode.getParent().equals( startPath.blockLimit )
|
223
|
-
&& isBookmark( boundaryNodes.startNode ) && isBookmark( boundaryNodes.endNode ) )
|
224
|
-
{
|
225
|
-
range = null;
|
226
|
-
this._.nextNode = null;
|
227
|
-
}
|
228
|
-
else
|
229
|
-
break;
|
230
|
-
}
|
231
|
-
|
232
|
-
if ( isLast )
|
233
|
-
break;
|
234
|
-
|
235
|
-
}
|
236
|
-
|
237
|
-
// Now, based on the processed range, look for (or create) the block to be returned.
|
238
|
-
if ( !block )
|
239
|
-
{
|
240
|
-
// If no range has been found, this is the end.
|
241
|
-
if ( !range )
|
242
|
-
{
|
243
|
-
this._.docEndMarker && this._.docEndMarker.remove();
|
244
|
-
this._.nextNode = null;
|
245
|
-
return null;
|
246
|
-
}
|
247
|
-
|
248
|
-
startPath = new CKEDITOR.dom.elementPath( range.startContainer );
|
249
|
-
var startBlockLimit = startPath.blockLimit,
|
250
|
-
checkLimits = { div : 1, th : 1, td : 1 };
|
251
|
-
block = startPath.block;
|
252
|
-
|
253
|
-
if ( !block
|
254
|
-
&& !this.enforceRealBlocks
|
255
|
-
&& checkLimits[ startBlockLimit.getName() ]
|
256
|
-
&& range.checkStartOfBlock()
|
257
|
-
&& range.checkEndOfBlock() )
|
258
|
-
block = startBlockLimit;
|
259
|
-
else if ( !block || ( this.enforceRealBlocks && block.getName() == 'li' ) )
|
260
|
-
{
|
261
|
-
// Create the fixed block.
|
262
|
-
block = this.range.document.createElement( blockTag || 'p' );
|
263
|
-
|
264
|
-
// Move the contents of the temporary range to the fixed block.
|
265
|
-
range.extractContents().appendTo( block );
|
266
|
-
block.trim();
|
267
|
-
|
268
|
-
// Insert the fixed block into the DOM.
|
269
|
-
range.insertNode( block );
|
270
|
-
|
271
|
-
removePreviousBr = removeLastBr = true;
|
272
|
-
}
|
273
|
-
else if ( block.getName() != 'li' )
|
274
|
-
{
|
275
|
-
// If the range doesn't includes the entire contents of the
|
276
|
-
// block, we must split it, isolating the range in a dedicated
|
277
|
-
// block.
|
278
|
-
if ( !range.checkStartOfBlock() || !range.checkEndOfBlock() )
|
279
|
-
{
|
280
|
-
// The resulting block will be a clone of the current one.
|
281
|
-
block = block.clone( false );
|
282
|
-
|
283
|
-
// Extract the range contents, moving it to the new block.
|
284
|
-
range.extractContents().appendTo( block );
|
285
|
-
block.trim();
|
286
|
-
|
287
|
-
// Split the block. At this point, the range will be in the
|
288
|
-
// right position for our intents.
|
289
|
-
var splitInfo = range.splitBlock();
|
290
|
-
|
291
|
-
removePreviousBr = !splitInfo.wasStartOfBlock;
|
292
|
-
removeLastBr = !splitInfo.wasEndOfBlock;
|
293
|
-
|
294
|
-
// Insert the new block into the DOM.
|
295
|
-
range.insertNode( block );
|
296
|
-
}
|
297
|
-
}
|
298
|
-
else if ( !isLast )
|
299
|
-
{
|
300
|
-
// LIs are returned as is, with all their children (due to the
|
301
|
-
// nested lists). But, the next node is the node right after
|
302
|
-
// the current range, which could be an <li> child (nested
|
303
|
-
// lists) or the next sibling <li>.
|
304
|
-
|
305
|
-
this._.nextNode = ( block.equals( lastNode ) ? null :
|
306
|
-
range.getBoundaryNodes().endNode.getNextSourceNode( true, null, lastNode ) );
|
307
|
-
}
|
308
|
-
}
|
309
|
-
|
310
|
-
if ( removePreviousBr )
|
311
|
-
{
|
312
|
-
var previousSibling = block.getPrevious();
|
313
|
-
if ( previousSibling && previousSibling.type == CKEDITOR.NODE_ELEMENT )
|
314
|
-
{
|
315
|
-
if ( previousSibling.getName() == 'br' )
|
316
|
-
previousSibling.remove();
|
317
|
-
else if ( previousSibling.getLast() && previousSibling.getLast().$.nodeName.toLowerCase() == 'br' )
|
318
|
-
previousSibling.getLast().remove();
|
319
|
-
}
|
320
|
-
}
|
321
|
-
|
322
|
-
if ( removeLastBr )
|
323
|
-
{
|
324
|
-
// Ignore bookmark nodes.(#3783)
|
325
|
-
var bookmarkGuard = CKEDITOR.dom.walker.bookmark( false, true );
|
326
|
-
|
327
|
-
var lastChild = block.getLast();
|
328
|
-
if ( lastChild && lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.getName() == 'br' )
|
329
|
-
{
|
330
|
-
// Take care not to remove the block expanding <br> in non-IE browsers.
|
331
|
-
if ( CKEDITOR.env.ie
|
332
|
-
|| lastChild.getPrevious( bookmarkGuard )
|
333
|
-
|| lastChild.getNext( bookmarkGuard ) )
|
334
|
-
lastChild.remove();
|
335
|
-
}
|
336
|
-
}
|
337
|
-
|
338
|
-
// Get a reference for the next element. This is important because the
|
339
|
-
// above block can be removed or changed, so we can rely on it for the
|
340
|
-
// next interation.
|
341
|
-
if ( !this._.nextNode )
|
342
|
-
{
|
343
|
-
this._.nextNode = ( isLast || block.equals( lastNode ) ) ? null :
|
344
|
-
block.getNextSourceNode( true, null, lastNode );
|
345
|
-
}
|
346
|
-
|
347
|
-
return block;
|
348
|
-
}
|
349
|
-
};
|
350
|
-
|
351
|
-
CKEDITOR.dom.range.prototype.createIterator = function()
|
352
|
-
{
|
353
|
-
return new iterator( this );
|
354
|
-
};
|
355
|
-
})();
|
@@ -1,224 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*/
|
5
|
-
|
6
|
-
/**
|
7
|
-
* @fileOverview The default editing block plugin, which holds the editing area
|
8
|
-
* and source view.
|
9
|
-
*/
|
10
|
-
|
11
|
-
(function()
|
12
|
-
{
|
13
|
-
var getMode = function( editor, mode )
|
14
|
-
{
|
15
|
-
return editor._.modes && editor._.modes[ mode || editor.mode ];
|
16
|
-
};
|
17
|
-
|
18
|
-
// This is a semaphore used to avoid recursive calls between
|
19
|
-
// the following data handling functions.
|
20
|
-
var isHandlingData;
|
21
|
-
|
22
|
-
CKEDITOR.plugins.add( 'editingblock',
|
23
|
-
{
|
24
|
-
init : function( editor )
|
25
|
-
{
|
26
|
-
if ( !editor.config.editingBlock )
|
27
|
-
return;
|
28
|
-
|
29
|
-
editor.on( 'themeSpace', function( event )
|
30
|
-
{
|
31
|
-
if ( event.data.space == 'contents' )
|
32
|
-
event.data.html += '<br>';
|
33
|
-
});
|
34
|
-
|
35
|
-
editor.on( 'themeLoaded', function()
|
36
|
-
{
|
37
|
-
editor.fireOnce( 'editingBlockReady' );
|
38
|
-
});
|
39
|
-
|
40
|
-
editor.on( 'uiReady', function()
|
41
|
-
{
|
42
|
-
editor.setMode( editor.config.startupMode );
|
43
|
-
});
|
44
|
-
|
45
|
-
editor.on( 'afterSetData', function()
|
46
|
-
{
|
47
|
-
if ( !isHandlingData )
|
48
|
-
{
|
49
|
-
function setData()
|
50
|
-
{
|
51
|
-
isHandlingData = true;
|
52
|
-
getMode( editor ).loadData( editor.getData() );
|
53
|
-
isHandlingData = false;
|
54
|
-
}
|
55
|
-
|
56
|
-
if ( editor.mode )
|
57
|
-
setData();
|
58
|
-
else
|
59
|
-
{
|
60
|
-
editor.on( 'mode', function()
|
61
|
-
{
|
62
|
-
setData();
|
63
|
-
editor.removeListener( 'mode', arguments.callee );
|
64
|
-
});
|
65
|
-
}
|
66
|
-
}
|
67
|
-
});
|
68
|
-
|
69
|
-
editor.on( 'beforeGetData', function()
|
70
|
-
{
|
71
|
-
if ( !isHandlingData && editor.mode )
|
72
|
-
{
|
73
|
-
isHandlingData = true;
|
74
|
-
editor.setData( getMode( editor ).getData() );
|
75
|
-
isHandlingData = false;
|
76
|
-
}
|
77
|
-
});
|
78
|
-
|
79
|
-
editor.on( 'getSnapshot', function( event )
|
80
|
-
{
|
81
|
-
if ( editor.mode )
|
82
|
-
event.data = getMode( editor ).getSnapshotData();
|
83
|
-
});
|
84
|
-
|
85
|
-
editor.on( 'loadSnapshot', function( event )
|
86
|
-
{
|
87
|
-
if ( editor.mode )
|
88
|
-
getMode( editor ).loadSnapshotData( event.data );
|
89
|
-
});
|
90
|
-
|
91
|
-
// For the first "mode" call, we'll also fire the "instanceReady"
|
92
|
-
// event.
|
93
|
-
editor.on( 'mode', function( event )
|
94
|
-
{
|
95
|
-
// Do that once only.
|
96
|
-
event.removeListener();
|
97
|
-
|
98
|
-
if ( editor.config.startupFocus )
|
99
|
-
editor.focus();
|
100
|
-
|
101
|
-
// Fire instanceReady for both the editor and CKEDITOR, but
|
102
|
-
// defer this until the whole execution has completed
|
103
|
-
// to guarantee the editor is fully responsible.
|
104
|
-
setTimeout( function(){
|
105
|
-
editor.fireOnce( 'instanceReady' );
|
106
|
-
CKEDITOR.fire( 'instanceReady', null, editor );
|
107
|
-
} );
|
108
|
-
});
|
109
|
-
}
|
110
|
-
});
|
111
|
-
|
112
|
-
/**
|
113
|
-
* The current editing mode. An editing mode is basically a viewport for
|
114
|
-
* editing or content viewing. By default the possible values for this
|
115
|
-
* property are "wysiwyg" and "source".
|
116
|
-
* @type String
|
117
|
-
* @example
|
118
|
-
* alert( CKEDITOR.instances.editor1.mode ); // "wysiwyg" (e.g.)
|
119
|
-
*/
|
120
|
-
CKEDITOR.editor.prototype.mode = '';
|
121
|
-
|
122
|
-
/**
|
123
|
-
* Registers an editing mode. This function is to be used mainly by plugins.
|
124
|
-
* @param {String} mode The mode name.
|
125
|
-
* @param {Object} modeEditor The mode editor definition.
|
126
|
-
* @example
|
127
|
-
*/
|
128
|
-
CKEDITOR.editor.prototype.addMode = function( mode, modeEditor )
|
129
|
-
{
|
130
|
-
modeEditor.name = mode;
|
131
|
-
( this._.modes || ( this._.modes = {} ) )[ mode ] = modeEditor;
|
132
|
-
};
|
133
|
-
|
134
|
-
/**
|
135
|
-
* Sets the current editing mode in this editor instance.
|
136
|
-
* @param {String} mode A registered mode name.
|
137
|
-
* @example
|
138
|
-
* // Switch to "source" view.
|
139
|
-
* CKEDITOR.instances.editor1.setMode( 'source' );
|
140
|
-
*/
|
141
|
-
CKEDITOR.editor.prototype.setMode = function( mode )
|
142
|
-
{
|
143
|
-
var data,
|
144
|
-
holderElement = this.getThemeSpace( 'contents' ),
|
145
|
-
isDirty = this.checkDirty();
|
146
|
-
|
147
|
-
// Unload the previous mode.
|
148
|
-
if ( this.mode )
|
149
|
-
{
|
150
|
-
if ( mode == this.mode )
|
151
|
-
return;
|
152
|
-
|
153
|
-
this.fire( 'beforeModeUnload' );
|
154
|
-
|
155
|
-
var currentMode = getMode( this );
|
156
|
-
data = currentMode.getData();
|
157
|
-
currentMode.unload( holderElement );
|
158
|
-
this.mode = '';
|
159
|
-
}
|
160
|
-
|
161
|
-
holderElement.setHtml( '' );
|
162
|
-
|
163
|
-
// Load required mode.
|
164
|
-
var modeEditor = getMode( this, mode );
|
165
|
-
if ( !modeEditor )
|
166
|
-
throw '[CKEDITOR.editor.setMode] Unknown mode "' + mode + '".';
|
167
|
-
|
168
|
-
if ( !isDirty )
|
169
|
-
{
|
170
|
-
this.on( 'mode', function()
|
171
|
-
{
|
172
|
-
this.resetDirty();
|
173
|
-
this.removeListener( 'mode', arguments.callee );
|
174
|
-
});
|
175
|
-
}
|
176
|
-
|
177
|
-
modeEditor.load( holderElement, ( typeof data ) != 'string' ? this.getData() : data);
|
178
|
-
};
|
179
|
-
|
180
|
-
/**
|
181
|
-
* Moves the selection focus to the editing are space in the editor.
|
182
|
-
*/
|
183
|
-
CKEDITOR.editor.prototype.focus = function()
|
184
|
-
{
|
185
|
-
var mode = getMode( this );
|
186
|
-
if ( mode )
|
187
|
-
mode.focus();
|
188
|
-
};
|
189
|
-
})();
|
190
|
-
|
191
|
-
/**
|
192
|
-
* The mode to load at the editor startup. It depends on the plugins
|
193
|
-
* loaded. By default, the "wysiwyg" and "source" modes are available.
|
194
|
-
* @type String
|
195
|
-
* @default 'wysiwyg'
|
196
|
-
* @example
|
197
|
-
* config.startupMode = 'source';
|
198
|
-
*/
|
199
|
-
CKEDITOR.config.startupMode = 'wysiwyg';
|
200
|
-
|
201
|
-
/**
|
202
|
-
* Sets whether the editor should have the focus when the page loads.
|
203
|
-
* @type Boolean
|
204
|
-
* @default false
|
205
|
-
* @example
|
206
|
-
* config.startupFocus = true;
|
207
|
-
*/
|
208
|
-
CKEDITOR.config.startupFocus = false;
|
209
|
-
|
210
|
-
/**
|
211
|
-
* Whether to render or not the editing block area in the editor interface.
|
212
|
-
* @type Boolean
|
213
|
-
* @default true
|
214
|
-
* @example
|
215
|
-
* config.editingBlock = false;
|
216
|
-
*/
|
217
|
-
CKEDITOR.config.editingBlock = true;
|
218
|
-
|
219
|
-
/**
|
220
|
-
* Fired when a CKEDITOR instance is created, fully initialized and ready for interaction.
|
221
|
-
* @name CKEDITOR#instanceReady
|
222
|
-
* @event
|
223
|
-
* @param {CKEDITOR.editor} editor The editor instance that has been created.
|
224
|
-
*/
|