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,66 +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
|
-
/**
|
7
|
-
* @fileOverview Defines the "virtual" {@link CKEDITOR.dataProcessor} class, which
|
8
|
-
* defines the basic structure of data processor objects to be
|
9
|
-
* set to {@link CKEDITOR.editor.dataProcessor}.
|
10
|
-
*/
|
11
|
-
|
12
|
-
/**
|
13
|
-
* If defined, points to the data processor which is responsible to translate
|
14
|
-
* and transform the editor data on input and output.
|
15
|
-
* Generaly it will point to an instance of {@link CKEDITOR.htmlDataProcessor},
|
16
|
-
* which handles HTML data. The editor may also handle other data formats by
|
17
|
-
* using different data processors provided by specific plugins.
|
18
|
-
* @name CKEDITOR.editor.dataProcessor
|
19
|
-
* @type CKEDITOR.dataProcessor
|
20
|
-
*/
|
21
|
-
|
22
|
-
/**
|
23
|
-
* Represents a data processor, which is responsible to translate and transform
|
24
|
-
* the editor data on input and output.
|
25
|
-
* This class is not really part of the API. It's here for documentation
|
26
|
-
* purposes, and serves as the base ("interface") for data processors
|
27
|
-
* implementation.
|
28
|
-
* @name CKEDITOR.dataProcessor
|
29
|
-
* @contructor
|
30
|
-
* @example
|
31
|
-
*/
|
32
|
-
|
33
|
-
/**
|
34
|
-
* Transforms input data into HTML to be loaded in the editor.
|
35
|
-
* While the editor is able to handle non HTML data (like BBCode), at runtime
|
36
|
-
* it can handle HTML data only. The role of the data processor is transforming
|
37
|
-
* the input data into HTML through this function.
|
38
|
-
* @name CKEDITOR.dataProcessor.prototype.toHtml
|
39
|
-
* @function
|
40
|
-
* @param {String} data The input data to be transformed.
|
41
|
-
* @param {String} [fixForBody] The tag name to be used if the data must be
|
42
|
-
* fixed because it is supposed to be loaded direcly into the <body>
|
43
|
-
* tag. This is generally not used by non-HTML data processors.
|
44
|
-
* @example
|
45
|
-
* // Tranforming BBCode data, having a custom BBCode data processor.
|
46
|
-
* var data = 'This is [b]an example[/b].';
|
47
|
-
* var html = editor.dataProcessor.toHtml( data ); // '<p>This is <b>an example</b>.</p>'
|
48
|
-
*/
|
49
|
-
|
50
|
-
/**
|
51
|
-
* Transforms HTML into data to be outputted by the editor, in the format
|
52
|
-
* expected by the data processor.
|
53
|
-
* While the editor is able to handle non HTML data (like BBCode), at runtime
|
54
|
-
* it can handle HTML data only. The role of the data processor is transforming
|
55
|
-
* the HTML data containined by the editor into a specific data format through
|
56
|
-
* this function.
|
57
|
-
* @name CKEDITOR.dataProcessor.prototype.toDataFormat
|
58
|
-
* @function
|
59
|
-
* @param {String} html The HTML to be transformed.
|
60
|
-
* @param {String} fixForBody The tag name to be used if the output data is
|
61
|
-
* coming from <body> and may be eventually fixed for it. This is
|
62
|
-
* generally not used by non-HTML data processors.
|
63
|
-
* // Tranforming into BBCode data, having a custom BBCode data processor.
|
64
|
-
* var html = '<p>This is <b>an example</b>.</p>';
|
65
|
-
* var data = editor.dataProcessor.toDataFormat( html ); // 'This is [b]an example[/b].'
|
66
|
-
*/
|
@@ -1,21 +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
|
-
/**
|
7
|
-
* @fileOverview Defines the {@link CKEDITOR.dom} object, which contains DOM
|
8
|
-
* manipulation objects and function.
|
9
|
-
*/
|
10
|
-
|
11
|
-
/**
|
12
|
-
* DOM manipulation objects and function.<br /><br />
|
13
|
-
* @see CKEDITOR.dom.element
|
14
|
-
* @see CKEDITOR.dom.node
|
15
|
-
* @namespace
|
16
|
-
* @example
|
17
|
-
*/
|
18
|
-
CKEDITOR.dom =
|
19
|
-
{};
|
20
|
-
|
21
|
-
// PACKAGER_RENAME( CKEDITOR.dom )
|
@@ -1,32 +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
|
-
/**
|
7
|
-
* @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents
|
8
|
-
* a DOM comment node.
|
9
|
-
*/
|
10
|
-
|
11
|
-
CKEDITOR.dom.comment = CKEDITOR.tools.createClass(
|
12
|
-
{
|
13
|
-
base : CKEDITOR.dom.node,
|
14
|
-
|
15
|
-
$ : function( text, ownerDocument )
|
16
|
-
{
|
17
|
-
if ( typeof text == 'string' )
|
18
|
-
text = ( ownerDocument ? ownerDocument.$ : document ).createComment( text );
|
19
|
-
|
20
|
-
this.base( text );
|
21
|
-
},
|
22
|
-
|
23
|
-
proto :
|
24
|
-
{
|
25
|
-
type : CKEDITOR.NODE_COMMENT,
|
26
|
-
|
27
|
-
getOuterHtml : function()
|
28
|
-
{
|
29
|
-
return '<!--' + this.$.nodeValue + '-->';
|
30
|
-
}
|
31
|
-
}
|
32
|
-
});
|
@@ -1,224 +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
|
-
/**
|
7
|
-
* @fileOverview Defines the {@link CKEDITOR.dom.document} class, which
|
8
|
-
* represents a DOM document.
|
9
|
-
*/
|
10
|
-
|
11
|
-
/**
|
12
|
-
* Represents a DOM document.
|
13
|
-
* @constructor
|
14
|
-
* @augments CKEDITOR.dom.domObject
|
15
|
-
* @param {Object} domDocument A native DOM document.
|
16
|
-
* @example
|
17
|
-
* var document = new CKEDITOR.dom.document( document );
|
18
|
-
*/
|
19
|
-
CKEDITOR.dom.document = function( domDocument )
|
20
|
-
{
|
21
|
-
CKEDITOR.dom.domObject.call( this, domDocument );
|
22
|
-
};
|
23
|
-
|
24
|
-
// PACKAGER_RENAME( CKEDITOR.dom.document )
|
25
|
-
|
26
|
-
CKEDITOR.dom.document.prototype = new CKEDITOR.dom.domObject();
|
27
|
-
|
28
|
-
CKEDITOR.tools.extend( CKEDITOR.dom.document.prototype,
|
29
|
-
/** @lends CKEDITOR.dom.document.prototype */
|
30
|
-
{
|
31
|
-
/**
|
32
|
-
* Appends a CSS file to the document.
|
33
|
-
* @param {String} cssFileUrl The CSS file URL.
|
34
|
-
* @example
|
35
|
-
* <b>CKEDITOR.document.appendStyleSheet( '/mystyles.css' )</b>;
|
36
|
-
*/
|
37
|
-
appendStyleSheet : function( cssFileUrl )
|
38
|
-
{
|
39
|
-
if ( this.$.createStyleSheet )
|
40
|
-
this.$.createStyleSheet( cssFileUrl );
|
41
|
-
else
|
42
|
-
{
|
43
|
-
var link = new CKEDITOR.dom.element( 'link' );
|
44
|
-
link.setAttributes(
|
45
|
-
{
|
46
|
-
rel :'stylesheet',
|
47
|
-
type : 'text/css',
|
48
|
-
href : cssFileUrl
|
49
|
-
});
|
50
|
-
|
51
|
-
this.getHead().append( link );
|
52
|
-
}
|
53
|
-
},
|
54
|
-
|
55
|
-
appendStyleText : function( cssStyleText )
|
56
|
-
{
|
57
|
-
if ( this.$.createStyleSheet )
|
58
|
-
{
|
59
|
-
var styleSheet = this.$.createStyleSheet( "" );
|
60
|
-
styleSheet.cssText = cssStyleText ;
|
61
|
-
}
|
62
|
-
else
|
63
|
-
{
|
64
|
-
var style = new CKEDITOR.dom.element( 'style', this );
|
65
|
-
style.append( new CKEDITOR.dom.text( cssStyleText, this ) );
|
66
|
-
this.getHead().append( style );
|
67
|
-
}
|
68
|
-
},
|
69
|
-
|
70
|
-
createElement : function( name, attribsAndStyles )
|
71
|
-
{
|
72
|
-
var element = new CKEDITOR.dom.element( name, this );
|
73
|
-
|
74
|
-
if ( attribsAndStyles )
|
75
|
-
{
|
76
|
-
if ( attribsAndStyles.attributes )
|
77
|
-
element.setAttributes( attribsAndStyles.attributes );
|
78
|
-
|
79
|
-
if ( attribsAndStyles.styles )
|
80
|
-
element.setStyles( attribsAndStyles.styles );
|
81
|
-
}
|
82
|
-
|
83
|
-
return element;
|
84
|
-
},
|
85
|
-
|
86
|
-
createText : function( text )
|
87
|
-
{
|
88
|
-
return new CKEDITOR.dom.text( text, this );
|
89
|
-
},
|
90
|
-
|
91
|
-
focus : function()
|
92
|
-
{
|
93
|
-
this.getWindow().focus();
|
94
|
-
},
|
95
|
-
|
96
|
-
/**
|
97
|
-
* Gets and element based on its id.
|
98
|
-
* @param {String} elementId The element id.
|
99
|
-
* @returns {CKEDITOR.dom.element} The element instance, or null if not found.
|
100
|
-
* @example
|
101
|
-
* var element = <b>CKEDITOR.document.getById( 'myElement' )</b>;
|
102
|
-
* alert( element.getId() ); // "myElement"
|
103
|
-
*/
|
104
|
-
getById : function( elementId )
|
105
|
-
{
|
106
|
-
var $ = this.$.getElementById( elementId );
|
107
|
-
return $ ? new CKEDITOR.dom.element( $ ) : null;
|
108
|
-
},
|
109
|
-
|
110
|
-
getByAddress : function( address, normalized )
|
111
|
-
{
|
112
|
-
var $ = this.$.documentElement;
|
113
|
-
|
114
|
-
for ( var i = 0 ; $ && i < address.length ; i++ )
|
115
|
-
{
|
116
|
-
var target = address[ i ];
|
117
|
-
|
118
|
-
if ( !normalized )
|
119
|
-
{
|
120
|
-
$ = $.childNodes[ target ];
|
121
|
-
continue;
|
122
|
-
}
|
123
|
-
|
124
|
-
var currentIndex = -1;
|
125
|
-
|
126
|
-
for (var j = 0 ; j < $.childNodes.length ; j++ )
|
127
|
-
{
|
128
|
-
var candidate = $.childNodes[ j ];
|
129
|
-
|
130
|
-
if ( normalized === true &&
|
131
|
-
candidate.nodeType == 3 &&
|
132
|
-
candidate.previousSibling &&
|
133
|
-
candidate.previousSibling.nodeType == 3 )
|
134
|
-
{
|
135
|
-
continue;
|
136
|
-
}
|
137
|
-
|
138
|
-
currentIndex++;
|
139
|
-
|
140
|
-
if ( currentIndex == target )
|
141
|
-
{
|
142
|
-
$ = candidate;
|
143
|
-
break;
|
144
|
-
}
|
145
|
-
}
|
146
|
-
}
|
147
|
-
|
148
|
-
return $ ? new CKEDITOR.dom.node( $ ) : null;
|
149
|
-
},
|
150
|
-
|
151
|
-
getElementsByTag : function( tagName, namespace )
|
152
|
-
{
|
153
|
-
if ( !CKEDITOR.env.ie && namespace )
|
154
|
-
tagName = namespace + ':' + tagName;
|
155
|
-
return new CKEDITOR.dom.nodeList( this.$.getElementsByTagName( tagName ) );
|
156
|
-
},
|
157
|
-
|
158
|
-
/**
|
159
|
-
* Gets the <head> element for this document.
|
160
|
-
* @returns {CKEDITOR.dom.element} The <head> element.
|
161
|
-
* @example
|
162
|
-
* var element = <b>CKEDITOR.document.getHead()</b>;
|
163
|
-
* alert( element.getName() ); // "head"
|
164
|
-
*/
|
165
|
-
getHead : function()
|
166
|
-
{
|
167
|
-
var head = this.$.getElementsByTagName( 'head' )[0];
|
168
|
-
head = new CKEDITOR.dom.element( head );
|
169
|
-
|
170
|
-
return (
|
171
|
-
this.getHead = function()
|
172
|
-
{
|
173
|
-
return head;
|
174
|
-
})();
|
175
|
-
},
|
176
|
-
|
177
|
-
/**
|
178
|
-
* Gets the <body> element for this document.
|
179
|
-
* @returns {CKEDITOR.dom.element} The <body> element.
|
180
|
-
* @example
|
181
|
-
* var element = <b>CKEDITOR.document.getBody()</b>;
|
182
|
-
* alert( element.getName() ); // "body"
|
183
|
-
*/
|
184
|
-
getBody : function()
|
185
|
-
{
|
186
|
-
var body = new CKEDITOR.dom.element( this.$.body );
|
187
|
-
|
188
|
-
return (
|
189
|
-
this.getBody = function()
|
190
|
-
{
|
191
|
-
return body;
|
192
|
-
})();
|
193
|
-
},
|
194
|
-
|
195
|
-
/**
|
196
|
-
* Gets the DOM document element for this document.
|
197
|
-
* @returns {CKEDITOR.dom.element} The DOM document element.
|
198
|
-
*/
|
199
|
-
getDocumentElement : function()
|
200
|
-
{
|
201
|
-
var documentElement = new CKEDITOR.dom.element( this.$.documentElement );
|
202
|
-
|
203
|
-
return (
|
204
|
-
this.getDocumentElement = function()
|
205
|
-
{
|
206
|
-
return documentElement;
|
207
|
-
})();
|
208
|
-
},
|
209
|
-
|
210
|
-
/**
|
211
|
-
* Gets the window object that holds this document.
|
212
|
-
* @returns {CKEDITOR.dom.window} The window object.
|
213
|
-
*/
|
214
|
-
getWindow : function()
|
215
|
-
{
|
216
|
-
var win = new CKEDITOR.dom.window( this.$.parentWindow || this.$.defaultView );
|
217
|
-
|
218
|
-
return (
|
219
|
-
this.getWindow = function()
|
220
|
-
{
|
221
|
-
return win;
|
222
|
-
})();
|
223
|
-
}
|
224
|
-
});
|
@@ -1,49 +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
|
-
* DocumentFragment is a "lightweight" or "minimal" Document object. It is
|
7
|
-
* commonly used to extract a portion of a document's tree or to create a new
|
8
|
-
* fragment of a document. Various operations may take DocumentFragment objects
|
9
|
-
* as arguments and results in all the child nodes of the DocumentFragment being
|
10
|
-
* moved to the child list of this node.
|
11
|
-
*
|
12
|
-
* @param {Object} ownerDocument
|
13
|
-
*/
|
14
|
-
CKEDITOR.dom.documentFragment = function( ownerDocument )
|
15
|
-
{
|
16
|
-
ownerDocument = ownerDocument || CKEDITOR.document;
|
17
|
-
this.$ = ownerDocument.$.createDocumentFragment();
|
18
|
-
};
|
19
|
-
|
20
|
-
CKEDITOR.tools.extend( CKEDITOR.dom.documentFragment.prototype,
|
21
|
-
CKEDITOR.dom.element.prototype,
|
22
|
-
{
|
23
|
-
type : CKEDITOR.NODE_DOCUMENT_FRAGMENT,
|
24
|
-
insertAfterNode : function( node )
|
25
|
-
{
|
26
|
-
node = node.$;
|
27
|
-
node.parentNode.insertBefore( this.$, node.nextSibling );
|
28
|
-
}
|
29
|
-
},
|
30
|
-
true,
|
31
|
-
{
|
32
|
-
'append' : 1,
|
33
|
-
'appendBogus' : 1,
|
34
|
-
'getFirst' : 1,
|
35
|
-
'getLast' : 1,
|
36
|
-
'appendTo' : 1,
|
37
|
-
'moveChildren' : 1,
|
38
|
-
'insertBefore' : 1,
|
39
|
-
'insertAfterNode' : 1,
|
40
|
-
'replace' : 1,
|
41
|
-
'trim' : 1,
|
42
|
-
'type' : 1,
|
43
|
-
'ltrim' : 1,
|
44
|
-
'rtrim' : 1,
|
45
|
-
'getDocument' : 1,
|
46
|
-
'getChildCount' : 1,
|
47
|
-
'getChild' : 1,
|
48
|
-
'getChildren' : 1
|
49
|
-
} );
|
@@ -1,251 +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
|
-
/**
|
7
|
-
* @fileOverview Defines the {@link CKEDITOR.editor} class, which is the base
|
8
|
-
* for other classes representing DOM objects.
|
9
|
-
*/
|
10
|
-
|
11
|
-
/**
|
12
|
-
* Represents a DOM object. This class is not intended to be used directly. It
|
13
|
-
* serves as the base class for other classes representing specific DOM
|
14
|
-
* objects.
|
15
|
-
* @constructor
|
16
|
-
* @param {Object} nativeDomObject A native DOM object.
|
17
|
-
* @augments CKEDITOR.event
|
18
|
-
* @example
|
19
|
-
*/
|
20
|
-
CKEDITOR.dom.domObject = function( nativeDomObject )
|
21
|
-
{
|
22
|
-
if ( nativeDomObject )
|
23
|
-
{
|
24
|
-
/**
|
25
|
-
* The native DOM object represented by this class instance.
|
26
|
-
* @type Object
|
27
|
-
* @example
|
28
|
-
* var element = new CKEDITOR.dom.element( 'span' );
|
29
|
-
* alert( element.$.nodeType ); // "1"
|
30
|
-
*/
|
31
|
-
this.$ = nativeDomObject;
|
32
|
-
}
|
33
|
-
};
|
34
|
-
|
35
|
-
CKEDITOR.dom.domObject.prototype = (function()
|
36
|
-
{
|
37
|
-
// Do not define other local variables here. We want to keep the native
|
38
|
-
// listener closures as clean as possible.
|
39
|
-
|
40
|
-
var getNativeListener = function( domObject, eventName )
|
41
|
-
{
|
42
|
-
return function( domEvent )
|
43
|
-
{
|
44
|
-
// In FF, when reloading the page with the editor focused, it may
|
45
|
-
// throw an error because the CKEDITOR global is not anymore
|
46
|
-
// available. So, we check it here first. (#2923)
|
47
|
-
if ( typeof CKEDITOR != 'undefined' )
|
48
|
-
domObject.fire( eventName, new CKEDITOR.dom.event( domEvent ) );
|
49
|
-
};
|
50
|
-
};
|
51
|
-
|
52
|
-
return /** @lends CKEDITOR.dom.domObject.prototype */ {
|
53
|
-
|
54
|
-
getPrivate : function()
|
55
|
-
{
|
56
|
-
var priv;
|
57
|
-
|
58
|
-
// Get the main private function from the custom data. Create it if not
|
59
|
-
// defined.
|
60
|
-
if ( !( priv = this.getCustomData( '_' ) ) )
|
61
|
-
this.setCustomData( '_', ( priv = {} ) );
|
62
|
-
|
63
|
-
return priv;
|
64
|
-
},
|
65
|
-
|
66
|
-
/** @ignore */
|
67
|
-
on : function( eventName )
|
68
|
-
{
|
69
|
-
// We customize the "on" function here. The basic idea is that we'll have
|
70
|
-
// only one listener for a native event, which will then call all listeners
|
71
|
-
// set to the event.
|
72
|
-
|
73
|
-
// Get the listeners holder object.
|
74
|
-
var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
|
75
|
-
|
76
|
-
if ( !nativeListeners )
|
77
|
-
{
|
78
|
-
nativeListeners = {};
|
79
|
-
this.setCustomData( '_cke_nativeListeners', nativeListeners );
|
80
|
-
}
|
81
|
-
|
82
|
-
// Check if we have a listener for that event.
|
83
|
-
if ( !nativeListeners[ eventName ] )
|
84
|
-
{
|
85
|
-
var listener = nativeListeners[ eventName ] = getNativeListener( this, eventName );
|
86
|
-
|
87
|
-
if ( this.$.addEventListener )
|
88
|
-
this.$.addEventListener( eventName, listener, !!CKEDITOR.event.useCapture );
|
89
|
-
else if ( this.$.attachEvent )
|
90
|
-
this.$.attachEvent( 'on' + eventName, listener );
|
91
|
-
}
|
92
|
-
|
93
|
-
// Call the original implementation.
|
94
|
-
return CKEDITOR.event.prototype.on.apply( this, arguments );
|
95
|
-
},
|
96
|
-
|
97
|
-
/** @ignore */
|
98
|
-
removeListener : function( eventName )
|
99
|
-
{
|
100
|
-
// Call the original implementation.
|
101
|
-
CKEDITOR.event.prototype.removeListener.apply( this, arguments );
|
102
|
-
|
103
|
-
// If we don't have listeners for this event, clean the DOM up.
|
104
|
-
if ( !this.hasListeners( eventName ) )
|
105
|
-
{
|
106
|
-
var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
|
107
|
-
var listener = nativeListeners && nativeListeners[ eventName ];
|
108
|
-
if ( listener )
|
109
|
-
{
|
110
|
-
if ( this.$.removeEventListener )
|
111
|
-
this.$.removeEventListener( eventName, listener, false );
|
112
|
-
else if ( this.$.detachEvent )
|
113
|
-
this.$.detachEvent( 'on' + eventName, listener );
|
114
|
-
|
115
|
-
delete nativeListeners[ eventName ];
|
116
|
-
}
|
117
|
-
}
|
118
|
-
},
|
119
|
-
|
120
|
-
/**
|
121
|
-
* Removes any listener set on this object.
|
122
|
-
* To avoid memory leaks we must assure that there are no
|
123
|
-
* references left after the object is no longer needed.
|
124
|
-
*/
|
125
|
-
removeAllListeners : function()
|
126
|
-
{
|
127
|
-
var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
|
128
|
-
for ( var eventName in nativeListeners )
|
129
|
-
{
|
130
|
-
var listener = nativeListeners[ eventName ];
|
131
|
-
if ( this.$.removeEventListener )
|
132
|
-
this.$.removeEventListener( eventName, listener, false );
|
133
|
-
else if ( this.$.detachEvent )
|
134
|
-
this.$.detachEvent( 'on' + eventName, listener );
|
135
|
-
|
136
|
-
delete nativeListeners[ eventName ];
|
137
|
-
}
|
138
|
-
}
|
139
|
-
};
|
140
|
-
})();
|
141
|
-
|
142
|
-
(function( domObjectProto )
|
143
|
-
{
|
144
|
-
var customData = {};
|
145
|
-
|
146
|
-
CKEDITOR.on( 'reset', function()
|
147
|
-
{
|
148
|
-
customData = {};
|
149
|
-
});
|
150
|
-
|
151
|
-
/**
|
152
|
-
* Determines whether the specified object is equal to the current object.
|
153
|
-
* @name CKEDITOR.dom.domObject.prototype.equals
|
154
|
-
* @function
|
155
|
-
* @param {Object} object The object to compare with the current object.
|
156
|
-
* @returns {Boolean} "true" if the object is equal.
|
157
|
-
* @example
|
158
|
-
* var doc = new CKEDITOR.dom.document( document );
|
159
|
-
* alert( doc.equals( CKEDITOR.document ) ); // "true"
|
160
|
-
* alert( doc == CKEDITOR.document ); // "false"
|
161
|
-
*/
|
162
|
-
domObjectProto.equals = function( object )
|
163
|
-
{
|
164
|
-
return ( object && object.$ === this.$ );
|
165
|
-
};
|
166
|
-
|
167
|
-
/**
|
168
|
-
* Sets a data slot value for this object. These values are shared by all
|
169
|
-
* instances pointing to that same DOM object.
|
170
|
-
* @name CKEDITOR.dom.domObject.prototype.setCustomData
|
171
|
-
* @function
|
172
|
-
* @param {String} key A key used to identify the data slot.
|
173
|
-
* @param {Object} value The value to set to the data slot.
|
174
|
-
* @returns {CKEDITOR.dom.domObject} This DOM object instance.
|
175
|
-
* @see CKEDITOR.dom.domObject.prototype.getCustomData
|
176
|
-
* @example
|
177
|
-
* var element = new CKEDITOR.dom.element( 'span' );
|
178
|
-
* element.setCustomData( 'hasCustomData', true );
|
179
|
-
*/
|
180
|
-
domObjectProto.setCustomData = function( key, value )
|
181
|
-
{
|
182
|
-
var expandoNumber = this.getUniqueId(),
|
183
|
-
dataSlot = customData[ expandoNumber ] || ( customData[ expandoNumber ] = {} );
|
184
|
-
|
185
|
-
dataSlot[ key ] = value;
|
186
|
-
|
187
|
-
return this;
|
188
|
-
};
|
189
|
-
|
190
|
-
/**
|
191
|
-
* Gets the value set to a data slot in this object.
|
192
|
-
* @name CKEDITOR.dom.domObject.prototype.getCustomData
|
193
|
-
* @function
|
194
|
-
* @param {String} key The key used to identify the data slot.
|
195
|
-
* @returns {Object} This value set to the data slot.
|
196
|
-
* @see CKEDITOR.dom.domObject.prototype.setCustomData
|
197
|
-
* @example
|
198
|
-
* var element = new CKEDITOR.dom.element( 'span' );
|
199
|
-
* alert( element.getCustomData( 'hasCustomData' ) ); // e.g. 'true'
|
200
|
-
*/
|
201
|
-
domObjectProto.getCustomData = function( key )
|
202
|
-
{
|
203
|
-
var expandoNumber = this.$._cke_expando,
|
204
|
-
dataSlot = expandoNumber && customData[ expandoNumber ];
|
205
|
-
|
206
|
-
return dataSlot && dataSlot[ key ];
|
207
|
-
};
|
208
|
-
|
209
|
-
/**
|
210
|
-
* @name CKEDITOR.dom.domObject.prototype.removeCustomData
|
211
|
-
*/
|
212
|
-
domObjectProto.removeCustomData = function( key )
|
213
|
-
{
|
214
|
-
var expandoNumber = this.$._cke_expando,
|
215
|
-
dataSlot = expandoNumber && customData[ expandoNumber ],
|
216
|
-
retval = dataSlot && dataSlot[ key ];
|
217
|
-
|
218
|
-
if ( typeof retval != 'undefined' )
|
219
|
-
delete dataSlot[ key ];
|
220
|
-
|
221
|
-
return retval || null;
|
222
|
-
};
|
223
|
-
|
224
|
-
/**
|
225
|
-
* Removes any data stored on this object.
|
226
|
-
* To avoid memory leaks we must assure that there are no
|
227
|
-
* references left after the object is no longer needed.
|
228
|
-
* @name CKEDITOR.dom.domObject.prototype.clearCustomData
|
229
|
-
* @function
|
230
|
-
*/
|
231
|
-
domObjectProto.clearCustomData = function()
|
232
|
-
{
|
233
|
-
// Clear all event listeners
|
234
|
-
this.removeAllListeners();
|
235
|
-
|
236
|
-
var expandoNumber = this.$._cke_expando;
|
237
|
-
expandoNumber && delete customData[ expandoNumber ];
|
238
|
-
};
|
239
|
-
|
240
|
-
/**
|
241
|
-
* @name CKEDITOR.dom.domObject.prototype.getCustomData
|
242
|
-
*/
|
243
|
-
domObjectProto.getUniqueId = function()
|
244
|
-
{
|
245
|
-
return this.$._cke_expando || ( this.$._cke_expando = CKEDITOR.tools.getNextNumber() );
|
246
|
-
};
|
247
|
-
|
248
|
-
// Implement CKEDITOR.event.
|
249
|
-
CKEDITOR.event.implementOn( domObjectProto );
|
250
|
-
|
251
|
-
})( CKEDITOR.dom.domObject.prototype );
|