esp-ckeditor 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/Gemfile +3 -0
- data/README.rdoc +5 -8
- data/bin/minify +140 -0
- data/esp-ckeditor.gemspec +22 -0
- data/lib/esp-ckeditor/version.rb +1 -1
- data/script/rails +6 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +7 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy/app/assets/stylesheets/reset.sass +131 -0
- data/spec/dummy/app/assets/stylesheets/screen.sass +12 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/home_controller.rb +6 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/{app/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js → spec/dummy/app/mailers/.gitkeep} +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/views/home/index.html.erb +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +50 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +60 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +6 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/_bootstrap.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor_base.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ckeditor_basic.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/command.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/commanddefinition.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/config.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dataprocessor.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/document.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/documentfragment.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/domobject.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/element.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/elementpath.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/event.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/node.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/nodelist.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/range.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/rangelist.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/text.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/walker.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dom/window.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/dtd.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/editor.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/editor_basic.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/env.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/event.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/eventInfo.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/focusmanager.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/basicwriter.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/cdata.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/comment.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/element.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/filter.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/fragment.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/htmlparser/text.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/lang.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/loader.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/plugindefinition.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/plugins.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/resourcemanager.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/scriptloader.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/skins.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/themes.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/tools.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/core/ui.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/_languages.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/basicstyles/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/button/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/contextmenu/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialog/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/dialogui/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/domiterator/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/editingblock/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/elementspath/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/enterkey/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/entities/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/dialogs/esp_attachment.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/images/esp_attachment.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/dialogs/esp_audio.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/esp_audio.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/placeholder.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/dialogs/esp_blockquote.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/dialogs/esp_image.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/images/esp_image.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_anchor.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_link.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/anchor.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_anchor.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_link.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_unlink.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_address.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_blockquote.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_div.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h1.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h2.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h3.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h4.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h5.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h6.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_p.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_pre.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/dialogs/esp_video.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/esp_video.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/placeholder.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/fakeobjects/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/filebrowser/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/find/dialogs/find.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/find/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/floatpanel/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/format/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/htmlwriter/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/image/dialogs/image.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/image/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/indent/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/justify/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/keystrokes/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/list/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/listblock/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/maximize/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/menu/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/panel/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/filter/default.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/popup/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/removeformat/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/resize/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/richcombo/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/selection/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/showborders/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/sourcearea/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/specialchar/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/styles/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/styles/styles/default.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/stylescombo/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tab/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/table/dialogs/table.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/table/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/toolbar/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/undo/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/dialog.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/editor.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/elementspath.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/mainui.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/menu.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/panel.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/presets.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/reset.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/richcombo.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/skin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/templates.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/skins/kama/toolbar.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/_source/themes/default/theme.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor.pack +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/ckeditor_source.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/ckpackager.jar +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/ckpackager.txt +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/config.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/contents.css +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/images/spacer.gif +0 -0
- data/{app/assets/javascripts/esp-ckeditor/application.js → vendor/assets/javascripts/esp-ckeditor/index.js} +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/init_ckeditor.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/he.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/a11yhelp/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/basicstyles/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/button/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/clipboard/dialogs/paste.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/clipboard/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/contextmenu/plugin.js +0 -0
- data/vendor/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialog/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialogadvtab/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/dialogui/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/domiterator/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/editingblock/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/elementspath/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/enterkey/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/entities/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/dialogs/esp_attachment.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/images/esp_attachment.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_attachment/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/dialogs/esp_audio.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/esp_audio.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/placeholder.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_audio/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/dialogs/esp_blockquote.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/dialogs/esp_image.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/images/esp_image.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_anchor.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_link.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/anchor.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_anchor.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_link.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_unlink.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_link/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_address.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_blockquote.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_div.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h1.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h2.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h3.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h4.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h5.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h6.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_p.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_pre.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/dialogs/esp_video.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/images/esp_video.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/images/placeholder.png +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/ru.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/uk.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/esp_video/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/fakeobjects/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/filebrowser/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/find/dialogs/find.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/find/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/floatpanel/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/format/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/htmldataprocessor/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/htmlwriter/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/image/dialogs/image.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/image/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/indent/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/justify/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/keystrokes/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/list/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/listblock/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/liststyle/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/maximize/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/menu/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/panel/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastefromword/filter/default.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastefromword/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/pastetext/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/popup/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/removeformat/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/resize/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/richcombo/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/selection/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/showborders/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/sourcearea/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/lang/en.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/specialchar/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/styles/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/styles/styles/default.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/stylescombo/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tab/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/table/dialogs/table.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/table/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/tabletools/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/toolbar/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/undo/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/esp-ckeditor/plugins/wysiwygarea/plugin.js +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/dialog.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/editor.css +9 -9
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/elementspath.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons.png +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/icons_rtl.png +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/mini.gif +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/noimage.png +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/sprites.png +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/mainui.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/menu.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/panel.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/presets.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/reset.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/richcombo.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/skin.js +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/templates.css +0 -0
- data/{app/assets/javascripts → vendor/assets/stylesheets}/esp-ckeditor/skins/kama/toolbar.css +0 -0
- metadata +402 -393
- data/app/inputs/ckeditor_input.rb +0 -42
@@ -1,42 +0,0 @@
|
|
1
|
-
class CkeditorInput < Formtastic::Inputs::TextInput
|
2
|
-
|
3
|
-
include ActionView::Helpers::TagHelper
|
4
|
-
include ActionView::Helpers::JavaScriptHelper
|
5
|
-
|
6
|
-
def input_html_options
|
7
|
-
input_html = (options.delete(:input_html) || {})
|
8
|
-
super.merge(input_html).merge(:rows => nil)
|
9
|
-
end
|
10
|
-
|
11
|
-
def to_html
|
12
|
-
hash = input_html_options.stringify_keys
|
13
|
-
super + javascript_tag(js_replace(hash['id'], hash))
|
14
|
-
end
|
15
|
-
|
16
|
-
def js_replace(dom_id, options = {})
|
17
|
-
js_options = applay_options(options)
|
18
|
-
js = "if (CKEDITOR.instances['#{dom_id}']) {\nCKEDITOR.remove(CKEDITOR.instances['#{dom_id}']);\n}\n"
|
19
|
-
js_options.blank? ? js += "CKEDITOR.replace('#{dom_id}');" : js += "CKEDITOR.replace('#{dom_id}', { #{js_options} });"
|
20
|
-
end
|
21
|
-
|
22
|
-
def applay_options(options)
|
23
|
-
str = []
|
24
|
-
options.each do |key, value|
|
25
|
-
item = case value
|
26
|
-
when String then
|
27
|
-
value.split(//).first == '^' ? value.slice(1..-1) : "'#{value}'"
|
28
|
-
when Hash then
|
29
|
-
"{ #{applay_options(value)} }"
|
30
|
-
when Array then
|
31
|
-
arr = value.collect { |v| "'#{v}'" }
|
32
|
-
"[ #{arr.join(',')} ]"
|
33
|
-
when nil then
|
34
|
-
next
|
35
|
-
else value
|
36
|
-
end
|
37
|
-
str << %Q{'#{key}': #{item}}
|
38
|
-
end
|
39
|
-
str.sort.join(', ')
|
40
|
-
end
|
41
|
-
|
42
|
-
end
|