ckeditor 3.5.0 → 3.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +30 -6
- data/app/controllers/ckeditor/attachments_controller.rb +1 -1
- data/app/controllers/ckeditor/base_controller.rb +1 -1
- data/app/controllers/ckeditor/pictures_controller.rb +1 -1
- data/app/helpers/ckeditor/base_helper.rb +1 -1
- data/app/views/ckeditor/_asset.html.erb +18 -13
- data/app/views/ckeditor/_swfupload.html.erb +22 -0
- data/app/views/ckeditor/attachments/index.html.erb +2 -40
- data/app/views/ckeditor/pictures/index.html.erb +1 -39
- data/app/views/layouts/ckeditor.html.erb +5 -2
- data/config/locales/en.ckeditor.yml +11 -0
- data/config/locales/ru.ckeditor.yml +11 -0
- data/config/locales/uk.ckeditor.yml +11 -0
- data/lib/ckeditor.rb +5 -1
- data/lib/ckeditor/engine.rb +5 -1
- data/lib/ckeditor/hooks/formtastic.rb +15 -0
- data/lib/ckeditor/hooks/simple_form.rb +28 -0
- data/lib/ckeditor/utils.rb +45 -16
- data/lib/ckeditor/version.rb +1 -1
- data/lib/generators/ckeditor/base/USAGE +3 -1
- data/lib/generators/ckeditor/base/base_generator.rb +28 -1
- data/lib/generators/ckeditor/base/templates/ckeditor/css/ckfinder.css +17 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/fileprogress.js +114 -123
- data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/handlers.js +11 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/jquery-1.5.1.min.js +16 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/rails.js +158 -0
- data/lib/generators/ckeditor/migration/templates/models/paperclip/asset.rb +2 -0
- metadata +17 -643
- data/lib/ckeditor/formtastic.rb +0 -12
- data/lib/generators/ckeditor/base/templates/ckeditor/CHANGES.html +0 -1063
- data/lib/generators/ckeditor/base/templates/ckeditor/INSTALL.html +0 -92
- data/lib/generators/ckeditor/base/templates/ckeditor/LICENSE.html +0 -1334
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/adobeair/application.xml +0 -32
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/adobeair/run.bat +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/adobeair/run.sh +0 -8
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/adobeair/sample.html +0 -45
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/ajax.html +0 -87
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/api.html +0 -174
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/api_dialog.html +0 -188
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/api_dialog/my_dialog.js +0 -28
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/asp/advanced.asp +0 -105
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/asp/events.asp +0 -136
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/asp/index.html +0 -103
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/asp/replace.asp +0 -72
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/asp/replaceall.asp +0 -77
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/asp/sample_posteddata.asp +0 -46
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/asp/standalone.asp +0 -72
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/assets/output_for_flash.fla +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/assets/output_xhtml.css +0 -204
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/assets/swfobject.js +0 -18
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/autogrow.html +0 -75
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/divreplace.html +0 -137
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/enterkey.html +0 -88
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/fullpage.html +0 -62
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/index.html +0 -58
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/jqueryadapter.html +0 -73
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/output_for_flash.html +0 -257
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/output_html.html +0 -259
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/output_xhtml.html +0 -159
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/php/advanced.php +0 -93
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/php/events.php +0 -130
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/php/replace.php +0 -63
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/php/replaceall.php +0 -68
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/php/standalone.php +0 -64
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/placeholder.html +0 -62
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/replacebyclass.html +0 -49
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/replacebycode.html +0 -80
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/sample.css +0 -81
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/sample.js +0 -65
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/sample_posteddata.php +0 -59
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/sharedspaces.html +0 -131
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/skins.html +0 -83
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/ui_color.html +0 -87
- data/lib/generators/ckeditor/base/templates/ckeditor/_samples/ui_languages.html +0 -103
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/adapters/jquery.js +0 -300
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/_bootstrap.js +0 -96
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/ajax.js +0 -142
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/ckeditor.js +0 -133
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/ckeditor_base.js +0 -196
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/ckeditor_basic.js +0 -239
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/command.js +0 -209
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/commanddefinition.js +0 -129
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/config.js +0 -431
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dataprocessor.js +0 -65
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom.js +0 -20
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/comment.js +0 -32
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/document.js +0 -251
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/documentfragment.js +0 -49
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/domobject.js +0 -258
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/element.js +0 -1615
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/elementpath.js +0 -119
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/event.js +0 -142
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/node.js +0 -696
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/nodelist.js +0 -26
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/range.js +0 -1893
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/rangelist.js +0 -213
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/text.js +0 -123
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/walker.js +0 -444
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dom/window.js +0 -96
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/dtd.js +0 -238
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/editor.js +0 -943
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/editor_basic.js +0 -182
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/env.js +0 -272
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/event.js +0 -342
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/eventInfo.js +0 -120
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/focusmanager.js +0 -152
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser.js +0 -224
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/basicwriter.js +0 -145
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/cdata.js +0 -43
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/comment.js +0 -60
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/element.js +0 -240
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/filter.js +0 -288
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/fragment.js +0 -504
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/htmlparser/text.js +0 -55
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/lang.js +0 -156
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/loader.js +0 -242
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/plugindefinition.js +0 -66
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/plugins.js +0 -85
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/resourcemanager.js +0 -238
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/scriptloader.js +0 -200
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/skins.js +0 -184
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/themes.js +0 -19
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/tools.js +0 -734
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/ui.js +0 -118
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/core/xml.js +0 -165
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/_languages.js +0 -83
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/_translationstatus.txt +0 -60
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/af.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ar.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/bg.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/bn.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/bs.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ca.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/cs.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/cy.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/da.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/de.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/el.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/en-au.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/en-ca.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/en-gb.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/en.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/eo.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/es.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/et.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/eu.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fa.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fi.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fo.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fr-ca.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/fr.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/gl.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/gu.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/he.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/hi.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/hr.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/hu.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/is.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/it.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ja.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/km.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ko.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/lt.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/lv.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/mn.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ms.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/nb.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/nl.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/no.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/pl.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/pt-br.js +0 -751
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/pt.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ro.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/ru.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sk.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sl.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sr-latn.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sr.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/sv.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/th.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/tr.js +0 -751
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/uk.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/vi.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/zh-cn.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/lang/zh.js +0 -752
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -211
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -108
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -216
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -46
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/about/dialogs/about.js +0 -73
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/about/plugin.js +0 -23
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/adobeair/plugin.js +0 -228
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/ajax_save/plugin.js +0 -43
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/attachment/dialogs/attachment.js +0 -384
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/attachment/images/attachment.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/attachment/lang/en.js +0 -10
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/attachment/lang/ru.js +0 -10
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/attachment/lang/uk.js +0 -10
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/attachment/plugin.js +0 -44
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/autogrow/plugin.js +0 -86
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/basicstyles/plugin.js +0 -101
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/bidi/plugin.js +0 -265
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/blockquote/plugin.js +0 -301
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/button/plugin.js +0 -295
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -212
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/clipboard/plugin.js +0 -412
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/colorbutton/plugin.js +0 -291
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -340
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/colordialog/plugin.js +0 -13
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/contextmenu/plugin.js +0 -177
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -315
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialog/plugin.js +0 -3067
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -213
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/dialogui/plugin.js +0 -1523
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/div/dialogs/div.js +0 -535
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/div/plugin.js +0 -121
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/domiterator/plugin.js +0 -356
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/editingblock/plugin.js +0 -229
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/elementspath/plugin.js +0 -201
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/embed/dialogs/embed.js +0 -65
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/embed/images/embed.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/embed/lang/en.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/embed/lang/ru.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/embed/lang/uk.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/embed/plugin.js +0 -43
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/enterkey/plugin.js +0 -381
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/entities/plugin.js +0 -226
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -126
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/filebrowser/plugin.js +0 -501
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/find/dialogs/find.js +0 -890
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/find/plugin.js +0 -46
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -698
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/flash/plugin.js +0 -168
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/floatpanel/plugin.js +0 -405
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/font/plugin.js +0 -234
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/format/plugin.js +0 -194
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/button.js +0 -135
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -153
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/form.js +0 -177
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -98
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -135
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/select.js +0 -556
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -114
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -199
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/forms/plugin.js +0 -284
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -36
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -543
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -319
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/iframe/dialogs/iframe.js +0 -257
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/iframe/plugin.js +0 -106
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/iframedialog/plugin.js +0 -136
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/image/dialogs/image.js +0 -1388
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/image/plugin.js +0 -81
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/indent/plugin.js +0 -468
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/justify/plugin.js +0 -239
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/keystrokes/plugin.js +0 -225
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -99
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/link/dialogs/link.js +0 -1426
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/link/plugin.js +0 -241
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/list/plugin.js +0 -723
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/listblock/plugin.js +0 -257
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -204
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/liststyle/plugin.js +0 -66
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/maximize/plugin.js +0 -340
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/menu/plugin.js +0 -505
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/menubutton/plugin.js +0 -98
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/newpage/plugin.js +0 -53
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pagebreak/plugin.js +0 -120
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/panel/plugin.js +0 -395
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/panelbutton/plugin.js +0 -146
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -1175
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pastefromword/plugin.js +0 -122
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -70
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/pastetext/plugin.js +0 -85
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +0 -78
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/placeholder/lang/en.js +0 -16
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/placeholder/plugin.js +0 -160
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/popup/plugin.js +0 -64
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/preview/plugin.js +0 -108
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/print/plugin.js +0 -41
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/removeformat/plugin.js +0 -184
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/resize/plugin.js +0 -157
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/richcombo/plugin.js +0 -371
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/save/plugin.js +0 -55
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -534
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -71
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/scayt/plugin.js +0 -947
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/selection/plugin.js +0 -1375
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showblocks/plugin.js +0 -156
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/showborders/plugin.js +0 -203
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -223
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/smiley/plugin.js +0 -94
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/sourcearea/plugin.js +0 -196
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -347
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/specialchar/lang/en.js +0 -89
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/specialchar/plugin.js +0 -70
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/styles/plugin.js +0 -1564
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/styles/styles/default.js +0 -88
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/stylescombo/plugin.js +0 -206
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/tab/plugin.js +0 -367
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/table/dialogs/table.js +0 -672
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/table/plugin.js +0 -78
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/tableresize/plugin.js +0 -450
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -525
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/tabletools/plugin.js +0 -1120
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -233
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/templates/plugin.js +0 -99
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/templates/templates/default.js +0 -94
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/toolbar/plugin.js +0 -482
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -205
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/lang/en.js +0 -15
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/lang/he.js +0 -15
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/plugin.js +0 -37
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -15
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -71
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/undo/plugin.js +0 -554
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -49
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -82
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -191
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wsc/plugin.js +0 -33
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -1224
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/dialog.css +0 -915
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/editor.css +0 -25
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/elementspath.css +0 -73
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/icons.css +0 -361
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/mainui.css +0 -202
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/menu.css +0 -244
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/panel.css +0 -217
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/presets.css +0 -49
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/reset.css +0 -84
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/richcombo.css +0 -287
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/skin.js +0 -259
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/templates.css +0 -88
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/kama/toolbar.css +0 -448
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/dialog.css +0 -826
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/editor.css +0 -25
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/elementspath.css +0 -74
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/icons.css +0 -358
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/mainui.css +0 -152
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/menu.css +0 -241
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/panel.css +0 -212
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/presets.css +0 -49
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/reset.css +0 -84
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/richcombo.css +0 -318
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/skin.js +0 -71
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/templates.css +0 -87
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/office2003/toolbar.css +0 -510
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/dialog.css +0 -842
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/editor.css +0 -25
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/elementspath.css +0 -74
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/icons.css +0 -358
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/mainui.css +0 -161
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/menu.css +0 -244
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/panel.css +0 -212
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/presets.css +0 -50
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/reset.css +0 -84
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/richcombo.css +0 -317
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/skin.js +0 -67
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/templates.css +0 -87
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/skins/v2/toolbar.css +0 -453
- data/lib/generators/ckeditor/base/templates/ckeditor/_source/themes/default/theme.js +0 -368
- data/lib/generators/ckeditor/base/templates/ckeditor/adapters/jquery.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor.js +0 -139
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor.pack +0 -211
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor_basic.js +0 -8
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor_basic_source.js +0 -20
- data/lib/generators/ckeditor/base/templates/ckeditor/ckeditor_source.js +0 -25
- data/lib/generators/ckeditor/base/templates/ckeditor/contents.css +0 -39
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/_languages.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/_translationstatus.txt +0 -60
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/af.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ar.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/bg.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/bn.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/bs.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ca.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/cs.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/cy.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/da.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/de.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/el.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-au.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-ca.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/en-gb.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/en.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/eo.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/es.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/et.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/eu.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fa.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fi.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fo.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fr-ca.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/fr.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/gl.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/gu.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/he.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/hi.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/hr.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/hu.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/is.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/it.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ja.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/km.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ko.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/lt.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/lv.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/mn.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ms.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/nb.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/nl.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/no.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/pl.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/pt-br.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/pt.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ro.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/ru.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sk.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sl.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sr-latn.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sr.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/sv.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/th.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/tr.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/uk.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/vi.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/zh-cn.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/lang/zh.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/adobeair/plugin.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/ajax_save/plugin.js +0 -1
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/dialogs/attachment.js +0 -1
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/en.js +0 -10
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/ru.js +0 -10
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/uk.js +0 -10
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/plugin.js +0 -1
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/autogrow/plugin.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/div/dialogs/div.js +0 -8
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/dialogs/embed.js +0 -1
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/images/embed.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/en.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/ru.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/uk.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/plugin.js +0 -1
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/find/dialogs/find.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/button.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/iframe/dialogs/iframe.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/image/dialogs/image.js +0 -13
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/link/dialogs/link.js +0 -11
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/pastefromword/filter/default.js +0 -10
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/placeholder/lang/en.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/placeholder/plugin.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/specialchar/lang/en.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/styles/styles/default.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/table/dialogs/table.js +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/tableresize/plugin.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -8
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/templates/dialogs/templates.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/templates/templates/default.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/lang/he.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/plugin.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/dialog.css +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/editor.css +0 -13
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/images/mini.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/images/noimage.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/images/sprites.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/skin.js +0 -7
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/kama/templates.css +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/dialog.css +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/editor.css +0 -14
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/skin.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/office2003/templates.css +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/dialog.css +0 -9
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/editor.css +0 -13
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/icons.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/images/mini.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/images/noimage.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/images/sprites.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/skin.js +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/skins/v2/templates.css +0 -6
- data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/mootools-1.2.3-core-yc.js +0 -356
- data/lib/generators/ckeditor/base/templates/ckeditor/themes/default/theme.js +0 -8
data/README.rdoc
CHANGED
@@ -6,31 +6,38 @@ the results users have when publishing it. It brings to the web common editing f
|
|
6
6
|
Because CKEditor is licensed under flexible Open Source and commercial licenses, you'll be able to integrate and use it inside any kind of application.
|
7
7
|
This is the ideal editor for developers, created to provide easy and powerful solutions to their users.
|
8
8
|
|
9
|
-
CKEditor version:
|
9
|
+
CKEditor version: any (http://ckeditor.com/download/releases)
|
10
10
|
|
11
11
|
SWFUpload version: 2.2.0.1 Core (http://swfupload.org)
|
12
12
|
|
13
|
-
Rails version: 3.
|
13
|
+
Rails version: 3.x
|
14
14
|
|
15
15
|
Demo appication (Rails 2.3.8):
|
16
16
|
http://github.com/galetahub/rails-ckeditor-demo-app
|
17
17
|
|
18
|
+
Demo appication (Rails 3.x):
|
19
|
+
http://github.com/galetahub/ckeditor-demo-app
|
20
|
+
|
18
21
|
== Install
|
19
22
|
|
20
23
|
=== Rails 3
|
21
24
|
|
22
25
|
In your appication "Gemfile":
|
23
26
|
|
24
|
-
gem 'ckeditor', '3.5.
|
27
|
+
gem 'ckeditor', '3.5.1'
|
25
28
|
|
26
29
|
or
|
27
30
|
gem 'ckeditor', :git => 'git://github.com/galetahub/rails-ckeditor.git', :branch => 'rails3'
|
28
31
|
|
29
|
-
Next step is
|
32
|
+
Next step is download ckeditor core files and generate configuration file
|
30
33
|
Check "config/initializers/ckeditor.rb" for more configuration options:
|
31
34
|
|
32
35
|
rails generate ckeditor:base
|
33
36
|
|
37
|
+
You can pass version of ckeditor to download (http://ckeditor.com/download/releases):
|
38
|
+
|
39
|
+
rails generate ckeditor:base --version=3.5.2
|
40
|
+
|
34
41
|
Generate ckeditor models for file upload support:
|
35
42
|
For paperclip:
|
36
43
|
|
@@ -123,9 +130,12 @@ For S3 storage look at "../ckeditor/examples/s3"
|
|
123
130
|
|
124
131
|
== Formtastic integration
|
125
132
|
|
126
|
-
Ckeditor detects if your use Formtastic and appends "Ckeditor::CustomFormBuilder".
|
127
|
-
|
128
133
|
<%= form.input :content, :as => :ckeditor %>
|
134
|
+
<%= form.input :content, :as => :ckeditor, :input_html => { :height => 400, :swf_params => { ... } } %>
|
135
|
+
|
136
|
+
== SimpleForm integration
|
137
|
+
|
138
|
+
<%= form.ckeditor :content, :label => false, :input_html => { :height => 400, :toolbar=>'Full' } %>
|
129
139
|
|
130
140
|
== Middleware
|
131
141
|
|
@@ -134,6 +144,20 @@ support swf upload with AuthenticityToken.
|
|
134
144
|
|
135
145
|
rake middleware
|
136
146
|
|
147
|
+
== I18n
|
148
|
+
|
149
|
+
en:
|
150
|
+
ckeditor:
|
151
|
+
page_title: "CKEditor Files Manager"
|
152
|
+
upload_files: "Upload New Files"
|
153
|
+
buttons:
|
154
|
+
refresh:
|
155
|
+
title: "Refresh"
|
156
|
+
hint: "Refresh page"
|
157
|
+
upload:
|
158
|
+
title: "Upload"
|
159
|
+
hint: "Upload New File"
|
160
|
+
|
137
161
|
== TODOs
|
138
162
|
|
139
163
|
1. Add support for choose filemanager storage
|
@@ -3,7 +3,7 @@ module Ckeditor::BaseHelper
|
|
3
3
|
path = case kind
|
4
4
|
when :image then Ckeditor.file_manager_image_upload_uri
|
5
5
|
when :file then Ckeditor.file_manager_upload_uri
|
6
|
-
else '/ckeditor/
|
6
|
+
else '/ckeditor/attachments'
|
7
7
|
end
|
8
8
|
|
9
9
|
session_key = Rails.application.config.send(:session_options)[:key]
|
@@ -1,15 +1,20 @@
|
|
1
1
|
<div class="FCKThumb">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
2
|
+
<%= link_to(' '.html_safe, polymorphic_path(asset, :format => :json),
|
3
|
+
:method => :delete, :remote => true, :class => 'FCKFileDelete') %>
|
4
|
+
|
5
|
+
<div class='FCKAsset'>
|
6
|
+
<table border="0" cellpadding="0" cellspacing="0" height="100" width="100">
|
7
|
+
<tbody>
|
8
|
+
<tr>
|
9
|
+
<td align="center" valign="middle">
|
10
|
+
<%= image_tag(asset.url_thumb, :alt => asset.url_content, :title => asset.filename, :onerror=>"this.src='/javascripts/ckeditor/images/ckfnothumb.gif'", :class=>'image') %>
|
11
|
+
</td>
|
12
|
+
</tr>
|
13
|
+
</tbody>
|
14
|
+
</table>
|
15
|
+
|
16
|
+
<div class="FCKFileName"><%= asset.filename %></div>
|
17
|
+
<div class="FCKFileDate"><%= asset.format_created_at %></div>
|
18
|
+
<div class="FCKFileSize"><%= number_to_human_size(asset.size, :precision => 2) %></div>
|
19
|
+
</div>
|
15
20
|
</div>
|
@@ -1,5 +1,27 @@
|
|
1
1
|
<script type="text/javascript">
|
2
2
|
var swfu = null;
|
3
|
+
|
4
|
+
window.onload = function()
|
5
|
+
{
|
6
|
+
var f = new FileThumb('qu');
|
7
|
+
var t = new ToolBar('nv');
|
8
|
+
|
9
|
+
var b1 = new Button('<%= I18n.t("upload.hint", :scope => [:ckeditor, :buttons]) %>', '<%= I18n.t("upload.title", :scope => [:ckeditor, :buttons]) %>', 'add.gif');
|
10
|
+
var b2 = new Button('<%= I18n.t("refresh.hint", :scope => [:ckeditor, :buttons]) %>', '<%= I18n.t("refresh.title", :scope => [:ckeditor, :buttons]) %>', 'refresh.gif');
|
11
|
+
|
12
|
+
b1.callback = uploadButton;
|
13
|
+
b2.callback = function(){ window.location.reload(); }
|
14
|
+
|
15
|
+
t.buttons.push(b1);
|
16
|
+
t.buttons.push(b2);
|
17
|
+
|
18
|
+
t.init();
|
19
|
+
init_swfupload();
|
20
|
+
|
21
|
+
$('a.FCKFileDelete').bind('ajax:complete', function(){
|
22
|
+
$(this).parents('div.FCKThumb').remove();
|
23
|
+
});
|
24
|
+
}
|
3
25
|
|
4
26
|
function init_swfupload() {
|
5
27
|
var params = editor.config['swf_params'];
|
@@ -1,43 +1,5 @@
|
|
1
|
-
<script type="text/javascript">
|
1
|
+
<script type="text/javascript">
|
2
2
|
var upload_path = "<%=raw ckeditor_attachment_path(:file) %>";
|
3
|
-
|
4
|
-
function setUrl(url)
|
5
|
-
{
|
6
|
-
CKEDITOR.tools.callFunction(CKEditorFuncNum, url);
|
7
|
-
window.close();
|
8
|
-
}
|
9
|
-
|
10
|
-
function uploadButton(button)
|
11
|
-
{
|
12
|
-
var element = $('fj');
|
13
|
-
|
14
|
-
if (element.style.display == '')
|
15
|
-
{
|
16
|
-
element.style.display = 'none';
|
17
|
-
}
|
18
|
-
else
|
19
|
-
{
|
20
|
-
element.style.display = '';
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
window.onload = function()
|
25
|
-
{
|
26
|
-
init_swfupload();
|
27
|
-
var f = new FileThumb('qu');
|
28
|
-
var t = new ToolBar('nv');
|
29
|
-
|
30
|
-
var b1 = new Button('Upload New File', 'Upload', 'add.gif');
|
31
|
-
var b2 = new Button('Refresh', 'Refresh', 'refresh.gif');
|
32
|
-
|
33
|
-
b1.callback = uploadButton;
|
34
|
-
b2.callback = function(){ window.location.reload(); }
|
35
|
-
|
36
|
-
t.buttons.push(b1);
|
37
|
-
t.buttons.push(b2);
|
38
|
-
|
39
|
-
t.init();
|
40
|
-
}
|
41
3
|
</script>
|
42
4
|
|
43
5
|
<table width="100%" cellspacing="0" cellpadding="0">
|
@@ -49,7 +11,7 @@
|
|
49
11
|
<tr id="fj" style='display:none;'>
|
50
12
|
<td style="white-space: normal;" class="FCKUploadArea">
|
51
13
|
<div class="PopupTitle">
|
52
|
-
<span
|
14
|
+
<span><%= I18n.t('upload_files', :scope => [:ckeditor]) %></span>
|
53
15
|
</div>
|
54
16
|
<div id="cY">
|
55
17
|
<table cellspacing="0" cellpadding="0" style="padding: 10px;">
|
@@ -1,43 +1,5 @@
|
|
1
1
|
<script type="text/javascript">
|
2
2
|
var upload_path = "<%=raw ckeditor_attachment_path(:image) %>";
|
3
|
-
|
4
|
-
function setUrl(url)
|
5
|
-
{
|
6
|
-
CKEDITOR.tools.callFunction(CKEditorFuncNum, url);
|
7
|
-
window.close();
|
8
|
-
}
|
9
|
-
|
10
|
-
function uploadButton(button)
|
11
|
-
{
|
12
|
-
var element = $('fj');
|
13
|
-
|
14
|
-
if (element.style.display == '')
|
15
|
-
{
|
16
|
-
element.style.display = 'none';
|
17
|
-
}
|
18
|
-
else
|
19
|
-
{
|
20
|
-
element.style.display = '';
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
window.onload = function()
|
25
|
-
{
|
26
|
-
init_swfupload();
|
27
|
-
var f = new FileThumb('qu');
|
28
|
-
var t = new ToolBar('nv');
|
29
|
-
|
30
|
-
var b1 = new Button('Upload New File', 'Upload', 'add.gif');
|
31
|
-
var b2 = new Button('Refresh', 'Refresh', 'refresh.gif');
|
32
|
-
|
33
|
-
b1.callback = uploadButton;
|
34
|
-
b2.callback = function(){ window.location.reload(); }
|
35
|
-
|
36
|
-
t.buttons.push(b1);
|
37
|
-
t.buttons.push(b2);
|
38
|
-
|
39
|
-
t.init();
|
40
|
-
}
|
41
3
|
</script>
|
42
4
|
|
43
5
|
<table width="100%" cellspacing="0" cellpadding="0">
|
@@ -49,7 +11,7 @@
|
|
49
11
|
<tr id="fj" style='display:none;'>
|
50
12
|
<td style="white-space: normal;" class="FCKUploadArea">
|
51
13
|
<div class="PopupTitle">
|
52
|
-
<span
|
14
|
+
<span><%= I18n.t('upload_files', :scope => [:ckeditor]) %></span>
|
53
15
|
</div>
|
54
16
|
<div id="cY">
|
55
17
|
<table cellspacing="0" cellpadding="0" style="padding: 10px;">
|
@@ -1,19 +1,22 @@
|
|
1
1
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
2
|
<head>
|
3
|
-
<title
|
3
|
+
<title><%= I18n.t('page_title', :scope => [:ckeditor]) %></title>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
5
5
|
<meta name="robots" content="noindex, nofollow">
|
6
|
+
<%= csrf_meta_tag %>
|
7
|
+
|
6
8
|
<link href="/javascripts/ckeditor/css/fck_editor.css" type="text/css" rel="stylesheet">
|
7
9
|
<link href="/javascripts/ckeditor/css/fck_dialog.css" type="text/css" rel="stylesheet">
|
8
10
|
<link href="/javascripts/ckeditor/css/ckfinder.css" type="text/css" rel="stylesheet">
|
9
11
|
<link href="/javascripts/ckeditor/css/swfupload.css" type="text/css" rel="stylesheet">
|
10
12
|
|
11
|
-
<script src="/javascripts/ckeditor/swfupload/
|
13
|
+
<script src="/javascripts/ckeditor/swfupload/jquery-1.5.1.min.js" type="text/javascript"></script>
|
12
14
|
<script src="/javascripts/ckeditor/swfupload/swfupload.js" type="text/javascript"></script>
|
13
15
|
<script src="/javascripts/ckeditor/swfupload/swfupload.queue.js" type="text/javascript"></script>
|
14
16
|
<script src="/javascripts/ckeditor/swfupload/fileprogress.js" type="text/javascript"></script>
|
15
17
|
<script src="/javascripts/ckeditor/swfupload/handlers.js" type="text/javascript"></script>
|
16
18
|
<script src="/javascripts/ckeditor/swfupload/querystring.js" type="text/javascript"></script>
|
19
|
+
<script src="/javascripts/ckeditor/swfupload/rails.js" type="text/javascript"></script>
|
17
20
|
|
18
21
|
<script type="text/javascript">
|
19
22
|
var params = new Querystring();
|
data/lib/ckeditor.rb
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
module Ckeditor
|
2
2
|
autoload :ViewHelper, 'ckeditor/view_helper'
|
3
3
|
autoload :FormBuilder, 'ckeditor/form_builder'
|
4
|
-
autoload :CustomFormBuilder, 'ckeditor/formtastic'
|
5
4
|
autoload :Middleware, 'ckeditor/middleware'
|
6
5
|
autoload :Utils, 'ckeditor/utils'
|
7
6
|
|
7
|
+
module Hooks
|
8
|
+
autoload :FormtasticBuilder, 'ckeditor/hooks/formtastic'
|
9
|
+
autoload :SimpleFormBuilder, 'ckeditor/hooks/simple_form'
|
10
|
+
end
|
11
|
+
|
8
12
|
mattr_accessor :swf_file_post_name
|
9
13
|
@@swf_file_post_name = "data"
|
10
14
|
|
data/lib/ckeditor/engine.rb
CHANGED
@@ -14,7 +14,11 @@ module Ckeditor
|
|
14
14
|
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :ckeditor => ["ckeditor/ckeditor"]
|
15
15
|
|
16
16
|
if Object.const_defined?("Formtastic")
|
17
|
-
Formtastic::
|
17
|
+
::Formtastic::SemanticFormBuilder.send :include, Ckeditor::Hooks::FormtasticBuilder
|
18
|
+
end
|
19
|
+
|
20
|
+
if Object.const_defined?("SimpleForm")
|
21
|
+
::SimpleForm::FormBuilder.send :include, Ckeditor::Hooks::SimpleFormBuilder
|
18
22
|
end
|
19
23
|
end
|
20
24
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Ckeditor
|
2
|
+
module Hooks
|
3
|
+
module FormtasticBuilder
|
4
|
+
def self.included(base)
|
5
|
+
base.send(:include, InstanceMethods)
|
6
|
+
end
|
7
|
+
|
8
|
+
module InstanceMethods
|
9
|
+
def ckeditor_input(method, options)
|
10
|
+
basic_input_helper(:cktext_area, :text, method, options)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Ckeditor
|
2
|
+
module Hooks
|
3
|
+
module SimpleFormBuilder
|
4
|
+
class CkeditorInput < ::SimpleForm::Inputs::Base
|
5
|
+
def input
|
6
|
+
@builder.send(:cktext_area, attribute_name, input_html_options)
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.included(base)
|
11
|
+
base.send(:include, InstanceMethods)
|
12
|
+
end
|
13
|
+
|
14
|
+
module InstanceMethods
|
15
|
+
def ckeditor(attribute_name, options={}, &block)
|
16
|
+
column = find_attribute_column(attribute_name)
|
17
|
+
input_type = default_input_type(attribute_name, column, options)
|
18
|
+
|
19
|
+
if block_given?
|
20
|
+
SimpleForm::Inputs::BlockInput.new(self, attribute_name, column, input_type, options, &block).render
|
21
|
+
else
|
22
|
+
CkeditorInput.new(self, attribute_name, column, input_type, options).render
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/lib/ckeditor/utils.rb
CHANGED
@@ -1,25 +1,54 @@
|
|
1
1
|
require 'fileutils'
|
2
|
+
require 'net/http'
|
3
|
+
require 'uri'
|
2
4
|
|
3
5
|
module Ckeditor
|
4
6
|
module Utils
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
class << self
|
8
|
+
# remove the existing install (if any)
|
9
|
+
def destroy
|
10
|
+
directory = Rails.root.join('public', 'javascripts', 'ckeditor')
|
11
|
+
if File.exist?(directory)
|
12
|
+
FileUtils.rm_r(directory, :force => true)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def escape_single_quotes(str)
|
17
|
+
str.gsub('\\','\0\0').gsub('</','<\/').gsub(/\r\n|\n|\r/, "\\n").gsub(/["']/) { |m| "\\#{m}" }
|
18
|
+
end
|
19
|
+
|
20
|
+
def parameterize_filename(filename)
|
21
|
+
extension = File.extname(filename)
|
22
|
+
basename = filename.gsub(/#{extension}$/, "")
|
23
|
+
|
24
|
+
[basename.parameterize('_'), extension].join.downcase
|
25
|
+
end
|
26
|
+
|
27
|
+
def download(url, output)
|
28
|
+
uri = URI.parse(url)
|
29
|
+
file = File.open(output, 'w')
|
30
|
+
|
31
|
+
Net::HTTP.start(uri.host, uri.port) do |http|
|
32
|
+
begin
|
33
|
+
http.request_get(uri.path) do |resp|
|
34
|
+
resp.read_body { |segment| file.write(segment) }
|
35
|
+
end
|
36
|
+
ensure
|
37
|
+
file.close
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def extract(filepath, output)
|
43
|
+
# TODO: need check system OS
|
44
|
+
system("tar --exclude=*.php --exclude=*.asp -C '#{output}' -xzvf '#{filepath}' ckeditor/")
|
45
|
+
end
|
46
|
+
|
47
|
+
def clear_dir(dirpath)
|
48
|
+
FileUtils.rm_r(dirpath, :force => true)
|
49
|
+
FileUtils.mkdir_p(dirpath)
|
11
50
|
end
|
12
|
-
end
|
13
|
-
|
14
|
-
def self.escape_single_quotes(str)
|
15
|
-
str.gsub('\\','\0\0').gsub('</','<\/').gsub(/\r\n|\n|\r/, "\\n").gsub(/["']/) { |m| "\\#{m}" }
|
16
|
-
end
|
17
|
-
|
18
|
-
def self.parameterize_filename(filename)
|
19
|
-
extension = File.extname(filename)
|
20
|
-
basename = filename.gsub(/#{extension}$/, "")
|
21
51
|
|
22
|
-
[basename.parameterize('_'), extension].join.downcase
|
23
52
|
end
|
24
53
|
|
25
54
|
end
|