ckeditor-jess 3.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +161 -0
- data/Rakefile +45 -0
- data/app/controllers/ckeditor_controller.rb +85 -0
- data/app/helpers/ckeditor_helper.rb +38 -0
- data/app/views/ckeditor/_asset.html.erb +15 -0
- data/app/views/ckeditor/_swfupload.html.erb +51 -0
- data/app/views/ckeditor/files.html.erb +91 -0
- data/app/views/ckeditor/images.html.erb +91 -0
- data/app/views/layouts/ckeditor.html.erb +29 -0
- data/config/routes.rb +5 -0
- data/examples/migrations/attachment_fu/create_assets.rb +30 -0
- data/examples/migrations/paperclip/create_assets.rb +25 -0
- data/examples/models/attachment_fu/asset.rb +45 -0
- data/examples/models/attachment_fu/attachment_file.rb +46 -0
- data/examples/models/attachment_fu/picture.rb +46 -0
- data/examples/models/paperclip/asset.rb +65 -0
- data/examples/models/paperclip/attachment_file.rb +22 -0
- data/examples/models/paperclip/picture.rb +39 -0
- data/examples/s3/attachment_file.rb +23 -0
- data/examples/s3/picture.rb +41 -0
- 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 +993 -0
- data/generators/ckeditor_install/templates/ckeditor/INSTALL.html +92 -0
- data/generators/ckeditor_install/templates/ckeditor/LICENSE.html +1334 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/ajax.html +87 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/api.html +152 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/api_dialog.html +188 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/api_dialog/my_dialog.js +28 -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/generators/ckeditor_install/templates/ckeditor/_samples/assets/output_for_flash.fla +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/assets/output_xhtml.css +204 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/assets/swfobject.js +18 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/autogrow.html +75 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/divreplace.html +137 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/enterkey.html +88 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/fullpage.html +62 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/index.html +57 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/jqueryadapter.html +73 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/output_for_flash.html +257 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/output_html.html +259 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/output_xhtml.html +159 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/php/advanced.php +93 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/php/events.php +130 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/php/replace.php +63 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/php/replaceall.php +68 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/php/standalone.php +64 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/replacebyclass.html +49 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/replacebycode.html +80 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/sample.css +81 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/sample.js +65 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/sample_posteddata.php +59 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/sharedspaces.html +131 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/skins.html +83 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/ui_color.html +87 -0
- data/generators/ckeditor_install/templates/ckeditor/_samples/ui_languages.html +103 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/adapters/jquery.js +297 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/_bootstrap.js +96 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ajax.js +142 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ckeditor.js +133 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ckeditor_base.js +196 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ckeditor_basic.js +239 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/command.js +209 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/commanddefinition.js +129 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/config.js +430 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dataprocessor.js +65 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom.js +20 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/comment.js +32 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/document.js +224 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/documentfragment.js +49 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/domobject.js +255 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/element.js +1564 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/elementpath.js +119 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/event.js +142 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/node.js +683 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/nodelist.js +26 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/range.js +1883 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/rangelist.js +214 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/text.js +123 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/walker.js +445 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dom/window.js +96 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/dtd.js +238 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/editor.js +924 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/editor_basic.js +182 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/env.js +270 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/event.js +342 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/eventInfo.js +120 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/focusmanager.js +152 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser.js +224 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/basicwriter.js +145 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/cdata.js +43 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/comment.js +60 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/element.js +240 -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 +504 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/htmlparser/text.js +55 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/imagecacher.js +80 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/lang.js +156 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/loader.js +243 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/plugindefinition.js +66 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/plugins.js +85 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/resourcemanager.js +238 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/scriptloader.js +200 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/skins.js +212 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/themes.js +19 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/tools.js +734 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/ui.js +116 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/core/xml.js +165 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/_languages.js +83 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/_translationstatus.txt +60 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/af.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ar.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bg.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bn.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/bs.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ca.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/cs.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/cy.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/da.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/de.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/el.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-au.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-ca.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en-gb.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/en.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/eo.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/es.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/et.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/eu.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fa.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fi.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fo.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fr-ca.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/fr.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/gl.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/gu.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/he.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hi.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hr.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/hu.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/is.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/it.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ja.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/km.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ko.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/lt.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/lv.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/mn.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ms.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/nb.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/nl.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/no.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pl.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pt-br.js +757 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/pt.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ro.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/ru.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sk.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sl.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sr-latn.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sr.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/sv.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/th.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/tr.js +757 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/uk.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/vi.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/zh-cn.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/lang/zh.js +758 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +211 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/a11yhelp/lang/en.js +108 -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/generators/ckeditor_install/templates/ckeditor/_source/plugins/about/dialogs/about.js +73 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/about/plugin.js +23 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/ajax_save/plugin.js +43 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/attachment/dialogs/attachment.js +384 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/attachment/images/attachment.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/attachment/lang/en.js +10 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/attachment/lang/ru.js +10 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/attachment/lang/uk.js +10 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/attachment/plugin.js +44 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/autogrow/plugin.js +86 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/basicstyles/plugin.js +101 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/bidi/plugin.js +259 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/blockquote/plugin.js +301 -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 +412 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/colorbutton/plugin.js +250 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +336 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/colordialog/plugin.js +13 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/contextmenu/plugin.js +290 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialog/dialogDefinition.js +315 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialog/plugin.js +3015 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialogadvtab/plugin.js +213 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/dialogui/plugin.js +1523 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/div/dialogs/div.js +535 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/div/plugin.js +121 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/domiterator/plugin.js +356 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/editingblock/plugin.js +229 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/elementspath/plugin.js +206 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/embed/dialogs/embed.js +65 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/embed/images/embed.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/embed/lang/en.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/embed/lang/ru.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/embed/lang/uk.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/embed/plugin.js +43 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/enterkey/plugin.js +363 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/entities/plugin.js +226 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +122 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/filebrowser/plugin.js +501 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/find/dialogs/find.js +890 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/find/plugin.js +46 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +698 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/flash/plugin.js +168 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/floatpanel/plugin.js +402 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/font/plugin.js +234 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/format/plugin.js +194 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/button.js +135 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/checkbox.js +153 -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/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/radio.js +135 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/select.js +556 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/forms/dialogs/textarea.js +114 -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 +284 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/horizontalrule/plugin.js +36 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +502 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/htmlwriter/plugin.js +319 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/iframedialog/plugin.js +136 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/image/dialogs/image.js +1396 -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 +455 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/justify/plugin.js +221 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/keystrokes/plugin.js +225 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/dialogs/anchor.js +99 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/dialogs/link.js +1424 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/link/plugin.js +238 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/list/plugin.js +710 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/listblock/plugin.js +257 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +204 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/liststyle/plugin.js +66 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/maximize/plugin.js +350 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/menu/plugin.js +408 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/menubutton/plugin.js +94 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/newpage/plugin.js +53 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/pagebreak/plugin.js +121 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/panel/plugin.js +399 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/panelbutton/plugin.js +147 -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/generators/ckeditor_install/templates/ckeditor/_source/plugins/popup/plugin.js +64 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/preview/plugin.js +108 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/print/plugin.js +41 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/removeformat/plugin.js +184 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/resize/plugin.js +157 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/richcombo/plugin.js +370 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/save/plugin.js +55 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +534 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +71 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/scayt/plugin.js +945 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/selection/plugin.js +1375 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showblocks/plugin.js +155 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/showborders/plugin.js +201 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +218 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/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 +409 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/specialchar/plugin.js +29 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/styles/plugin.js +1479 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/styles/styles/default.js +88 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/stylescombo/plugin.js +206 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tab/plugin.js +367 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/table/dialogs/table.js +672 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/table/plugin.js +78 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tableresize/plugin.js +450 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +533 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/tabletools/plugin.js +1120 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/templates/dialogs/templates.js +233 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/templates/plugin.js +99 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/templates/templates/default.js +94 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/toolbar/plugin.js +481 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +205 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/lang/en.js +15 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/lang/he.js +15 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/plugin.js +37 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/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/generators/ckeditor_install/templates/ckeditor/_source/plugins/uicolor/yui/yui.js +71 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/undo/plugin.js +554 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +49 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.css +82 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.js +176 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wsc/plugin.js +33 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +1146 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/dialog.css +882 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/editor.css +25 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/elementspath.css +73 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/icons.css +357 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/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/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/menu.css +216 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/panel.css +217 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/presets.css +49 -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 +277 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/kama/skin.js +268 -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 +409 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/dialog.css +785 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/editor.css +25 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/elementspath.css +74 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/icons.css +354 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/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/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/menu.css +213 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/panel.css +212 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/presets.css +49 -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 +297 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/office2003/skin.js +81 -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 +470 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/dialog.css +800 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/editor.css +25 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/elementspath.css +74 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/icons.css +354 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/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/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/menu.css +215 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/panel.css +212 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/presets.css +50 -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 +297 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/skins/v2/skin.js +77 -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 +423 -0
- data/generators/ckeditor_install/templates/ckeditor/_source/themes/default/theme.js +361 -0
- data/generators/ckeditor_install/templates/ckeditor/adapters/jquery.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/ckeditor.js +137 -0
- data/generators/ckeditor_install/templates/ckeditor/ckeditor.pack +211 -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 +43 -0
- data/generators/ckeditor_install/templates/ckeditor/contents.css +39 -0
- data/generators/ckeditor_install/templates/ckeditor/css/ckfinder.css +299 -0
- data/generators/ckeditor_install/templates/ckeditor/css/fck_dialog.css +119 -0
- data/generators/ckeditor_install/templates/ckeditor/css/fck_editor.css +448 -0
- data/generators/ckeditor_install/templates/ckeditor/css/swfupload.css +94 -0
- data/generators/ckeditor_install/templates/ckeditor/images/add.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/cancelbutton.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/ckfnothumb.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/doc.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/mp3.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/pdf.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/rar.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/refresh.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/select_files.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/spacer.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/swf.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/toolbar.start.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/images/xls.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/lang/_languages.js +6 -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/generators/ckeditor_install/templates/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/ajax_save/plugin.js +1 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/attachment/dialogs/attachment.js +1 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/attachment/lang/en.js +10 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/attachment/lang/ru.js +10 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/attachment/lang/uk.js +10 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/attachment/plugin.js +1 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/autogrow/plugin.js +6 -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/generators/ckeditor_install/templates/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/div/dialogs/div.js +8 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/embed/dialogs/embed.js +1 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/embed/images/embed.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/embed/lang/en.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/embed/lang/ru.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/embed/lang/uk.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/embed/plugin.js +1 -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/generators/ckeditor_install/templates/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/checkbox.js +6 -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/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/forms/dialogs/textarea.js +6 -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/generators/ckeditor_install/templates/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/liststyle/dialogs/liststyle.js +6 -0
- data/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/generators/ckeditor_install/templates/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/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/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/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/generators/ckeditor_install/templates/ckeditor/plugins/styles/styles/default.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/tableresize/plugin.js +7 -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/generators/ckeditor_install/templates/ckeditor/plugins/templates/templates/default.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/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/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/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/generators/ckeditor_install/templates/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/generators/ckeditor_install/templates/ckeditor/plugins/wsc/dialogs/wsc.js +7 -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/generators/ckeditor_install/templates/ckeditor/skins/kama/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/images/mini.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/images/noimage.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/images/sprites.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/kama/skin.js +7 -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/generators/ckeditor_install/templates/ckeditor/skins/office2003/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/skin.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/office2003/templates.css +6 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/dialog.css +9 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/editor.css +12 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/icons.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/images/mini.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/images/noimage.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/images/sprites.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/skin.js +6 -0
- data/generators/ckeditor_install/templates/ckeditor/skins/v2/templates.css +6 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/fileprogress.js +269 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/handlers.js +170 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/mootools-1.2.3-core-yc.js +356 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/querystring.js +40 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/swfupload.js +1 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/swfupload.queue.js +1 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/swfupload.swf +0 -0
- data/generators/ckeditor_install/templates/ckeditor/swfupload/swfupload.swfobject.js +111 -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/generators/ckeditor_migration/templates/models/attachment_fu/asset.rb +32 -0
- data/generators/ckeditor_migration/templates/models/attachment_fu/attachment_file.rb +24 -0
- data/generators/ckeditor_migration/templates/models/attachment_fu/migration.rb +30 -0
- data/generators/ckeditor_migration/templates/models/attachment_fu/picture.rb +25 -0
- data/generators/ckeditor_migration/templates/models/paperclip/asset.rb +88 -0
- data/generators/ckeditor_migration/templates/models/paperclip/attachment_file.rb +40 -0
- data/generators/ckeditor_migration/templates/models/paperclip/migration.rb +31 -0
- data/generators/ckeditor_migration/templates/models/paperclip/picture.rb +23 -0
- data/lib/ckeditor.rb +89 -0
- data/lib/ckeditor/form_builder.rb +22 -0
- data/lib/ckeditor/formtastic.rb +12 -0
- data/lib/ckeditor/middleware.rb +18 -0
- data/lib/ckeditor/safe_buffer.rb +34 -0
- data/lib/ckeditor/utils.rb +19 -0
- data/lib/ckeditor/version.rb +11 -0
- data/lib/ckeditor/view_helper.rb +91 -0
- metadata +768 -0
@@ -0,0 +1,88 @@
|
|
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
|
+
CKEDITOR.stylesSet.add( 'default',
|
7
|
+
[
|
8
|
+
/* Block Styles */
|
9
|
+
|
10
|
+
// These styles are already available in the "Format" combo, so they are
|
11
|
+
// not needed here by default. You may enable them to avoid placing the
|
12
|
+
// "Format" combo in the toolbar, maintaining the same features.
|
13
|
+
/*
|
14
|
+
{ name : 'Paragraph' , element : 'p' },
|
15
|
+
{ name : 'Heading 1' , element : 'h1' },
|
16
|
+
{ name : 'Heading 2' , element : 'h2' },
|
17
|
+
{ name : 'Heading 3' , element : 'h3' },
|
18
|
+
{ name : 'Heading 4' , element : 'h4' },
|
19
|
+
{ name : 'Heading 5' , element : 'h5' },
|
20
|
+
{ name : 'Heading 6' , element : 'h6' },
|
21
|
+
{ name : 'Preformatted Text', element : 'pre' },
|
22
|
+
{ name : 'Address' , element : 'address' },
|
23
|
+
*/
|
24
|
+
|
25
|
+
{ name : 'Blue Title' , element : 'h3', styles : { 'color' : 'Blue' } },
|
26
|
+
{ name : 'Red Title' , element : 'h3', styles : { 'color' : 'Red' } },
|
27
|
+
|
28
|
+
/* Inline Styles */
|
29
|
+
|
30
|
+
// These are core styles available as toolbar buttons. You may opt enabling
|
31
|
+
// some of them in the Styles combo, removing them from the toolbar.
|
32
|
+
/*
|
33
|
+
{ name : 'Strong' , element : 'strong', overrides : 'b' },
|
34
|
+
{ name : 'Emphasis' , element : 'em' , overrides : 'i' },
|
35
|
+
{ name : 'Underline' , element : 'u' },
|
36
|
+
{ name : 'Strikethrough' , element : 'strike' },
|
37
|
+
{ name : 'Subscript' , element : 'sub' },
|
38
|
+
{ name : 'Superscript' , element : 'sup' },
|
39
|
+
*/
|
40
|
+
|
41
|
+
{ name : 'Marker: Yellow' , element : 'span', styles : { 'background-color' : 'Yellow' } },
|
42
|
+
{ name : 'Marker: Green' , element : 'span', styles : { 'background-color' : 'Lime' } },
|
43
|
+
|
44
|
+
{ name : 'Big' , element : 'big' },
|
45
|
+
{ name : 'Small' , element : 'small' },
|
46
|
+
{ name : 'Typewriter' , element : 'tt' },
|
47
|
+
|
48
|
+
{ name : 'Computer Code' , element : 'code' },
|
49
|
+
{ name : 'Keyboard Phrase' , element : 'kbd' },
|
50
|
+
{ name : 'Sample Text' , element : 'samp' },
|
51
|
+
{ name : 'Variable' , element : 'var' },
|
52
|
+
|
53
|
+
{ name : 'Deleted Text' , element : 'del' },
|
54
|
+
{ name : 'Inserted Text' , element : 'ins' },
|
55
|
+
|
56
|
+
{ name : 'Cited Work' , element : 'cite' },
|
57
|
+
{ name : 'Inline Quotation' , element : 'q' },
|
58
|
+
|
59
|
+
{ name : 'Language: RTL' , element : 'span', attributes : { 'dir' : 'rtl' } },
|
60
|
+
{ name : 'Language: LTR' , element : 'span', attributes : { 'dir' : 'ltr' } },
|
61
|
+
|
62
|
+
/* Object Styles */
|
63
|
+
|
64
|
+
{
|
65
|
+
name : 'Image on Left',
|
66
|
+
element : 'img',
|
67
|
+
attributes :
|
68
|
+
{
|
69
|
+
'style' : 'padding: 5px; margin-right: 5px',
|
70
|
+
'border' : '2',
|
71
|
+
'align' : 'left'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
|
75
|
+
{
|
76
|
+
name : 'Image on Right',
|
77
|
+
element : 'img',
|
78
|
+
attributes :
|
79
|
+
{
|
80
|
+
'style' : 'padding: 5px; margin-left: 5px',
|
81
|
+
'border' : '2',
|
82
|
+
'align' : 'right'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
|
86
|
+
{ name : 'Borderless Table', element : 'table', styles: { 'border-style': 'hidden', 'background-color' : '#E6E6FA' } },
|
87
|
+
{ name : 'Square Bulleted List', element : 'ul', styles : { 'list-style-type' : 'square' } }
|
88
|
+
]);
|
@@ -0,0 +1,206 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
(function()
|
7
|
+
{
|
8
|
+
CKEDITOR.plugins.add( 'stylescombo',
|
9
|
+
{
|
10
|
+
requires : [ 'richcombo', 'styles' ],
|
11
|
+
|
12
|
+
init : function( editor )
|
13
|
+
{
|
14
|
+
var config = editor.config,
|
15
|
+
lang = editor.lang.stylesCombo,
|
16
|
+
styles = {},
|
17
|
+
stylesList = [];
|
18
|
+
|
19
|
+
function loadStylesSet( callback )
|
20
|
+
{
|
21
|
+
editor.getStylesSet( function( stylesDefinitions )
|
22
|
+
{
|
23
|
+
if ( !stylesList.length )
|
24
|
+
{
|
25
|
+
var style,
|
26
|
+
styleName;
|
27
|
+
|
28
|
+
// Put all styles into an Array.
|
29
|
+
for ( var i = 0, count = stylesDefinitions.length ; i < count ; i++ )
|
30
|
+
{
|
31
|
+
var styleDefinition = stylesDefinitions[ i ];
|
32
|
+
|
33
|
+
styleName = styleDefinition.name;
|
34
|
+
|
35
|
+
style = styles[ styleName ] = new CKEDITOR.style( styleDefinition );
|
36
|
+
style._name = styleName;
|
37
|
+
style._.enterMode = config.enterMode;
|
38
|
+
|
39
|
+
stylesList.push( style );
|
40
|
+
}
|
41
|
+
|
42
|
+
// Sorts the Array, so the styles get grouped by type.
|
43
|
+
stylesList.sort( sortStyles );
|
44
|
+
}
|
45
|
+
|
46
|
+
callback && callback();
|
47
|
+
});
|
48
|
+
}
|
49
|
+
|
50
|
+
editor.ui.addRichCombo( 'Styles',
|
51
|
+
{
|
52
|
+
label : lang.label,
|
53
|
+
title : lang.panelTitle,
|
54
|
+
className : 'cke_styles',
|
55
|
+
|
56
|
+
panel :
|
57
|
+
{
|
58
|
+
css : editor.skin.editor.css.concat( config.contentsCss ),
|
59
|
+
multiSelect : true,
|
60
|
+
attributes : { 'aria-label' : lang.panelTitle }
|
61
|
+
},
|
62
|
+
|
63
|
+
init : function()
|
64
|
+
{
|
65
|
+
var combo = this;
|
66
|
+
|
67
|
+
loadStylesSet( function()
|
68
|
+
{
|
69
|
+
var style, styleName;
|
70
|
+
|
71
|
+
// Loop over the Array, adding all items to the
|
72
|
+
// combo.
|
73
|
+
var lastType;
|
74
|
+
for ( var i = 0, count = stylesList.length ; i < count ; i++ )
|
75
|
+
{
|
76
|
+
style = stylesList[ i ];
|
77
|
+
styleName = style._name;
|
78
|
+
|
79
|
+
var type = style.type;
|
80
|
+
|
81
|
+
if ( type != lastType )
|
82
|
+
{
|
83
|
+
combo.startGroup( lang[ 'panelTitle' + String( type ) ] );
|
84
|
+
lastType = type;
|
85
|
+
}
|
86
|
+
|
87
|
+
combo.add(
|
88
|
+
styleName,
|
89
|
+
style.type == CKEDITOR.STYLE_OBJECT ? styleName : style.buildPreview(),
|
90
|
+
styleName );
|
91
|
+
}
|
92
|
+
|
93
|
+
combo.commit();
|
94
|
+
|
95
|
+
combo.onOpen();
|
96
|
+
});
|
97
|
+
},
|
98
|
+
|
99
|
+
onClick : function( value )
|
100
|
+
{
|
101
|
+
editor.focus();
|
102
|
+
editor.fire( 'saveSnapshot' );
|
103
|
+
|
104
|
+
var style = styles[ value ],
|
105
|
+
selection = editor.getSelection();
|
106
|
+
|
107
|
+
var elementPath = new CKEDITOR.dom.elementPath( selection.getStartElement() );
|
108
|
+
|
109
|
+
if ( style.type == CKEDITOR.STYLE_INLINE && style.checkActive( elementPath ) )
|
110
|
+
style.remove( editor.document );
|
111
|
+
else if ( style.type == CKEDITOR.STYLE_OBJECT && style.checkActive( elementPath ) )
|
112
|
+
style.remove( editor.document );
|
113
|
+
else
|
114
|
+
style.apply( editor.document );
|
115
|
+
|
116
|
+
editor.fire( 'saveSnapshot' );
|
117
|
+
},
|
118
|
+
|
119
|
+
onRender : function()
|
120
|
+
{
|
121
|
+
editor.on( 'selectionChange', function( ev )
|
122
|
+
{
|
123
|
+
var currentValue = this.getValue();
|
124
|
+
|
125
|
+
var elementPath = ev.data.path,
|
126
|
+
elements = elementPath.elements;
|
127
|
+
|
128
|
+
// For each element into the elements path.
|
129
|
+
for ( var i = 0, count = elements.length, element ; i < count ; i++ )
|
130
|
+
{
|
131
|
+
element = elements[i];
|
132
|
+
|
133
|
+
// Check if the element is removable by any of
|
134
|
+
// the styles.
|
135
|
+
for ( var value in styles )
|
136
|
+
{
|
137
|
+
if ( styles[ value ].checkElementRemovable( element, true ) )
|
138
|
+
{
|
139
|
+
if ( value != currentValue )
|
140
|
+
this.setValue( value );
|
141
|
+
return;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
// If no styles match, just empty it.
|
147
|
+
this.setValue( '' );
|
148
|
+
},
|
149
|
+
this);
|
150
|
+
},
|
151
|
+
|
152
|
+
onOpen : function()
|
153
|
+
{
|
154
|
+
if ( CKEDITOR.env.ie || CKEDITOR.env.webkit )
|
155
|
+
editor.focus();
|
156
|
+
|
157
|
+
var selection = editor.getSelection(),
|
158
|
+
element = selection.getSelectedElement(),
|
159
|
+
elementPath = new CKEDITOR.dom.elementPath( element || selection.getStartElement() );
|
160
|
+
|
161
|
+
var counter = [ 0, 0, 0, 0 ];
|
162
|
+
this.showAll();
|
163
|
+
this.unmarkAll();
|
164
|
+
for ( var name in styles )
|
165
|
+
{
|
166
|
+
var style = styles[ name ],
|
167
|
+
type = style.type;
|
168
|
+
|
169
|
+
if ( style.checkActive( elementPath ) )
|
170
|
+
this.mark( name );
|
171
|
+
else if ( type == CKEDITOR.STYLE_OBJECT && !style.checkApplicable( elementPath ) )
|
172
|
+
{
|
173
|
+
this.hideItem( name );
|
174
|
+
counter[ type ]--;
|
175
|
+
}
|
176
|
+
|
177
|
+
counter[ type ]++;
|
178
|
+
}
|
179
|
+
|
180
|
+
if ( !counter[ CKEDITOR.STYLE_BLOCK ] )
|
181
|
+
this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_BLOCK ) ] );
|
182
|
+
|
183
|
+
if ( !counter[ CKEDITOR.STYLE_INLINE ] )
|
184
|
+
this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_INLINE ) ] );
|
185
|
+
|
186
|
+
if ( !counter[ CKEDITOR.STYLE_OBJECT ] )
|
187
|
+
this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_OBJECT ) ] );
|
188
|
+
}
|
189
|
+
});
|
190
|
+
|
191
|
+
editor.on( 'instanceReady', function() { loadStylesSet(); } );
|
192
|
+
}
|
193
|
+
});
|
194
|
+
|
195
|
+
function sortStyles( styleA, styleB )
|
196
|
+
{
|
197
|
+
var typeA = styleA.type,
|
198
|
+
typeB = styleB.type;
|
199
|
+
|
200
|
+
return typeA == typeB ? 0 :
|
201
|
+
typeA == CKEDITOR.STYLE_OBJECT ? -1 :
|
202
|
+
typeB == CKEDITOR.STYLE_OBJECT ? 1 :
|
203
|
+
typeB == CKEDITOR.STYLE_BLOCK ? 1 :
|
204
|
+
-1;
|
205
|
+
}
|
206
|
+
})();
|
@@ -0,0 +1,367 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
+
*/
|
5
|
+
|
6
|
+
(function()
|
7
|
+
{
|
8
|
+
var meta =
|
9
|
+
{
|
10
|
+
editorFocus : false,
|
11
|
+
modes : { wysiwyg:1, source:1 }
|
12
|
+
};
|
13
|
+
|
14
|
+
var blurCommand =
|
15
|
+
{
|
16
|
+
exec : function( editor )
|
17
|
+
{
|
18
|
+
editor.container.focusNext( true, editor.tabIndex );
|
19
|
+
}
|
20
|
+
};
|
21
|
+
|
22
|
+
var blurBackCommand =
|
23
|
+
{
|
24
|
+
exec : function( editor )
|
25
|
+
{
|
26
|
+
editor.container.focusPrevious( true, editor.tabIndex );
|
27
|
+
}
|
28
|
+
};
|
29
|
+
|
30
|
+
function selectNextCellCommand( backward )
|
31
|
+
{
|
32
|
+
return {
|
33
|
+
editorFocus : false,
|
34
|
+
canUndo : false,
|
35
|
+
modes : { wysiwyg : 1 },
|
36
|
+
exec : function( editor )
|
37
|
+
{
|
38
|
+
if ( editor.focusManager.hasFocus )
|
39
|
+
{
|
40
|
+
var sel = editor.getSelection(),
|
41
|
+
ancestor = sel.getCommonAncestor(),
|
42
|
+
cell;
|
43
|
+
|
44
|
+
if ( ( cell = ( ancestor.getAscendant( 'td', true ) || ancestor.getAscendant( 'th', true ) ) ) )
|
45
|
+
{
|
46
|
+
var resultRange = new CKEDITOR.dom.range( editor.document ),
|
47
|
+
next = CKEDITOR.tools.tryThese( function()
|
48
|
+
{
|
49
|
+
var row = cell.getParent(),
|
50
|
+
next = row.$.cells[ cell.$.cellIndex + ( backward ? - 1 : 1 ) ];
|
51
|
+
|
52
|
+
// Invalid any empty value.
|
53
|
+
next.parentNode.parentNode;
|
54
|
+
return next;
|
55
|
+
},
|
56
|
+
function()
|
57
|
+
{
|
58
|
+
var row = cell.getParent(),
|
59
|
+
table = row.getAscendant( 'table' ),
|
60
|
+
nextRow = table.$.rows[ row.$.rowIndex + ( backward ? - 1 : 1 ) ];
|
61
|
+
|
62
|
+
return nextRow.cells[ backward? nextRow.cells.length -1 : 0 ];
|
63
|
+
});
|
64
|
+
|
65
|
+
// Clone one more row at the end of table and select the first newly established cell.
|
66
|
+
if ( ! ( next || backward ) )
|
67
|
+
{
|
68
|
+
var table = cell.getAscendant( 'table' ).$,
|
69
|
+
cells = cell.getParent().$.cells;
|
70
|
+
|
71
|
+
var newRow = new CKEDITOR.dom.element( table.insertRow( -1 ), editor.document );
|
72
|
+
|
73
|
+
for ( var i = 0, count = cells.length ; i < count; i++ )
|
74
|
+
{
|
75
|
+
var newCell = newRow.append( new CKEDITOR.dom.element(
|
76
|
+
cells[ i ], editor.document ).clone( false, false ) );
|
77
|
+
!CKEDITOR.env.ie && newCell.appendBogus();
|
78
|
+
}
|
79
|
+
|
80
|
+
resultRange.moveToElementEditStart( newRow );
|
81
|
+
}
|
82
|
+
else if ( next )
|
83
|
+
{
|
84
|
+
next = new CKEDITOR.dom.element( next );
|
85
|
+
resultRange.moveToElementEditStart( next );
|
86
|
+
// Avoid selecting empty block makes the cursor blind.
|
87
|
+
if ( !( resultRange.checkStartOfBlock() && resultRange.checkEndOfBlock() ) )
|
88
|
+
resultRange.selectNodeContents( next );
|
89
|
+
}
|
90
|
+
else
|
91
|
+
return true;
|
92
|
+
|
93
|
+
resultRange.select( true );
|
94
|
+
return true;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
return false;
|
98
|
+
}
|
99
|
+
};
|
100
|
+
}
|
101
|
+
|
102
|
+
CKEDITOR.plugins.add( 'tab',
|
103
|
+
{
|
104
|
+
requires : [ 'keystrokes' ],
|
105
|
+
|
106
|
+
init : function( editor )
|
107
|
+
{
|
108
|
+
var tabTools = editor.config.enableTabKeyTools !== false,
|
109
|
+
tabSpaces = editor.config.tabSpaces || 0,
|
110
|
+
tabText = '';
|
111
|
+
|
112
|
+
while ( tabSpaces-- )
|
113
|
+
tabText += '\xa0';
|
114
|
+
|
115
|
+
if ( tabText )
|
116
|
+
{
|
117
|
+
editor.on( 'key', function( ev )
|
118
|
+
{
|
119
|
+
if ( ev.data.keyCode == 9 ) // TAB
|
120
|
+
{
|
121
|
+
editor.insertHtml( tabText );
|
122
|
+
ev.cancel();
|
123
|
+
}
|
124
|
+
});
|
125
|
+
}
|
126
|
+
|
127
|
+
if ( tabTools )
|
128
|
+
{
|
129
|
+
editor.on( 'key', function( ev )
|
130
|
+
{
|
131
|
+
if ( ev.data.keyCode == 9 && editor.execCommand( 'selectNextCell' ) || // TAB
|
132
|
+
ev.data.keyCode == ( CKEDITOR.SHIFT + 9 ) && editor.execCommand( 'selectPreviousCell' ) ) // SHIFT+TAB
|
133
|
+
ev.cancel();
|
134
|
+
});
|
135
|
+
}
|
136
|
+
|
137
|
+
if ( CKEDITOR.env.webkit || CKEDITOR.env.gecko )
|
138
|
+
{
|
139
|
+
editor.on( 'key', function( ev )
|
140
|
+
{
|
141
|
+
var keyCode = ev.data.keyCode;
|
142
|
+
|
143
|
+
if ( keyCode == 9 && !tabText ) // TAB
|
144
|
+
{
|
145
|
+
ev.cancel();
|
146
|
+
editor.execCommand( 'blur' );
|
147
|
+
}
|
148
|
+
|
149
|
+
if ( keyCode == ( CKEDITOR.SHIFT + 9 ) ) // SHIFT+TAB
|
150
|
+
{
|
151
|
+
editor.execCommand( 'blurBack' );
|
152
|
+
ev.cancel();
|
153
|
+
}
|
154
|
+
});
|
155
|
+
}
|
156
|
+
|
157
|
+
editor.addCommand( 'blur', CKEDITOR.tools.extend( blurCommand, meta ) );
|
158
|
+
editor.addCommand( 'blurBack', CKEDITOR.tools.extend( blurBackCommand, meta ) );
|
159
|
+
editor.addCommand( 'selectNextCell', selectNextCellCommand() );
|
160
|
+
editor.addCommand( 'selectPreviousCell', selectNextCellCommand( true ) );
|
161
|
+
}
|
162
|
+
});
|
163
|
+
})();
|
164
|
+
|
165
|
+
/**
|
166
|
+
* Moves the UI focus to the element following this element in the tabindex
|
167
|
+
* order.
|
168
|
+
* @example
|
169
|
+
* var element = CKEDITOR.document.getById( 'example' );
|
170
|
+
* element.focusNext();
|
171
|
+
*/
|
172
|
+
CKEDITOR.dom.element.prototype.focusNext = function( ignoreChildren, indexToUse )
|
173
|
+
{
|
174
|
+
var $ = this.$,
|
175
|
+
curTabIndex = ( indexToUse === undefined ? this.getTabIndex() : indexToUse ),
|
176
|
+
passedCurrent, enteredCurrent,
|
177
|
+
elected, electedTabIndex,
|
178
|
+
element, elementTabIndex;
|
179
|
+
|
180
|
+
if ( curTabIndex <= 0 )
|
181
|
+
{
|
182
|
+
// If this element has tabindex <= 0 then we must simply look for any
|
183
|
+
// element following it containing tabindex=0.
|
184
|
+
|
185
|
+
element = this.getNextSourceNode( ignoreChildren, CKEDITOR.NODE_ELEMENT );
|
186
|
+
|
187
|
+
while ( element )
|
188
|
+
{
|
189
|
+
if ( element.isVisible() && element.getTabIndex() === 0 )
|
190
|
+
{
|
191
|
+
elected = element;
|
192
|
+
break;
|
193
|
+
}
|
194
|
+
|
195
|
+
element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT );
|
196
|
+
}
|
197
|
+
}
|
198
|
+
else
|
199
|
+
{
|
200
|
+
// If this element has tabindex > 0 then we must look for:
|
201
|
+
// 1. An element following this element with the same tabindex.
|
202
|
+
// 2. The first element in source other with the lowest tabindex
|
203
|
+
// that is higher than this element tabindex.
|
204
|
+
// 3. The first element with tabindex=0.
|
205
|
+
|
206
|
+
element = this.getDocument().getBody().getFirst();
|
207
|
+
|
208
|
+
while ( ( element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
|
209
|
+
{
|
210
|
+
if ( !passedCurrent )
|
211
|
+
{
|
212
|
+
if ( !enteredCurrent && element.equals( this ) )
|
213
|
+
{
|
214
|
+
enteredCurrent = true;
|
215
|
+
|
216
|
+
// Ignore this element, if required.
|
217
|
+
if ( ignoreChildren )
|
218
|
+
{
|
219
|
+
if ( !( element = element.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT ) ) )
|
220
|
+
break;
|
221
|
+
passedCurrent = 1;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
else if ( enteredCurrent && !this.contains( element ) )
|
225
|
+
passedCurrent = 1;
|
226
|
+
}
|
227
|
+
|
228
|
+
if ( !element.isVisible() || ( elementTabIndex = element.getTabIndex() ) < 0 )
|
229
|
+
continue;
|
230
|
+
|
231
|
+
if ( passedCurrent && elementTabIndex == curTabIndex )
|
232
|
+
{
|
233
|
+
elected = element;
|
234
|
+
break;
|
235
|
+
}
|
236
|
+
|
237
|
+
if ( elementTabIndex > curTabIndex && ( !elected || !electedTabIndex || elementTabIndex < electedTabIndex ) )
|
238
|
+
{
|
239
|
+
elected = element;
|
240
|
+
electedTabIndex = elementTabIndex;
|
241
|
+
}
|
242
|
+
else if ( !elected && elementTabIndex === 0 )
|
243
|
+
{
|
244
|
+
elected = element;
|
245
|
+
electedTabIndex = elementTabIndex;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
|
250
|
+
if ( elected )
|
251
|
+
elected.focus();
|
252
|
+
};
|
253
|
+
|
254
|
+
/**
|
255
|
+
* Moves the UI focus to the element before this element in the tabindex order.
|
256
|
+
* @example
|
257
|
+
* var element = CKEDITOR.document.getById( 'example' );
|
258
|
+
* element.focusPrevious();
|
259
|
+
*/
|
260
|
+
CKEDITOR.dom.element.prototype.focusPrevious = function( ignoreChildren, indexToUse )
|
261
|
+
{
|
262
|
+
var $ = this.$,
|
263
|
+
curTabIndex = ( indexToUse === undefined ? this.getTabIndex() : indexToUse ),
|
264
|
+
passedCurrent, enteredCurrent,
|
265
|
+
elected,
|
266
|
+
electedTabIndex = 0,
|
267
|
+
elementTabIndex;
|
268
|
+
|
269
|
+
var element = this.getDocument().getBody().getLast();
|
270
|
+
|
271
|
+
while ( ( element = element.getPreviousSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
|
272
|
+
{
|
273
|
+
if ( !passedCurrent )
|
274
|
+
{
|
275
|
+
if ( !enteredCurrent && element.equals( this ) )
|
276
|
+
{
|
277
|
+
enteredCurrent = true;
|
278
|
+
|
279
|
+
// Ignore this element, if required.
|
280
|
+
if ( ignoreChildren )
|
281
|
+
{
|
282
|
+
if ( !( element = element.getPreviousSourceNode( true, CKEDITOR.NODE_ELEMENT ) ) )
|
283
|
+
break;
|
284
|
+
passedCurrent = 1;
|
285
|
+
}
|
286
|
+
}
|
287
|
+
else if ( enteredCurrent && !this.contains( element ) )
|
288
|
+
passedCurrent = 1;
|
289
|
+
}
|
290
|
+
|
291
|
+
if ( !element.isVisible() || ( elementTabIndex = element.getTabIndex() ) < 0 )
|
292
|
+
continue;
|
293
|
+
|
294
|
+
if ( curTabIndex <= 0 )
|
295
|
+
{
|
296
|
+
// If this element has tabindex <= 0 then we must look for:
|
297
|
+
// 1. An element before this one containing tabindex=0.
|
298
|
+
// 2. The last element with the highest tabindex.
|
299
|
+
|
300
|
+
if ( passedCurrent && elementTabIndex === 0 )
|
301
|
+
{
|
302
|
+
elected = element;
|
303
|
+
break;
|
304
|
+
}
|
305
|
+
|
306
|
+
if ( elementTabIndex > electedTabIndex )
|
307
|
+
{
|
308
|
+
elected = element;
|
309
|
+
electedTabIndex = elementTabIndex;
|
310
|
+
}
|
311
|
+
}
|
312
|
+
else
|
313
|
+
{
|
314
|
+
// If this element has tabindex > 0 we must look for:
|
315
|
+
// 1. An element preceeding this one, with the same tabindex.
|
316
|
+
// 2. The last element in source other with the highest tabindex
|
317
|
+
// that is lower than this element tabindex.
|
318
|
+
|
319
|
+
if ( passedCurrent && elementTabIndex == curTabIndex )
|
320
|
+
{
|
321
|
+
elected = element;
|
322
|
+
break;
|
323
|
+
}
|
324
|
+
|
325
|
+
if ( elementTabIndex < curTabIndex && ( !elected || elementTabIndex > electedTabIndex ) )
|
326
|
+
{
|
327
|
+
elected = element;
|
328
|
+
electedTabIndex = elementTabIndex;
|
329
|
+
}
|
330
|
+
}
|
331
|
+
}
|
332
|
+
|
333
|
+
if ( elected )
|
334
|
+
elected.focus();
|
335
|
+
};
|
336
|
+
|
337
|
+
/**
|
338
|
+
* Intructs the editor to add a number of spaces (&nbsp;) to the text when
|
339
|
+
* hitting the TAB key. If set to zero, the TAB key will be used to move the
|
340
|
+
* cursor focus to the next element in the page, out of the editor focus.
|
341
|
+
* @name CKEDITOR.config.tabSpaces
|
342
|
+
* @type Number
|
343
|
+
* @default 0
|
344
|
+
* @example
|
345
|
+
* config.tabSpaces = 4;
|
346
|
+
*/
|
347
|
+
|
348
|
+
/**
|
349
|
+
* Allow context-sensitive tab key behaviors, including the following scenarios:
|
350
|
+
* <h5>When selection is anchored inside <b>table cells</b>:</h5>
|
351
|
+
* <ul>
|
352
|
+
* <li>If TAB is pressed, select the contents of the "next" cell. If in the last cell in the table, add a new row to it and focus its first cell.</li>
|
353
|
+
* <li>If SHIFT+TAB is pressed, select the contents of the "previous" cell. Do nothing when it's in the first cell.</li>
|
354
|
+
* </ul>
|
355
|
+
* @name CKEDITOR.config.enableTabKeyTools
|
356
|
+
* @type Boolean
|
357
|
+
* @default true
|
358
|
+
* @example
|
359
|
+
* config.enableTabKeyTools = false;
|
360
|
+
*/
|
361
|
+
|
362
|
+
// If the TAB key is not supposed to be enabled for navigation, the following
|
363
|
+
// settings could be used alternatively:
|
364
|
+
// config.keystrokes.push(
|
365
|
+
// [ CKEDITOR.ALT + 38 /*Arrow Up*/, 'selectPreviousCell' ],
|
366
|
+
// [ CKEDITOR.ALT + 40 /*Arrow Down*/, 'selectNextCell' ]
|
367
|
+
// );
|