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
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/angel_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/angry_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/broken_heart.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/confused_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/cry_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/devil_smile.gif
ADDED
Binary file
|
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/envelope.gif
ADDED
Binary file
|
Binary file
|
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/lightbulb.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/omg_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/regular_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/sad_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/shades_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/teeth_smile.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/thumbs_down.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/thumbs_up.gif
ADDED
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/tounge_smile.gif
ADDED
Binary file
|
Binary file
|
data/generators/ckeditor_install/templates/ckeditor/_source/plugins/smiley/images/wink_smile.gif
ADDED
Binary file
|
@@ -0,0 +1,94 @@
|
|
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.plugins.add( 'smiley',
|
7
|
+
{
|
8
|
+
requires : [ 'dialog' ],
|
9
|
+
|
10
|
+
init : function( editor )
|
11
|
+
{
|
12
|
+
editor.config.smiley_path = editor.config.smiley_path || ( this.path + 'images/' );
|
13
|
+
editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley' ) );
|
14
|
+
editor.ui.addButton( 'Smiley',
|
15
|
+
{
|
16
|
+
label : editor.lang.smiley.toolbar,
|
17
|
+
command : 'smiley'
|
18
|
+
});
|
19
|
+
CKEDITOR.dialog.add( 'smiley', this.path + 'dialogs/smiley.js' );
|
20
|
+
}
|
21
|
+
} );
|
22
|
+
|
23
|
+
/**
|
24
|
+
* The base path used to build the URL for the smiley images. It must end with
|
25
|
+
* a slash.
|
26
|
+
* @name CKEDITOR.config.smiley_path
|
27
|
+
* @type String
|
28
|
+
* @default {@link CKEDITOR.basePath} + 'plugins/smiley/images/'
|
29
|
+
* @example
|
30
|
+
* config.smiley_path = 'http://www.example.com/images/smileys/';
|
31
|
+
* @example
|
32
|
+
* config.smiley_path = '/images/smileys/';
|
33
|
+
*/
|
34
|
+
|
35
|
+
/**
|
36
|
+
* The file names for the smileys to be displayed. These files must be
|
37
|
+
* contained inside the URL path defined with the
|
38
|
+
* {@link CKEDITOR.config.smiley_path} setting.
|
39
|
+
* @type Array
|
40
|
+
* @default (see example)
|
41
|
+
* @example
|
42
|
+
* // This is actually the default value.
|
43
|
+
* config.smiley_images = [
|
44
|
+
* 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
|
45
|
+
* 'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
|
46
|
+
* 'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
|
47
|
+
* 'broken_heart.gif','kiss.gif','envelope.gif'];
|
48
|
+
*/
|
49
|
+
CKEDITOR.config.smiley_images = [
|
50
|
+
'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
|
51
|
+
'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
|
52
|
+
'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
|
53
|
+
'broken_heart.gif','kiss.gif','envelope.gif'];
|
54
|
+
|
55
|
+
/**
|
56
|
+
* The description to be used for each of the smileys defined in the
|
57
|
+
* {@link CKEDITOR.config.smiley_images} setting. Each entry in this array list
|
58
|
+
* must match its relative pair in the {@link CKEDITOR.config.smiley_images}
|
59
|
+
* setting.
|
60
|
+
* @type Array
|
61
|
+
* @default The textual descriptions of smiley.
|
62
|
+
* @example
|
63
|
+
* // Default settings.
|
64
|
+
* config.smiley_descriptions =
|
65
|
+
* [
|
66
|
+
* 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
|
67
|
+
* 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
|
68
|
+
* 'yes', 'heart', 'broken heart', 'kiss', 'mail'
|
69
|
+
* ];
|
70
|
+
* @example
|
71
|
+
* // Use textual emoticons as description.
|
72
|
+
* config.smiley_descriptions =
|
73
|
+
* [
|
74
|
+
* ':)', ':(', ';)', ':D', ':/', ':P', ':*)', ':-o',
|
75
|
+
* ':|', '>:(', 'o:)', '8-)', '>:-)', ';(', '', '', '',
|
76
|
+
* '', '', ':-*', ''
|
77
|
+
* ];
|
78
|
+
*/
|
79
|
+
CKEDITOR.config.smiley_descriptions =
|
80
|
+
[
|
81
|
+
'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
|
82
|
+
'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
|
83
|
+
'yes', 'heart', 'broken heart', 'kiss', 'mail'
|
84
|
+
];
|
85
|
+
|
86
|
+
/**
|
87
|
+
* The number of columns to be generated by the smilies matrix.
|
88
|
+
* @name CKEDITOR.config.smiley_columns
|
89
|
+
* @type Number
|
90
|
+
* @default 8
|
91
|
+
* @since 3.3.2
|
92
|
+
* @example
|
93
|
+
* config.smiley_columns = 6;
|
94
|
+
*/
|
@@ -0,0 +1,207 @@
|
|
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 "sourcearea" plugin. It registers the "source" editing
|
8
|
+
* mode, which displays the raw data being edited in the editor.
|
9
|
+
*/
|
10
|
+
|
11
|
+
CKEDITOR.plugins.add( 'sourcearea',
|
12
|
+
{
|
13
|
+
requires : [ 'editingblock' ],
|
14
|
+
|
15
|
+
init : function( editor )
|
16
|
+
{
|
17
|
+
var sourcearea = CKEDITOR.plugins.sourcearea,
|
18
|
+
win = CKEDITOR.document.getWindow();
|
19
|
+
|
20
|
+
editor.on( 'editingBlockReady', function()
|
21
|
+
{
|
22
|
+
var textarea,
|
23
|
+
onResize;
|
24
|
+
|
25
|
+
editor.addMode( 'source',
|
26
|
+
{
|
27
|
+
load : function( holderElement, data )
|
28
|
+
{
|
29
|
+
if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
|
30
|
+
holderElement.setStyle( 'position', 'relative' );
|
31
|
+
|
32
|
+
// Create the source area <textarea>.
|
33
|
+
editor.textarea = textarea = new CKEDITOR.dom.element( 'textarea' );
|
34
|
+
textarea.setAttributes(
|
35
|
+
{
|
36
|
+
dir : 'ltr',
|
37
|
+
tabIndex : CKEDITOR.env.webkit ? -1 : editor.tabIndex,
|
38
|
+
'role' : 'textbox',
|
39
|
+
'aria-label' : editor.lang.editorTitle.replace( '%1', editor.name )
|
40
|
+
});
|
41
|
+
textarea.addClass( 'cke_source' );
|
42
|
+
textarea.addClass( 'cke_enable_context_menu' );
|
43
|
+
|
44
|
+
var styles =
|
45
|
+
{
|
46
|
+
// IE7 has overflow the <textarea> from wrapping table cell.
|
47
|
+
width : CKEDITOR.env.ie7Compat ? '99%' : '100%',
|
48
|
+
height : '100%',
|
49
|
+
resize : 'none',
|
50
|
+
outline : 'none',
|
51
|
+
'text-align' : 'left'
|
52
|
+
};
|
53
|
+
|
54
|
+
// Having to make <textarea> fixed sized to conque the following bugs:
|
55
|
+
// 1. The textarea height/width='100%' doesn't constraint to the 'td' in IE6/7.
|
56
|
+
// 2. Unexpected vertical-scrolling behavior happens whenever focus is moving out of editor
|
57
|
+
// if text content within it has overflowed. (#4762)
|
58
|
+
if ( CKEDITOR.env.ie )
|
59
|
+
{
|
60
|
+
onResize = function()
|
61
|
+
{
|
62
|
+
// Holder rectange size is stretched by textarea,
|
63
|
+
// so hide it just for a moment.
|
64
|
+
textarea.hide();
|
65
|
+
textarea.setStyle( 'height', holderElement.$.clientHeight + 'px' );
|
66
|
+
textarea.setStyle( 'width', holderElement.$.clientWidth + 'px' );
|
67
|
+
// When we have proper holder size, show textarea again.
|
68
|
+
textarea.show();
|
69
|
+
};
|
70
|
+
|
71
|
+
editor.on( 'resize', onResize );
|
72
|
+
win.on( 'resize', onResize );
|
73
|
+
setTimeout( onResize, 0 );
|
74
|
+
}
|
75
|
+
// As we prevent click to put focus on editor container,
|
76
|
+
// while 'mousedown' inside <textarea> is also captured,
|
77
|
+
// but we must stop the even propagation, otherwise
|
78
|
+
// it's not possible to place the caret inside of it (non IE and IE9).
|
79
|
+
if ( document.addEventListener )
|
80
|
+
{
|
81
|
+
textarea.on( 'mousedown', function( evt )
|
82
|
+
{
|
83
|
+
evt.data.stopPropagation();
|
84
|
+
} );
|
85
|
+
}
|
86
|
+
|
87
|
+
// Reset the holder element and append the
|
88
|
+
// <textarea> to it.
|
89
|
+
holderElement.setHtml( '' );
|
90
|
+
holderElement.append( textarea );
|
91
|
+
textarea.setStyles( styles );
|
92
|
+
|
93
|
+
editor.fire( 'ariaWidget', textarea );
|
94
|
+
|
95
|
+
textarea.on( 'blur', function()
|
96
|
+
{
|
97
|
+
editor.focusManager.blur();
|
98
|
+
});
|
99
|
+
|
100
|
+
textarea.on( 'focus', function()
|
101
|
+
{
|
102
|
+
editor.focusManager.focus();
|
103
|
+
});
|
104
|
+
|
105
|
+
// The editor data "may be dirty" after this point.
|
106
|
+
editor.mayBeDirty = true;
|
107
|
+
|
108
|
+
// Set the <textarea> value.
|
109
|
+
this.loadData( data );
|
110
|
+
|
111
|
+
var keystrokeHandler = editor.keystrokeHandler;
|
112
|
+
if ( keystrokeHandler )
|
113
|
+
keystrokeHandler.attach( textarea );
|
114
|
+
|
115
|
+
setTimeout( function()
|
116
|
+
{
|
117
|
+
editor.mode = 'source';
|
118
|
+
editor.fire( 'mode' );
|
119
|
+
},
|
120
|
+
( CKEDITOR.env.gecko || CKEDITOR.env.webkit ) ? 100 : 0 );
|
121
|
+
},
|
122
|
+
|
123
|
+
loadData : function( data )
|
124
|
+
{
|
125
|
+
textarea.setValue( data );
|
126
|
+
editor.fire( 'dataReady' );
|
127
|
+
},
|
128
|
+
|
129
|
+
getData : function()
|
130
|
+
{
|
131
|
+
return textarea.getValue();
|
132
|
+
},
|
133
|
+
|
134
|
+
getSnapshotData : function()
|
135
|
+
{
|
136
|
+
return textarea.getValue();
|
137
|
+
},
|
138
|
+
|
139
|
+
unload : function( holderElement )
|
140
|
+
{
|
141
|
+
textarea.clearCustomData();
|
142
|
+
editor.textarea = textarea = null;
|
143
|
+
|
144
|
+
if ( onResize )
|
145
|
+
{
|
146
|
+
editor.removeListener( 'resize', onResize );
|
147
|
+
win.removeListener( 'resize', onResize );
|
148
|
+
}
|
149
|
+
|
150
|
+
if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
|
151
|
+
holderElement.removeStyle( 'position' );
|
152
|
+
},
|
153
|
+
|
154
|
+
focus : function()
|
155
|
+
{
|
156
|
+
textarea.focus();
|
157
|
+
}
|
158
|
+
});
|
159
|
+
});
|
160
|
+
|
161
|
+
editor.addCommand( 'source', sourcearea.commands.source );
|
162
|
+
|
163
|
+
if ( editor.ui.addButton )
|
164
|
+
{
|
165
|
+
editor.ui.addButton( 'Source',
|
166
|
+
{
|
167
|
+
label : editor.lang.source,
|
168
|
+
command : 'source'
|
169
|
+
});
|
170
|
+
}
|
171
|
+
|
172
|
+
editor.on( 'mode', function()
|
173
|
+
{
|
174
|
+
editor.getCommand( 'source' ).setState(
|
175
|
+
editor.mode == 'source' ?
|
176
|
+
CKEDITOR.TRISTATE_ON :
|
177
|
+
CKEDITOR.TRISTATE_OFF );
|
178
|
+
});
|
179
|
+
}
|
180
|
+
});
|
181
|
+
|
182
|
+
/**
|
183
|
+
* Holds the definition of commands an UI elements included with the sourcearea
|
184
|
+
* plugin.
|
185
|
+
* @example
|
186
|
+
*/
|
187
|
+
CKEDITOR.plugins.sourcearea =
|
188
|
+
{
|
189
|
+
commands :
|
190
|
+
{
|
191
|
+
source :
|
192
|
+
{
|
193
|
+
modes : { wysiwyg:1, source:1 },
|
194
|
+
editorFocus : false,
|
195
|
+
|
196
|
+
exec : function( editor )
|
197
|
+
{
|
198
|
+
if ( editor.mode == 'wysiwyg' )
|
199
|
+
editor.fire( 'saveSnapshot' );
|
200
|
+
editor.getCommand( 'source' ).setState( CKEDITOR.TRISTATE_DISABLED );
|
201
|
+
editor.setMode( editor.mode == 'source' ? 'wysiwyg' : 'source' );
|
202
|
+
},
|
203
|
+
|
204
|
+
canUndo : false
|
205
|
+
}
|
206
|
+
}
|
207
|
+
};
|
@@ -0,0 +1,409 @@
|
|
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.dialog.add( 'specialchar', function( editor )
|
7
|
+
{
|
8
|
+
/**
|
9
|
+
* Simulate "this" of a dialog for non-dialog events.
|
10
|
+
* @type {CKEDITOR.dialog}
|
11
|
+
*/
|
12
|
+
var dialog,
|
13
|
+
lang = editor.lang.specialChar;
|
14
|
+
|
15
|
+
var insertSpecialChar = function ( specialChar )
|
16
|
+
{
|
17
|
+
var selection = editor.getSelection(),
|
18
|
+
ranges = selection.getRanges( true ),
|
19
|
+
range, textNode;
|
20
|
+
|
21
|
+
editor.fire( 'saveSnapshot' );
|
22
|
+
|
23
|
+
for ( var i = ranges.length - 1; i >= 0 ; i-- )
|
24
|
+
{
|
25
|
+
range = ranges[ i ];
|
26
|
+
range.deleteContents();
|
27
|
+
|
28
|
+
textNode = CKEDITOR.dom.element.createFromHtml( specialChar );
|
29
|
+
range.insertNode( textNode );
|
30
|
+
}
|
31
|
+
|
32
|
+
if ( range )
|
33
|
+
{
|
34
|
+
range.moveToPosition( textNode, CKEDITOR.POSITION_AFTER_END );
|
35
|
+
range.select();
|
36
|
+
}
|
37
|
+
|
38
|
+
editor.fire( 'saveSnapshot' );
|
39
|
+
};
|
40
|
+
|
41
|
+
var onChoice = function( evt )
|
42
|
+
{
|
43
|
+
var target, value;
|
44
|
+
if ( evt.data )
|
45
|
+
target = evt.data.getTarget();
|
46
|
+
else
|
47
|
+
target = new CKEDITOR.dom.element( evt );
|
48
|
+
|
49
|
+
if ( target.getName() == 'a' && ( value = target.getChild( 0 ).getHtml() ) )
|
50
|
+
{
|
51
|
+
target.removeClass( "cke_light_background" );
|
52
|
+
dialog.hide();
|
53
|
+
|
54
|
+
// Firefox has bug on insert chars into a element use its own API. (#5170)
|
55
|
+
if ( CKEDITOR.env.gecko )
|
56
|
+
insertSpecialChar( value );
|
57
|
+
else
|
58
|
+
editor.insertHtml( value );
|
59
|
+
}
|
60
|
+
};
|
61
|
+
|
62
|
+
var onClick = CKEDITOR.tools.addFunction( onChoice );
|
63
|
+
|
64
|
+
var focusedNode;
|
65
|
+
|
66
|
+
var onFocus = function( evt, target )
|
67
|
+
{
|
68
|
+
var value;
|
69
|
+
target = target || evt.data.getTarget();
|
70
|
+
|
71
|
+
if ( target.getName() == 'span' )
|
72
|
+
target = target.getParent();
|
73
|
+
|
74
|
+
if ( target.getName() == 'a' && ( value = target.getChild( 0 ).getHtml() ) )
|
75
|
+
{
|
76
|
+
// Trigger blur manually if there is focused node.
|
77
|
+
if ( focusedNode )
|
78
|
+
onBlur( null, focusedNode );
|
79
|
+
|
80
|
+
var htmlPreview = dialog.getContentElement( 'info', 'htmlPreview' ).getElement();
|
81
|
+
|
82
|
+
dialog.getContentElement( 'info', 'charPreview' ).getElement().setHtml( value );
|
83
|
+
htmlPreview.setHtml( CKEDITOR.tools.htmlEncode( value ) );
|
84
|
+
target.getParent().addClass( "cke_light_background" );
|
85
|
+
|
86
|
+
// Memorize focused node.
|
87
|
+
focusedNode = target;
|
88
|
+
}
|
89
|
+
};
|
90
|
+
|
91
|
+
var onBlur = function( evt, target )
|
92
|
+
{
|
93
|
+
target = target || evt.data.getTarget();
|
94
|
+
|
95
|
+
if ( target.getName() == 'span' )
|
96
|
+
target = target.getParent();
|
97
|
+
|
98
|
+
if ( target.getName() == 'a' )
|
99
|
+
{
|
100
|
+
dialog.getContentElement( 'info', 'charPreview' ).getElement().setHtml( ' ' );
|
101
|
+
dialog.getContentElement( 'info', 'htmlPreview' ).getElement().setHtml( ' ' );
|
102
|
+
target.getParent().removeClass( "cke_light_background" );
|
103
|
+
|
104
|
+
focusedNode = undefined;
|
105
|
+
}
|
106
|
+
};
|
107
|
+
|
108
|
+
var onKeydown = CKEDITOR.tools.addFunction( function( ev )
|
109
|
+
{
|
110
|
+
ev = new CKEDITOR.dom.event( ev );
|
111
|
+
|
112
|
+
// Get an Anchor element.
|
113
|
+
var element = ev.getTarget();
|
114
|
+
var relative, nodeToMove;
|
115
|
+
var keystroke = ev.getKeystroke(),
|
116
|
+
rtl = editor.lang.dir == 'rtl';
|
117
|
+
|
118
|
+
switch ( keystroke )
|
119
|
+
{
|
120
|
+
// UP-ARROW
|
121
|
+
case 38 :
|
122
|
+
// relative is TR
|
123
|
+
if ( ( relative = element.getParent().getParent().getPrevious() ) )
|
124
|
+
{
|
125
|
+
nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] );
|
126
|
+
nodeToMove.focus();
|
127
|
+
onBlur( null, element );
|
128
|
+
onFocus( null, nodeToMove );
|
129
|
+
}
|
130
|
+
ev.preventDefault();
|
131
|
+
break;
|
132
|
+
// DOWN-ARROW
|
133
|
+
case 40 :
|
134
|
+
// relative is TR
|
135
|
+
if ( ( relative = element.getParent().getParent().getNext() ) )
|
136
|
+
{
|
137
|
+
nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] );
|
138
|
+
if ( nodeToMove && nodeToMove.type == 1 )
|
139
|
+
{
|
140
|
+
nodeToMove.focus();
|
141
|
+
onBlur( null, element );
|
142
|
+
onFocus( null, nodeToMove );
|
143
|
+
}
|
144
|
+
}
|
145
|
+
ev.preventDefault();
|
146
|
+
break;
|
147
|
+
// SPACE
|
148
|
+
// ENTER is already handled as onClick
|
149
|
+
case 32 :
|
150
|
+
onChoice( { data: ev } );
|
151
|
+
ev.preventDefault();
|
152
|
+
break;
|
153
|
+
|
154
|
+
// RIGHT-ARROW
|
155
|
+
case rtl ? 37 : 39 :
|
156
|
+
// TAB
|
157
|
+
case 9 :
|
158
|
+
// relative is TD
|
159
|
+
if ( ( relative = element.getParent().getNext() ) )
|
160
|
+
{
|
161
|
+
nodeToMove = relative.getChild( 0 );
|
162
|
+
if ( nodeToMove.type == 1 )
|
163
|
+
{
|
164
|
+
nodeToMove.focus();
|
165
|
+
onBlur( null, element );
|
166
|
+
onFocus( null, nodeToMove );
|
167
|
+
ev.preventDefault( true );
|
168
|
+
}
|
169
|
+
else
|
170
|
+
onBlur( null, element );
|
171
|
+
}
|
172
|
+
// relative is TR
|
173
|
+
else if ( ( relative = element.getParent().getParent().getNext() ) )
|
174
|
+
{
|
175
|
+
nodeToMove = relative.getChild( [ 0, 0 ] );
|
176
|
+
if ( nodeToMove && nodeToMove.type == 1 )
|
177
|
+
{
|
178
|
+
nodeToMove.focus();
|
179
|
+
onBlur( null, element );
|
180
|
+
onFocus( null, nodeToMove );
|
181
|
+
ev.preventDefault( true );
|
182
|
+
}
|
183
|
+
else
|
184
|
+
onBlur( null, element );
|
185
|
+
}
|
186
|
+
break;
|
187
|
+
|
188
|
+
// LEFT-ARROW
|
189
|
+
case rtl ? 39 : 37 :
|
190
|
+
// SHIFT + TAB
|
191
|
+
case CKEDITOR.SHIFT + 9 :
|
192
|
+
// relative is TD
|
193
|
+
if ( ( relative = element.getParent().getPrevious() ) )
|
194
|
+
{
|
195
|
+
nodeToMove = relative.getChild( 0 );
|
196
|
+
nodeToMove.focus();
|
197
|
+
onBlur( null, element );
|
198
|
+
onFocus( null, nodeToMove );
|
199
|
+
ev.preventDefault( true );
|
200
|
+
}
|
201
|
+
// relative is TR
|
202
|
+
else if ( ( relative = element.getParent().getParent().getPrevious() ) )
|
203
|
+
{
|
204
|
+
nodeToMove = relative.getLast().getChild( 0 );
|
205
|
+
nodeToMove.focus();
|
206
|
+
onBlur( null, element );
|
207
|
+
onFocus( null, nodeToMove );
|
208
|
+
ev.preventDefault( true );
|
209
|
+
}
|
210
|
+
else
|
211
|
+
onBlur( null, element );
|
212
|
+
break;
|
213
|
+
default :
|
214
|
+
// Do not stop not handled events.
|
215
|
+
return;
|
216
|
+
}
|
217
|
+
});
|
218
|
+
|
219
|
+
return {
|
220
|
+
title : lang.title,
|
221
|
+
minWidth : 430,
|
222
|
+
minHeight : 280,
|
223
|
+
buttons : [ CKEDITOR.dialog.cancelButton ],
|
224
|
+
charColumns : 17,
|
225
|
+
chars :
|
226
|
+
[
|
227
|
+
'!','"','#','$','%','&',"'",'(',')','*','+','-','.','/',
|
228
|
+
'0','1','2','3','4','5','6','7','8','9',':',';',
|
229
|
+
'<','=','>','?','@',
|
230
|
+
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O',
|
231
|
+
'P','Q','R','S','T','U','V','W','X','Y','Z',
|
232
|
+
'[',']','^','_','`',
|
233
|
+
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p',
|
234
|
+
'q','r','s','t','u','v','w','x','y','z',
|
235
|
+
'{','|','}','~','€(EURO SIGN)','‘(LEFT SINGLE QUOTATION MARK)','’(RIGHT SINGLE QUOTATION MARK)','“(LEFT DOUBLE QUOTATION MARK)',
|
236
|
+
'”(RIGHT DOUBLE QUOTATION MARK)','–(EN DASH)','—(EM DASH)','¡(INVERTED EXCLAMATION MARK)','¢(CENT SIGN)','£(POUND SIGN)',
|
237
|
+
'¤(CURRENCY SIGN)','¥(YEN SIGN)','¦(BROKEN BAR)','§(SECTION SIGN)','¨(DIAERESIS)','©(COPYRIGHT SIGN)','ª(FEMININE ORDINAL INDICATOR)',
|
238
|
+
'«(LEFT-POINTING DOUBLE ANGLE QUOTATION MARK)','¬(NOT SIGN)','®(REGISTERED SIGN)','¯(MACRON)','°(DEGREE SIGN)','±(PLUS-MINUS SIGN)','²(SUPERSCRIPT TWO)',
|
239
|
+
'³(SUPERSCRIPT THREE)','´(ACUTE ACCENT)','µ(MICRO SIGN)','¶(PILCROW SIGN)','·(MIDDLE DOT)','¸(CEDILLA)',
|
240
|
+
'¹(SUPERSCRIPT ONE)','º(MASCULINE ORDINAL INDICATOR)','»(RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK)','¼(VULGAR FRACTION ONE QUARTER)','½(VULGAR FRACTION ONE HALF)','¾(VULGAR FRACTION THREE QUARTERS)',
|
241
|
+
'¿(INVERTED QUESTION MARK)','À(LATIN CAPITAL LETTER A WITH GRAVE)','Á(LATIN CAPITAL LETTER A WITH ACUTE)','Â(LATIN CAPITAL LETTER A WITH CIRCUMFLEX)','Ã(LATIN CAPITAL LETTER A WITH TILDE)','Ä(LATIN CAPITAL LETTER A WITH DIAERESIS)',
|
242
|
+
'Å(LATIN CAPITAL LETTER A WITH RING ABOVE)','Æ(LATIN CAPITAL LETTER AE)','Ç(LATIN CAPITAL LETTER C WITH CEDILLA)','È(LATIN CAPITAL LETTER E WITH GRAVE)','É(LATIN CAPITAL LETTER E WITH ACUTE)','Ê(LATIN CAPITAL LETTER E WITH CIRCUMFLEX)',
|
243
|
+
'Ë(LATIN CAPITAL LETTER E WITH DIAERESIS)','Ì(LATIN CAPITAL LETTER I WITH GRAVE)','Í(LATIN CAPITAL LETTER I WITH ACUTE)','Î(LATIN CAPITAL LETTER I WITH CIRCUMFLEX)','Ï(LATIN CAPITAL LETTER I WITH DIAERESIS)','Ð(LATIN CAPITAL LETTER ETH)',
|
244
|
+
'Ñ(LATIN CAPITAL LETTER N WITH TILDE)','Ò(LATIN CAPITAL LETTER O WITH GRAVE)','Ó(LATIN CAPITAL LETTER O WITH ACUTE)','Ô(LATIN CAPITAL LETTER O WITH CIRCUMFLEX)','Õ(LATIN CAPITAL LETTER O WITH TILDE)','Ö(LATIN CAPITAL LETTER O WITH DIAERESIS)',
|
245
|
+
'×(MULTIPLICATION SIGN)','Ø(LATIN CAPITAL LETTER O WITH STROKE)','Ù(LATIN CAPITAL LETTER U WITH GRAVE)','Ú(LATIN CAPITAL LETTER U WITH ACUTE)','Û(LATIN CAPITAL LETTER U WITH CIRCUMFLEX)','Ü(LATIN CAPITAL LETTER U WITH DIAERESIS)',
|
246
|
+
'Ý(LATIN CAPITAL LETTER Y WITH ACUTE)','Þ(LATIN CAPITAL LETTER THORN)','ß(LATIN SMALL LETTER SHARP S)','à(LATIN SMALL LETTER A WITH GRAVE)','á(LATIN SMALL LETTER A WITH ACUTE)','â(LATIN SMALL LETTER A WITH CIRCUMFLEX)',
|
247
|
+
'ã(LATIN SMALL LETTER A WITH TILDE)','ä(LATIN SMALL LETTER A WITH DIAERESIS)','å(LATIN SMALL LETTER A WITH RING ABOVE)','æ(LATIN SMALL LETTER AE)','ç(LATIN SMALL LETTER C WITH CEDILLA)','è(LATIN SMALL LETTER E WITH GRAVE)',
|
248
|
+
'é(LATIN SMALL LETTER E WITH ACUTE)','ê(LATIN SMALL LETTER E WITH CIRCUMFLEX)','ë(LATIN SMALL LETTER E WITH DIAERESIS)','ì(LATIN SMALL LETTER I WITH GRAVE)','í(LATIN SMALL LETTER I WITH ACUTE)','î(LATIN SMALL LETTER I WITH CIRCUMFLEX)',
|
249
|
+
'ï(LATIN SMALL LETTER I WITH DIAERESIS)','ð(LATIN SMALL LETTER ETH)','ñ(LATIN SMALL LETTER N WITH TILDE)','ò(LATIN SMALL LETTER O WITH GRAVE)','ó(LATIN SMALL LETTER O WITH ACUTE)','ô(LATIN SMALL LETTER O WITH CIRCUMFLEX)',
|
250
|
+
'õ(LATIN SMALL LETTER O WITH TILDE)','ö(LATIN SMALL LETTER O WITH DIAERESIS)',
|
251
|
+
'÷(DIVISION SIGN)','ø(LATIN SMALL LETTER O WITH STROKE)',
|
252
|
+
'ù(LATIN SMALL LETTER U WITH GRAVE)','ú(LATIN SMALL LETTER U WITH ACUTE)',
|
253
|
+
'û(LATIN SMALL LETTER U WITH CIRCUMFLEX)','ü(LATIN SMALL LETTER U WITH DIAERESIS)',
|
254
|
+
'ü(LATIN SMALL LETTER U WITH DIAERESIS)','ý(LATIN SMALL LETTER Y WITH ACUTE)','þ(LATIN SMALL LETTER THORN)','ÿ(LATIN SMALL LETTER Y WITH DIAERESIS)',
|
255
|
+
'Œ(LATIN CAPITAL LIGATURE OE)',
|
256
|
+
'œ(LATIN SMALL LIGATURE OE)','Ŵ(LATIN CAPITAL LETTER W WITH CIRCUMFLEX)',
|
257
|
+
'Ŷ(LATIN CAPITAL LETTER Y WITH CIRCUMFLEX)','ŵ(LATIN SMALL LETTER W WITH CIRCUMFLEX)',
|
258
|
+
'ŷ(LATIN SMALL LETTER Y WITH CIRCUMFLEX)','‚(SINGLE LOW-9 QUOTATION MARK)',
|
259
|
+
'‛(SINGLE HIGH-REVERSED-9 QUOTATION MARK)','„(DOUBLE LOW-9 QUOTATION MARK)','…(HORIZONTAL ELLIPSIS)',
|
260
|
+
'™(TRADE MARK SIGN)','►(BLACK RIGHT-POINTING POINTER)','•(BULLET)',
|
261
|
+
'→(RIGHTWARDS ARROW)','⇒(RIGHTWARDS DOUBLE ARROW)','⇔(LEFT RIGHT DOUBLE ARROW)','♦(BLACK DIAMOND SUIT)','≈(ALMOST EQUAL TO)'
|
262
|
+
],
|
263
|
+
onLoad : function()
|
264
|
+
{
|
265
|
+
var columns = this.definition.charColumns,
|
266
|
+
chars = this.definition.chars;
|
267
|
+
|
268
|
+
var charsTableLabel = CKEDITOR.tools.getNextId() + '_specialchar_table_label';
|
269
|
+
var html = [ '<table role="listbox" aria-labelledby="' + charsTableLabel + '"' +
|
270
|
+
' style="width: 320px; height: 100%; border-collapse: separate;"' +
|
271
|
+
' align="center" cellspacing="2" cellpadding="2" border="0">' ];
|
272
|
+
|
273
|
+
var i = 0,
|
274
|
+
size = chars.length,
|
275
|
+
character,
|
276
|
+
charDesc;
|
277
|
+
|
278
|
+
while ( i < size )
|
279
|
+
{
|
280
|
+
html.push( '<tr>' ) ;
|
281
|
+
|
282
|
+
for ( var j = 0 ; j < columns ; j++, i++ )
|
283
|
+
{
|
284
|
+
if ( ( character = chars[ i ] ) )
|
285
|
+
{
|
286
|
+
charDesc = '';
|
287
|
+
character = character.replace( /\((.*?)\)/, function( match, desc )
|
288
|
+
{
|
289
|
+
charDesc = desc;
|
290
|
+
return '';
|
291
|
+
} );
|
292
|
+
|
293
|
+
// Use character in case description unavailable.
|
294
|
+
charDesc = charDesc || character;
|
295
|
+
|
296
|
+
var charLabelId = 'cke_specialchar_label_' + i + '_' + CKEDITOR.tools.getNextNumber();
|
297
|
+
|
298
|
+
html.push(
|
299
|
+
'<td class="cke_dark_background" style="cursor: default" role="presentation">' +
|
300
|
+
'<a href="javascript: void(0);" role="option"' +
|
301
|
+
' aria-posinset="' + ( i +1 ) + '"',
|
302
|
+
' aria-setsize="' + size + '"',
|
303
|
+
' aria-labelledby="' + charLabelId + '"',
|
304
|
+
' style="cursor: inherit; display: block; height: 1.25em; margin-top: 0.25em; text-align: center;" title="', CKEDITOR.tools.htmlEncode( charDesc ), '"' +
|
305
|
+
' onkeydown="CKEDITOR.tools.callFunction( ' + onKeydown + ', event, this )"' +
|
306
|
+
' onclick="CKEDITOR.tools.callFunction(' + onClick + ', this); return false;"' +
|
307
|
+
' tabindex="-1">' +
|
308
|
+
'<span style="margin: 0 auto;cursor: inherit">' +
|
309
|
+
character +
|
310
|
+
'</span>' +
|
311
|
+
'<span class="cke_voice_label" id="' + charLabelId + '">' +
|
312
|
+
charDesc +
|
313
|
+
'</span></a>');
|
314
|
+
}
|
315
|
+
else
|
316
|
+
html.push( '<td class="cke_dark_background"> ' );
|
317
|
+
|
318
|
+
html.push( '</td>' );
|
319
|
+
}
|
320
|
+
html.push( '</tr>' );
|
321
|
+
}
|
322
|
+
|
323
|
+
html.push( '</tbody></table>', '<span id="' + charsTableLabel + '" class="cke_voice_label">' + lang.options +'</span>' );
|
324
|
+
|
325
|
+
this.getContentElement( 'info', 'charContainer' ).getElement().setHtml( html.join( '' ) );
|
326
|
+
},
|
327
|
+
contents : [
|
328
|
+
{
|
329
|
+
id : 'info',
|
330
|
+
label : editor.lang.common.generalTab,
|
331
|
+
title : editor.lang.common.generalTab,
|
332
|
+
padding : 0,
|
333
|
+
align : 'top',
|
334
|
+
elements : [
|
335
|
+
{
|
336
|
+
type : 'hbox',
|
337
|
+
align : 'top',
|
338
|
+
widths : [ '320px', '90px' ],
|
339
|
+
children :
|
340
|
+
[
|
341
|
+
{
|
342
|
+
type : 'html',
|
343
|
+
id : 'charContainer',
|
344
|
+
html : '',
|
345
|
+
onMouseover : onFocus,
|
346
|
+
onMouseout : onBlur,
|
347
|
+
focus : function()
|
348
|
+
{
|
349
|
+
var firstChar = this.getElement().getElementsByTag( 'a' ).getItem( 0 );
|
350
|
+
setTimeout( function()
|
351
|
+
{
|
352
|
+
firstChar.focus();
|
353
|
+
onFocus( null, firstChar );
|
354
|
+
}, 0 );
|
355
|
+
},
|
356
|
+
onShow : function()
|
357
|
+
{
|
358
|
+
var firstChar = this.getElement().getChild( [ 0, 0, 0, 0, 0 ] );
|
359
|
+
setTimeout( function()
|
360
|
+
{
|
361
|
+
firstChar.focus();
|
362
|
+
onFocus( null, firstChar );
|
363
|
+
}, 0 );
|
364
|
+
},
|
365
|
+
onLoad : function( event )
|
366
|
+
{
|
367
|
+
dialog = event.sender;
|
368
|
+
}
|
369
|
+
},
|
370
|
+
{
|
371
|
+
type : 'hbox',
|
372
|
+
align : 'top',
|
373
|
+
widths : [ '100%' ],
|
374
|
+
children :
|
375
|
+
[
|
376
|
+
{
|
377
|
+
type : 'vbox',
|
378
|
+
align : 'top',
|
379
|
+
children :
|
380
|
+
[
|
381
|
+
{
|
382
|
+
type : 'html',
|
383
|
+
html : '<div></div>'
|
384
|
+
},
|
385
|
+
{
|
386
|
+
type : 'html',
|
387
|
+
id : 'charPreview',
|
388
|
+
className : 'cke_dark_background',
|
389
|
+
style : 'border:1px solid #eeeeee;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:\'Microsoft Sans Serif\',Arial,Helvetica,Verdana;text-align:center;',
|
390
|
+
html : '<div> </div>'
|
391
|
+
},
|
392
|
+
{
|
393
|
+
type : 'html',
|
394
|
+
id : 'htmlPreview',
|
395
|
+
className : 'cke_dark_background',
|
396
|
+
style : 'border:1px solid #eeeeee;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:\'Microsoft Sans Serif\',Arial,Helvetica,Verdana;text-align:center;',
|
397
|
+
html : '<div> </div>'
|
398
|
+
}
|
399
|
+
]
|
400
|
+
}
|
401
|
+
]
|
402
|
+
}
|
403
|
+
]
|
404
|
+
}
|
405
|
+
]
|
406
|
+
}
|
407
|
+
]
|
408
|
+
};
|
409
|
+
} );
|