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