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
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bf2bcafe01a57cd3f271df3ce55128a84117e921
|
4
|
+
data.tar.gz: ccc991376ae61ea91c3b1492394ea96bdea35463
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 07390d9f191ba4042eb1b229e5450ba4858cabf36ea698f968932fa07cf31ed80a309a075d8456b871407022fd5a31cf493d3eaffb6193d3634b8e869123cd69
|
7
|
+
data.tar.gz: cc7350dd98656449a3b54bf6fcdba608533e98d1d73d8874c35e42380a567da9119963a60c8983287635bcb005b9e96bf6e7a48bd25ef7d88d3441382489b535
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= EspCkeditor
|
2
2
|
|
3
|
-
CKEditor 3.6.2 for rails >= 3.1.0 project with
|
3
|
+
CKEditor 3.6.2 for rails >= 3.1.0 project with el_vfs_client (optional) support.
|
4
4
|
|
5
5
|
== Install
|
6
6
|
|
@@ -18,15 +18,12 @@ or
|
|
18
18
|
|
19
19
|
== Usage
|
20
20
|
|
21
|
-
|
21
|
+
Add to your <code>application.js</code>:
|
22
22
|
|
23
|
-
|
23
|
+
//= require esp-ckeditor
|
24
24
|
|
25
|
-
and use
|
26
|
-
|
27
|
-
<%= form.input :annotation, :as => :ckeditor, :input_html => { :height => 100 } %>
|
28
|
-
<%= form.input :text, :as => :ckeditor %>
|
25
|
+
and use textarea with <tt>:class => :ckeditor</tt>
|
29
26
|
|
30
27
|
== License
|
31
28
|
|
32
|
-
This project rocks and uses MIT-LICENSE.
|
29
|
+
This project rocks and uses MIT-LICENSE.
|
data/bin/minify
ADDED
@@ -0,0 +1,140 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
#
|
3
|
+
# minify ckeditor plugins from ckeditor/_source/plugins to ckeditor/plugins
|
4
|
+
#
|
5
|
+
|
6
|
+
txtbld=$(tput bold)
|
7
|
+
txtred=$(tput setaf 1)
|
8
|
+
bldred=${txtbld}${txtred}
|
9
|
+
txtgrn=$(tput setaf 2)
|
10
|
+
bldgrn=${txtbld}${txtgrn}
|
11
|
+
txtrst=$(tput sgr0)
|
12
|
+
|
13
|
+
project_path=`pwd`
|
14
|
+
|
15
|
+
java_path=`which java`
|
16
|
+
|
17
|
+
juicer_path=`which juicer`
|
18
|
+
|
19
|
+
if [ -n "$juicer_path" ]; then
|
20
|
+
juicer_path=juicer
|
21
|
+
fi
|
22
|
+
|
23
|
+
if [ -e $project_path/bin/juicer ]; then
|
24
|
+
juicer_path=bin/juicer
|
25
|
+
fi
|
26
|
+
|
27
|
+
if [ ! -n "$java_path" ]; then
|
28
|
+
echo
|
29
|
+
echo "${bldred}Can't find Java Runtime Environment!${txtrst}"
|
30
|
+
echo "${txtgrn}It need for minify JavaScripts. Please install it${txtrst}"
|
31
|
+
echo
|
32
|
+
exit 1
|
33
|
+
fi
|
34
|
+
|
35
|
+
if [ ! -n "$juicer_path" ] & [ ! -e $project_path/bin/juicer ]; then
|
36
|
+
echo
|
37
|
+
echo "${bldred}Can't find executable juicer!${txtrst}"
|
38
|
+
echo "${txtgrn}Please run:${txtrst}"
|
39
|
+
echo "bundle install --binstubs"
|
40
|
+
echo "${txtgrn}or${txtrst}"
|
41
|
+
echo "gem install juicer"
|
42
|
+
echo
|
43
|
+
exit 1
|
44
|
+
fi
|
45
|
+
|
46
|
+
if [ ! -e ~/.juicer/lib/yui_compressor/bin/yuicompressor-*.jar ]; then
|
47
|
+
echo
|
48
|
+
echo "${bldred}YUI Compressor is not installed!${txtrst}"
|
49
|
+
echo "${txtgrn}Please run:${txtrst}"
|
50
|
+
echo "$juicer_path install yui_compressor"
|
51
|
+
echo
|
52
|
+
exit 1
|
53
|
+
fi
|
54
|
+
|
55
|
+
if [ ! -e ~/.juicer/lib/jslint/bin/jslint-*.js ]; then
|
56
|
+
echo
|
57
|
+
echo "${bldred}JsLint is not installed!${txtrst}"
|
58
|
+
echo "${txtgrn}Please run:${txtrst}"
|
59
|
+
echo "$juicer_path install jslint"
|
60
|
+
echo
|
61
|
+
exit 1
|
62
|
+
fi
|
63
|
+
|
64
|
+
echo "${bldgrn}Note:${txtrst} use --pack params for minify ckeditor.js"
|
65
|
+
echo " by default minify all _source/plugins javascripts"
|
66
|
+
echo " or specify the list of parameters for custom files minify"
|
67
|
+
echo
|
68
|
+
|
69
|
+
function minify {
|
70
|
+
file=$1
|
71
|
+
file_path=${file%/*}
|
72
|
+
file_name=$(basename $file)
|
73
|
+
dest_path=${file_path/\/_source\///}
|
74
|
+
if [ ! -d "$dest_path" ]; then
|
75
|
+
mkdir $dest_path
|
76
|
+
fi
|
77
|
+
$project_path/bin/juicer merge -i -s -f -o $dest_path/$file_name $file_path/$file_name
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
function minify_all {
|
82
|
+
echo "${txtgrn}Start minify${txtrst}"
|
83
|
+
for file in $parameters; do
|
84
|
+
minify $file
|
85
|
+
done
|
86
|
+
echo "${txtgrn}Done${txtrst}"
|
87
|
+
}
|
88
|
+
|
89
|
+
function hms() {
|
90
|
+
local S=$SECONDS
|
91
|
+
((m=S%3600/60))
|
92
|
+
((s=S%60))
|
93
|
+
printf "Running time: %dm:%ds\n" $m $s
|
94
|
+
}
|
95
|
+
|
96
|
+
parameters="$@"
|
97
|
+
|
98
|
+
for thing in $parameters
|
99
|
+
do
|
100
|
+
if [ "${thing}" = "--pack" ]; then
|
101
|
+
echo "${txtgrn}Minify ckeditor.js${txtrst}"
|
102
|
+
cd vendor/assets/javascripts/esp-ckeditor/
|
103
|
+
java -jar ckpackager.jar ckeditor.pack
|
104
|
+
cd $project_path
|
105
|
+
echo "${txtgrn}Done${txtrst}"
|
106
|
+
echo
|
107
|
+
fi
|
108
|
+
done
|
109
|
+
|
110
|
+
if [ -n "$parameters" ]; then
|
111
|
+
if [ $# -eq 1 ] & [ "$parameters" = "--pack" ]; then
|
112
|
+
parameters=`find vendor/assets/javascripts/esp-ckeditor/_source/plugins/ -name *.js`
|
113
|
+
minify_all
|
114
|
+
hms
|
115
|
+
exit 0
|
116
|
+
fi
|
117
|
+
echo "${txtgrn}Minify plugins from params${txtrst}"
|
118
|
+
echo "${txtgrn}Start minify${txtrst}"
|
119
|
+
for file in $parameters; do
|
120
|
+
if [ "${file}" = "--pack" ]; then
|
121
|
+
continue
|
122
|
+
fi
|
123
|
+
if [ ! -e $file ]; then
|
124
|
+
echo "${txtred}Can't find $file${txtrst}"
|
125
|
+
continue
|
126
|
+
else
|
127
|
+
minify $file
|
128
|
+
fi
|
129
|
+
done
|
130
|
+
echo "${txtgrn}Done${txtrst}"
|
131
|
+
hms
|
132
|
+
exit 0
|
133
|
+
else
|
134
|
+
echo "${txtgrn}Minify from ckeditor source path${txtrst}"
|
135
|
+
parameters=`find vendor/assets/javascripts/esp-ckeditor/_source/plugins/ -name *.js`
|
136
|
+
fi
|
137
|
+
|
138
|
+
minify_all
|
139
|
+
|
140
|
+
hms
|
@@ -0,0 +1,22 @@
|
|
1
|
+
$:.push File.expand_path('../lib', __FILE__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require 'esp-ckeditor/version'
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'esp-ckeditor'
|
9
|
+
s.version = EspCkeditor::VERSION
|
10
|
+
s.authors = ['Evgeny Lapin']
|
11
|
+
s.email = ['mail@openteam.ru']
|
12
|
+
s.homepage = 'http://github.com/openteam-esp/esp-ckeditor'
|
13
|
+
s.summary = 'EspCkeditor.'
|
14
|
+
s.description = 'EspCkeditor.'
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
|
18
|
+
s.add_development_dependency 'rails', '~> 3.2.15'
|
19
|
+
s.add_development_dependency 'juicer'
|
20
|
+
s.add_development_dependency 'sass-rails'
|
21
|
+
|
22
|
+
end
|
data/lib/esp-ckeditor/version.rb
CHANGED
data/script/rails
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#!/usr/bin/env ruby
|
3
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
4
|
+
|
5
|
+
ENGINE_PATH = File.expand_path('../..', __FILE__)
|
6
|
+
load File.expand_path('../../spec/dummy/script/rails', __FILE__)
|
data/spec/dummy/Rakefile
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
4
|
+
|
5
|
+
require File.expand_path('../config/application', __FILE__)
|
6
|
+
|
7
|
+
Dummy::Application.load_tasks
|
@@ -0,0 +1,7 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
+
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
+
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
+
// the compiled file.
|
6
|
+
//
|
7
|
+
//= require esp-ckeditor
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
+
*= require_self
|
6
|
+
*= require_tree .
|
7
|
+
*/
|
@@ -0,0 +1,131 @@
|
|
1
|
+
// Based on [Eric Meyer's reset 2.0](http://meyerweb.com/eric/tools/css/reset/index.html)
|
2
|
+
// Global reset rules.
|
3
|
+
// For more specific resets, use the reset mixins provided below
|
4
|
+
=global-reset
|
5
|
+
html, body, div, span, applet, object, iframe,
|
6
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
7
|
+
a, abbr, acronym, address, big, cite, code,
|
8
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
9
|
+
small, strike, strong, sub, sup, tt, var,
|
10
|
+
b, u, i, center,
|
11
|
+
dl, dt, dd, ol, ul, li,
|
12
|
+
fieldset, form, label, legend,
|
13
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
14
|
+
article, aside, canvas, details, embed,
|
15
|
+
figure, figcaption, footer, header, hgroup,
|
16
|
+
menu, nav, output, ruby, section, summary,
|
17
|
+
time, mark, audio, video
|
18
|
+
+reset-box-model
|
19
|
+
+reset-font
|
20
|
+
body
|
21
|
+
+reset-body
|
22
|
+
ol, ul
|
23
|
+
+reset-list-style
|
24
|
+
table
|
25
|
+
+reset-table
|
26
|
+
caption, th, td
|
27
|
+
+reset-table-cell
|
28
|
+
q, blockquote
|
29
|
+
+reset-quotation
|
30
|
+
a img
|
31
|
+
+reset-image-anchor-border
|
32
|
+
|
33
|
+
// Reset all elements within some selector scope. To reset the selector itself,
|
34
|
+
// mixin the appropriate reset mixin for that element type as well. This could be
|
35
|
+
// useful if you want to style a part of your page in a dramatically different way.
|
36
|
+
=nested-reset
|
37
|
+
div, span, applet, object, iframe,
|
38
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
39
|
+
a, abbr, acronym, address, big, cite, code,
|
40
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
41
|
+
small, strike, strong, sub, sup, tt, var,
|
42
|
+
b, u, i, center,
|
43
|
+
dl, dt, dd, ol, ul, li,
|
44
|
+
fieldset, form, label, legend,
|
45
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
46
|
+
article, aside, canvas, details, embed,
|
47
|
+
figure, figcaption, footer, header, hgroup,
|
48
|
+
menu, nav, output, ruby, section, summary,
|
49
|
+
time, mark, audio, video
|
50
|
+
+reset-box-model
|
51
|
+
+reset-font
|
52
|
+
table
|
53
|
+
+reset-table
|
54
|
+
caption, th, td
|
55
|
+
+reset-table-cell
|
56
|
+
q, blockquote
|
57
|
+
+reset-quotation
|
58
|
+
a img
|
59
|
+
+reset-image-anchor-border
|
60
|
+
|
61
|
+
// Reset the box model measurements.
|
62
|
+
=reset-box-model
|
63
|
+
margin: 0
|
64
|
+
padding: 0
|
65
|
+
border: 0
|
66
|
+
|
67
|
+
// Reset the font and vertical alignment.
|
68
|
+
=reset-font
|
69
|
+
font-size: 100%
|
70
|
+
font: inherit
|
71
|
+
vertical-align: baseline
|
72
|
+
|
73
|
+
// Resets the outline when focus.
|
74
|
+
// For accessibility you need to apply some styling in its place.
|
75
|
+
=reset-focus
|
76
|
+
outline: 0
|
77
|
+
|
78
|
+
// Reset a body element.
|
79
|
+
=reset-body
|
80
|
+
line-height: 1
|
81
|
+
|
82
|
+
// Reset the list style of an element.
|
83
|
+
=reset-list-style
|
84
|
+
list-style: none
|
85
|
+
|
86
|
+
// Reset a table
|
87
|
+
=reset-table
|
88
|
+
border-collapse: collapse
|
89
|
+
border-spacing: 0
|
90
|
+
|
91
|
+
// Reset a table cell (`th`, `td`)
|
92
|
+
=reset-table-cell
|
93
|
+
text-align: left
|
94
|
+
font-weight: normal
|
95
|
+
vertical-align: middle
|
96
|
+
|
97
|
+
// Reset a quotation (`q`, `blockquote`)
|
98
|
+
=reset-quotation
|
99
|
+
quotes: none
|
100
|
+
&:before, &:after
|
101
|
+
content: ''
|
102
|
+
content: none
|
103
|
+
|
104
|
+
// Resets the border.
|
105
|
+
=reset-image-anchor-border
|
106
|
+
border: none
|
107
|
+
|
108
|
+
// Resets the display of inline and block elements to their default display
|
109
|
+
// according to their tag type. Elements that have a default display that varies across
|
110
|
+
// versions of html or browser are not handled here, but this covers the 90% use case.
|
111
|
+
// Usage Example:
|
112
|
+
//
|
113
|
+
// // Turn off the display for both of these classes
|
114
|
+
// .unregistered-only, .registered-only
|
115
|
+
// display: none
|
116
|
+
// // Now turn only one of them back on depending on some other context.
|
117
|
+
// body.registered
|
118
|
+
// +reset-display('.registered-only')
|
119
|
+
// body.unregistered
|
120
|
+
// +reset-display('.unregistered-only')
|
121
|
+
=reset-display($selector: '', $important: false)
|
122
|
+
#{append-selector(elements-of-type('inline'), $selector)}
|
123
|
+
@if $important
|
124
|
+
display: inline !important
|
125
|
+
@else
|
126
|
+
display: inline
|
127
|
+
#{append-selector(elements-of-type('block'), $selector)}
|
128
|
+
@if $important
|
129
|
+
display: block !important
|
130
|
+
@else
|
131
|
+
display: block
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= text_area_tag :text, nil, :rows => 20, cols: 100, :class => :ckeditor %>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE HTML>
|
2
|
+
<html lang='ru'>
|
3
|
+
<head>
|
4
|
+
<meta charset='UTF-8'>
|
5
|
+
<title>ESP CKEditor</title>
|
6
|
+
<%= favicon_link_tag %>
|
7
|
+
<%= stylesheet_link_tag 'application' %>
|
8
|
+
<%= javascript_include_tag 'application' %>
|
9
|
+
<%= csrf_meta_tags %>
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<%= yield %>
|
13
|
+
</body>
|
14
|
+
</html>
|