inline_forms 0.9.25 → 1.0.0
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.
- data/VERSION +1 -1
- data/{public/images/css → app/assets/images}/close.png +0 -0
- data/{public → app/assets}/images/glass_plate.gif +0 -0
- data/{public → app/assets}/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
- data/{public → app/assets}/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/{public → app/assets}/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/{public → app/assets}/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
- data/{public → app/assets}/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
- data/{public → app/assets}/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
- data/{public → app/assets}/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
- data/{public → app/assets}/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
- data/{public → app/assets}/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
- data/{public → app/assets}/images/ui-icons_3d3d3d_256x240.png +0 -0
- data/{public → app/assets}/images/ui-icons_bd7b00_256x240.png +0 -0
- data/{public → app/assets}/images/ui-icons_d19405_256x240.png +0 -0
- data/{public → app/assets}/images/ui-icons_eb990f_256x240.png +0 -0
- data/{public → app/assets}/images/ui-icons_ed9f26_256x240.png +0 -0
- data/{public → app/assets}/images/ui-icons_fadc7a_256x240.png +0 -0
- data/{public → app/assets}/images/ui-icons_ffe180_256x240.png +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/jquery-ui.js +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/jquery-ui.min.js +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/jquery.form.js +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/jquery.js +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/jquery.min.js +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/jquery.remotipart.js +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/jquery_ujs.js +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/rails.js +0 -0
- data/{public/javascripts → app/assets/javascripts/old}/slider.js +0 -0
- data/{public → app/assets}/stylesheets/devise.css +0 -0
- data/{public → app/assets}/stylesheets/inline_forms.css +0 -0
- data/{public → app/assets}/stylesheets/jquery-ui-sunny.css +0 -0
- data/inline_forms.gemspec +31 -702
- metadata +34 -705
- data/public/javascripts/application.js +0 -2
- data/public/javascripts/ckeditor/.htaccess +0 -24
- data/public/javascripts/ckeditor/CHANGES.html +0 -1295
- data/public/javascripts/ckeditor/INSTALL.html +0 -92
- data/public/javascripts/ckeditor/LICENSE.html +0 -1334
- data/public/javascripts/ckeditor/_samples/adobeair/application.xml +0 -32
- data/public/javascripts/ckeditor/_samples/adobeair/run.bat +0 -9
- data/public/javascripts/ckeditor/_samples/adobeair/run.sh +0 -8
- data/public/javascripts/ckeditor/_samples/adobeair/sample.html +0 -45
- data/public/javascripts/ckeditor/_samples/ajax.html +0 -98
- data/public/javascripts/ckeditor/_samples/api.html +0 -192
- data/public/javascripts/ckeditor/_samples/api_dialog.html +0 -198
- data/public/javascripts/ckeditor/_samples/api_dialog/my_dialog.js +0 -28
- data/public/javascripts/ckeditor/_samples/asp/index.html +0 -103
- data/public/javascripts/ckeditor/_samples/assets/output_for_flash.fla +0 -0
- data/public/javascripts/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/public/javascripts/ckeditor/_samples/assets/output_xhtml.css +0 -204
- data/public/javascripts/ckeditor/_samples/assets/parsesample.css +0 -70
- data/public/javascripts/ckeditor/_samples/assets/swfobject.js +0 -18
- data/public/javascripts/ckeditor/_samples/autogrow.html +0 -103
- data/public/javascripts/ckeditor/_samples/bbcode.html +0 -136
- data/public/javascripts/ckeditor/_samples/devtools.html +0 -94
- data/public/javascripts/ckeditor/_samples/divreplace.html +0 -154
- data/public/javascripts/ckeditor/_samples/enterkey.html +0 -115
- data/public/javascripts/ckeditor/_samples/fullpage.html +0 -82
- data/public/javascripts/ckeditor/_samples/index.html +0 -116
- data/public/javascripts/ckeditor/_samples/jqueryadapter.html +0 -99
- data/public/javascripts/ckeditor/_samples/output_for_flash.html +0 -275
- data/public/javascripts/ckeditor/_samples/output_html.html +0 -285
- data/public/javascripts/ckeditor/_samples/output_xhtml.html +0 -181
- data/public/javascripts/ckeditor/_samples/php/index.html +0 -47
- data/public/javascripts/ckeditor/_samples/placeholder.html +0 -81
- data/public/javascripts/ckeditor/_samples/readonly.html +0 -91
- data/public/javascripts/ckeditor/_samples/replacebyclass.html +0 -64
- data/public/javascripts/ckeditor/_samples/replacebycode.html +0 -97
- data/public/javascripts/ckeditor/_samples/sample.css +0 -163
- data/public/javascripts/ckeditor/_samples/sample.js +0 -65
- data/public/javascripts/ckeditor/_samples/sharedspaces.html +0 -153
- data/public/javascripts/ckeditor/_samples/skins.html +0 -110
- data/public/javascripts/ckeditor/_samples/stylesheetparser.html +0 -93
- data/public/javascripts/ckeditor/_samples/tableresize.html +0 -115
- data/public/javascripts/ckeditor/_samples/ui_color.html +0 -129
- data/public/javascripts/ckeditor/_samples/ui_languages.html +0 -134
- data/public/javascripts/ckeditor/_source/adapters/jquery.js +0 -306
- data/public/javascripts/ckeditor/_source/core/_bootstrap.js +0 -87
- data/public/javascripts/ckeditor/_source/core/ckeditor.js +0 -141
- data/public/javascripts/ckeditor/_source/core/ckeditor_base.js +0 -227
- data/public/javascripts/ckeditor/_source/core/ckeditor_basic.js +0 -238
- data/public/javascripts/ckeditor/_source/core/command.js +0 -209
- data/public/javascripts/ckeditor/_source/core/commanddefinition.js +0 -129
- data/public/javascripts/ckeditor/_source/core/config.js +0 -431
- data/public/javascripts/ckeditor/_source/core/dataprocessor.js +0 -65
- data/public/javascripts/ckeditor/_source/core/dom.js +0 -20
- data/public/javascripts/ckeditor/_source/core/dom/comment.js +0 -32
- data/public/javascripts/ckeditor/_source/core/dom/document.js +0 -251
- data/public/javascripts/ckeditor/_source/core/dom/documentfragment.js +0 -49
- data/public/javascripts/ckeditor/_source/core/dom/domobject.js +0 -258
- data/public/javascripts/ckeditor/_source/core/dom/element.js +0 -1663
- data/public/javascripts/ckeditor/_source/core/dom/elementpath.js +0 -119
- data/public/javascripts/ckeditor/_source/core/dom/event.js +0 -142
- data/public/javascripts/ckeditor/_source/core/dom/node.js +0 -690
- data/public/javascripts/ckeditor/_source/core/dom/nodelist.js +0 -26
- data/public/javascripts/ckeditor/_source/core/dom/range.js +0 -2032
- data/public/javascripts/ckeditor/_source/core/dom/rangelist.js +0 -213
- data/public/javascripts/ckeditor/_source/core/dom/text.js +0 -128
- data/public/javascripts/ckeditor/_source/core/dom/walker.js +0 -462
- data/public/javascripts/ckeditor/_source/core/dom/window.js +0 -96
- data/public/javascripts/ckeditor/_source/core/dtd.js +0 -237
- data/public/javascripts/ckeditor/_source/core/editor.js +0 -1041
- data/public/javascripts/ckeditor/_source/core/editor_basic.js +0 -186
- data/public/javascripts/ckeditor/_source/core/env.js +0 -282
- data/public/javascripts/ckeditor/_source/core/event.js +0 -342
- data/public/javascripts/ckeditor/_source/core/eventInfo.js +0 -120
- data/public/javascripts/ckeditor/_source/core/focusmanager.js +0 -152
- data/public/javascripts/ckeditor/_source/core/htmlparser.js +0 -224
- data/public/javascripts/ckeditor/_source/core/htmlparser/basicwriter.js +0 -145
- data/public/javascripts/ckeditor/_source/core/htmlparser/cdata.js +0 -43
- data/public/javascripts/ckeditor/_source/core/htmlparser/comment.js +0 -60
- data/public/javascripts/ckeditor/_source/core/htmlparser/element.js +0 -249
- data/public/javascripts/ckeditor/_source/core/htmlparser/filter.js +0 -288
- data/public/javascripts/ckeditor/_source/core/htmlparser/fragment.js +0 -492
- data/public/javascripts/ckeditor/_source/core/htmlparser/text.js +0 -55
- data/public/javascripts/ckeditor/_source/core/lang.js +0 -157
- data/public/javascripts/ckeditor/_source/core/loader.js +0 -240
- data/public/javascripts/ckeditor/_source/core/plugindefinition.js +0 -83
- data/public/javascripts/ckeditor/_source/core/plugins.js +0 -103
- data/public/javascripts/ckeditor/_source/core/resourcemanager.js +0 -238
- data/public/javascripts/ckeditor/_source/core/scriptloader.js +0 -180
- data/public/javascripts/ckeditor/_source/core/skins.js +0 -184
- data/public/javascripts/ckeditor/_source/core/themes.js +0 -19
- data/public/javascripts/ckeditor/_source/core/tools.js +0 -734
- data/public/javascripts/ckeditor/_source/core/ui.js +0 -128
- data/public/javascripts/ckeditor/_source/lang/_languages.js +0 -84
- data/public/javascripts/ckeditor/_source/lang/_translationstatus.txt +0 -61
- data/public/javascripts/ckeditor/_source/lang/af.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/ar.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/bg.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/bn.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/bs.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/ca.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/cs.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/cy.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/da.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/de.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/el.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/en-au.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/en-ca.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/en-gb.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/en.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/eo.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/es.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/et.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/eu.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/fa.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/fi.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/fo.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/fr-ca.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/fr.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/gl.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/gu.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/he.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/hi.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/hr.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/hu.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/is.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/it.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/ja.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/ka.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/km.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/ko.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/lt.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/lv.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/mn.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/ms.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/nb.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/nl.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/no.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/pl.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/pt-br.js +0 -809
- data/public/javascripts/ckeditor/_source/lang/pt.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/ro.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/ru.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/sk.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/sl.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/sr-latn.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/sr.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/sv.js +0 -809
- data/public/javascripts/ckeditor/_source/lang/th.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/tr.js +0 -809
- data/public/javascripts/ckeditor/_source/lang/uk.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/vi.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/zh-cn.js +0 -810
- data/public/javascripts/ckeditor/_source/lang/zh.js +0 -810
- data/public/javascripts/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -222
- data/public/javascripts/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -108
- data/public/javascripts/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -216
- data/public/javascripts/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -47
- data/public/javascripts/ckeditor/_source/plugins/about/dialogs/about.js +0 -76
- data/public/javascripts/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/about/plugin.js +0 -24
- data/public/javascripts/ckeditor/_source/plugins/adobeair/plugin.js +0 -228
- data/public/javascripts/ckeditor/_source/plugins/ajax/plugin.js +0 -152
- data/public/javascripts/ckeditor/_source/plugins/attachment/dialogs/attachment.js +0 -384
- data/public/javascripts/ckeditor/_source/plugins/attachment/images/attachment.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/attachment/lang/en.js +0 -10
- data/public/javascripts/ckeditor/_source/plugins/attachment/lang/ru.js +0 -10
- data/public/javascripts/ckeditor/_source/plugins/attachment/lang/uk.js +0 -10
- data/public/javascripts/ckeditor/_source/plugins/attachment/plugin.js +0 -44
- data/public/javascripts/ckeditor/_source/plugins/autogrow/plugin.js +0 -88
- data/public/javascripts/ckeditor/_source/plugins/basicstyles/plugin.js +0 -101
- data/public/javascripts/ckeditor/_source/plugins/bbcode/plugin.js +0 -924
- data/public/javascripts/ckeditor/_source/plugins/bidi/plugin.js +0 -331
- data/public/javascripts/ckeditor/_source/plugins/blockquote/plugin.js +0 -305
- data/public/javascripts/ckeditor/_source/plugins/button/plugin.js +0 -285
- data/public/javascripts/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -223
- data/public/javascripts/ckeditor/_source/plugins/clipboard/plugin.js +0 -446
- data/public/javascripts/ckeditor/_source/plugins/colorbutton/plugin.js +0 -295
- data/public/javascripts/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -340
- data/public/javascripts/ckeditor/_source/plugins/colordialog/plugin.js +0 -15
- data/public/javascripts/ckeditor/_source/plugins/contextmenu/plugin.js +0 -177
- data/public/javascripts/ckeditor/_source/plugins/devtools/lang/en.js +0 -16
- data/public/javascripts/ckeditor/_source/plugins/devtools/plugin.js +0 -173
- data/public/javascripts/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -1099
- data/public/javascripts/ckeditor/_source/plugins/dialog/plugin.js +0 -3235
- data/public/javascripts/ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -205
- data/public/javascripts/ckeditor/_source/plugins/dialogui/plugin.js +0 -1537
- data/public/javascripts/ckeditor/_source/plugins/div/dialogs/div.js +0 -535
- data/public/javascripts/ckeditor/_source/plugins/div/plugin.js +0 -121
- data/public/javascripts/ckeditor/_source/plugins/docprops/dialogs/docprops.js +0 -686
- data/public/javascripts/ckeditor/_source/plugins/docprops/plugin.js +0 -22
- data/public/javascripts/ckeditor/_source/plugins/domiterator/plugin.js +0 -361
- data/public/javascripts/ckeditor/_source/plugins/editingblock/plugin.js +0 -269
- data/public/javascripts/ckeditor/_source/plugins/elementspath/plugin.js +0 -218
- data/public/javascripts/ckeditor/_source/plugins/embed/dialogs/embed.js +0 -65
- data/public/javascripts/ckeditor/_source/plugins/embed/images/embed.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/embed/lang/en.js +0 -9
- data/public/javascripts/ckeditor/_source/plugins/embed/lang/ru.js +0 -9
- data/public/javascripts/ckeditor/_source/plugins/embed/lang/uk.js +0 -9
- data/public/javascripts/ckeditor/_source/plugins/embed/plugin.js +0 -43
- data/public/javascripts/ckeditor/_source/plugins/enterkey/plugin.js +0 -399
- data/public/javascripts/ckeditor/_source/plugins/entities/plugin.js +0 -250
- data/public/javascripts/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -126
- data/public/javascripts/ckeditor/_source/plugins/filebrowser/plugin.js +0 -524
- data/public/javascripts/ckeditor/_source/plugins/find/dialogs/find.js +0 -895
- data/public/javascripts/ckeditor/_source/plugins/find/plugin.js +0 -47
- data/public/javascripts/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -698
- data/public/javascripts/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/flash/plugin.js +0 -168
- data/public/javascripts/ckeditor/_source/plugins/floatpanel/plugin.js +0 -405
- data/public/javascripts/ckeditor/_source/plugins/font/plugin.js +0 -234
- data/public/javascripts/ckeditor/_source/plugins/format/plugin.js +0 -197
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/button.js +0 -118
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -153
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/form.js +0 -177
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -100
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -135
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/select.js +0 -562
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -114
- data/public/javascripts/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -199
- data/public/javascripts/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/forms/plugin.js +0 -288
- data/public/javascripts/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -36
- data/public/javascripts/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -595
- data/public/javascripts/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -319
- data/public/javascripts/ckeditor/_source/plugins/iframe/dialogs/iframe.js +0 -257
- data/public/javascripts/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/iframe/plugin.js +0 -106
- data/public/javascripts/ckeditor/_source/plugins/iframedialog/plugin.js +0 -188
- data/public/javascripts/ckeditor/_source/plugins/image/dialogs/image.js +0 -1403
- data/public/javascripts/ckeditor/_source/plugins/image/plugin.js +0 -81
- data/public/javascripts/ckeditor/_source/plugins/indent/plugin.js +0 -461
- data/public/javascripts/ckeditor/_source/plugins/justify/plugin.js +0 -253
- data/public/javascripts/ckeditor/_source/plugins/keystrokes/plugin.js +0 -225
- data/public/javascripts/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -144
- data/public/javascripts/ckeditor/_source/plugins/link/dialogs/link.js +0 -1400
- data/public/javascripts/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/link/plugin.js +0 -336
- data/public/javascripts/ckeditor/_source/plugins/list/plugin.js +0 -727
- data/public/javascripts/ckeditor/_source/plugins/listblock/plugin.js +0 -257
- data/public/javascripts/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -204
- data/public/javascripts/ckeditor/_source/plugins/liststyle/plugin.js +0 -66
- data/public/javascripts/ckeditor/_source/plugins/maximize/plugin.js +0 -352
- data/public/javascripts/ckeditor/_source/plugins/menu/plugin.js +0 -505
- data/public/javascripts/ckeditor/_source/plugins/menubutton/plugin.js +0 -98
- data/public/javascripts/ckeditor/_source/plugins/newpage/plugin.js +0 -54
- data/public/javascripts/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/pagebreak/plugin.js +0 -164
- data/public/javascripts/ckeditor/_source/plugins/panel/plugin.js +0 -402
- data/public/javascripts/ckeditor/_source/plugins/panelbutton/plugin.js +0 -146
- data/public/javascripts/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -1376
- data/public/javascripts/ckeditor/_source/plugins/pastefromword/plugin.js +0 -141
- data/public/javascripts/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -67
- data/public/javascripts/ckeditor/_source/plugins/pastetext/plugin.js +0 -98
- data/public/javascripts/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +0 -71
- data/public/javascripts/ckeditor/_source/plugins/placeholder/lang/en.js +0 -16
- data/public/javascripts/ckeditor/_source/plugins/placeholder/lang/he.js +0 -16
- data/public/javascripts/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/placeholder/plugin.js +0 -171
- data/public/javascripts/ckeditor/_source/plugins/popup/plugin.js +0 -64
- data/public/javascripts/ckeditor/_source/plugins/preview/plugin.js +0 -109
- data/public/javascripts/ckeditor/_source/plugins/print/plugin.js +0 -42
- data/public/javascripts/ckeditor/_source/plugins/removeformat/plugin.js +0 -185
- data/public/javascripts/ckeditor/_source/plugins/resize/plugin.js +0 -168
- data/public/javascripts/ckeditor/_source/plugins/richcombo/plugin.js +0 -378
- data/public/javascripts/ckeditor/_source/plugins/save/plugin.js +0 -56
- data/public/javascripts/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -537
- data/public/javascripts/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -71
- data/public/javascripts/ckeditor/_source/plugins/scayt/plugin.js +0 -964
- data/public/javascripts/ckeditor/_source/plugins/selection/plugin.js +0 -1563
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/showblocks/plugin.js +0 -160
- data/public/javascripts/ckeditor/_source/plugins/showborders/plugin.js +0 -207
- data/public/javascripts/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -224
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/smiley/plugin.js +0 -94
- data/public/javascripts/ckeditor/_source/plugins/sourcearea/plugin.js +0 -209
- data/public/javascripts/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -350
- data/public/javascripts/ckeditor/_source/plugins/specialchar/lang/en.js +0 -89
- data/public/javascripts/ckeditor/_source/plugins/specialchar/plugin.js +0 -70
- data/public/javascripts/ckeditor/_source/plugins/styles/plugin.js +0 -1678
- data/public/javascripts/ckeditor/_source/plugins/styles/styles/default.js +0 -88
- data/public/javascripts/ckeditor/_source/plugins/stylescombo/plugin.js +0 -219
- data/public/javascripts/ckeditor/_source/plugins/stylesheetparser/plugin.js +0 -143
- data/public/javascripts/ckeditor/_source/plugins/tab/plugin.js +0 -367
- data/public/javascripts/ckeditor/_source/plugins/table/dialogs/table.js +0 -672
- data/public/javascripts/ckeditor/_source/plugins/table/plugin.js +0 -78
- data/public/javascripts/ckeditor/_source/plugins/tableresize/plugin.js +0 -450
- data/public/javascripts/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -525
- data/public/javascripts/ckeditor/_source/plugins/tabletools/plugin.js +0 -1191
- data/public/javascripts/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -234
- data/public/javascripts/ckeditor/_source/plugins/templates/plugin.js +0 -99
- data/public/javascripts/ckeditor/_source/plugins/templates/templates/default.js +0 -94
- data/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/toolbar/plugin.js +0 -545
- data/public/javascripts/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -205
- data/public/javascripts/ckeditor/_source/plugins/uicolor/lang/en.js +0 -15
- data/public/javascripts/ckeditor/_source/plugins/uicolor/lang/he.js +0 -15
- data/public/javascripts/ckeditor/_source/plugins/uicolor/plugin.js +0 -37
- data/public/javascripts/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -15
- data/public/javascripts/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -71
- data/public/javascripts/ckeditor/_source/plugins/undo/plugin.js +0 -580
- data/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -49
- data/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -82
- data/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -192
- data/public/javascripts/ckeditor/_source/plugins/wsc/plugin.js +0 -33
- data/public/javascripts/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -1351
- data/public/javascripts/ckeditor/_source/plugins/xml/plugin.js +0 -170
- data/public/javascripts/ckeditor/_source/skins/kama/dialog.css +0 -920
- data/public/javascripts/ckeditor/_source/skins/kama/editor.css +0 -25
- data/public/javascripts/ckeditor/_source/skins/kama/elementspath.css +0 -73
- data/public/javascripts/ckeditor/_source/skins/kama/icons.css +0 -366
- data/public/javascripts/ckeditor/_source/skins/kama/icons.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/kama/mainui.css +0 -203
- data/public/javascripts/ckeditor/_source/skins/kama/menu.css +0 -232
- data/public/javascripts/ckeditor/_source/skins/kama/panel.css +0 -217
- data/public/javascripts/ckeditor/_source/skins/kama/presets.css +0 -49
- data/public/javascripts/ckeditor/_source/skins/kama/reset.css +0 -84
- data/public/javascripts/ckeditor/_source/skins/kama/richcombo.css +0 -287
- data/public/javascripts/ckeditor/_source/skins/kama/skin.js +0 -236
- data/public/javascripts/ckeditor/_source/skins/kama/templates.css +0 -88
- data/public/javascripts/ckeditor/_source/skins/kama/toolbar.css +0 -407
- data/public/javascripts/ckeditor/_source/skins/office2003/dialog.css +0 -826
- data/public/javascripts/ckeditor/_source/skins/office2003/editor.css +0 -25
- data/public/javascripts/ckeditor/_source/skins/office2003/elementspath.css +0 -74
- data/public/javascripts/ckeditor/_source/skins/office2003/icons.css +0 -363
- data/public/javascripts/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/office2003/mainui.css +0 -153
- data/public/javascripts/ckeditor/_source/skins/office2003/menu.css +0 -229
- data/public/javascripts/ckeditor/_source/skins/office2003/panel.css +0 -212
- data/public/javascripts/ckeditor/_source/skins/office2003/presets.css +0 -49
- data/public/javascripts/ckeditor/_source/skins/office2003/reset.css +0 -84
- data/public/javascripts/ckeditor/_source/skins/office2003/richcombo.css +0 -309
- data/public/javascripts/ckeditor/_source/skins/office2003/skin.js +0 -74
- data/public/javascripts/ckeditor/_source/skins/office2003/templates.css +0 -87
- data/public/javascripts/ckeditor/_source/skins/office2003/toolbar.css +0 -522
- data/public/javascripts/ckeditor/_source/skins/v2/dialog.css +0 -842
- data/public/javascripts/ckeditor/_source/skins/v2/editor.css +0 -25
- data/public/javascripts/ckeditor/_source/skins/v2/elementspath.css +0 -74
- data/public/javascripts/ckeditor/_source/skins/v2/icons.css +0 -363
- data/public/javascripts/ckeditor/_source/skins/v2/icons.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/_source/skins/v2/mainui.css +0 -162
- data/public/javascripts/ckeditor/_source/skins/v2/menu.css +0 -232
- data/public/javascripts/ckeditor/_source/skins/v2/panel.css +0 -212
- data/public/javascripts/ckeditor/_source/skins/v2/presets.css +0 -50
- data/public/javascripts/ckeditor/_source/skins/v2/reset.css +0 -84
- data/public/javascripts/ckeditor/_source/skins/v2/richcombo.css +0 -302
- data/public/javascripts/ckeditor/_source/skins/v2/skin.js +0 -70
- data/public/javascripts/ckeditor/_source/skins/v2/templates.css +0 -87
- data/public/javascripts/ckeditor/_source/skins/v2/toolbar.css +0 -465
- data/public/javascripts/ckeditor/_source/themes/default/theme.js +0 -394
- data/public/javascripts/ckeditor/adapters/jquery.js +0 -6
- data/public/javascripts/ckeditor/ckeditor.js +0 -145
- data/public/javascripts/ckeditor/ckeditor.pack +0 -211
- data/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
- data/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
- data/public/javascripts/ckeditor/ckeditor_source.js +0 -25
- data/public/javascripts/ckeditor/config.js +0 -28
- data/public/javascripts/ckeditor/contents.css +0 -23
- data/public/javascripts/ckeditor/css/ckfinder.css +0 -316
- data/public/javascripts/ckeditor/css/fck_dialog.css +0 -119
- data/public/javascripts/ckeditor/css/fck_editor.css +0 -448
- data/public/javascripts/ckeditor/css/swfupload.css +0 -94
- data/public/javascripts/ckeditor/images/add.gif +0 -0
- data/public/javascripts/ckeditor/images/cancelbutton.gif +0 -0
- data/public/javascripts/ckeditor/images/ckfnothumb.gif +0 -0
- data/public/javascripts/ckeditor/images/doc.gif +0 -0
- data/public/javascripts/ckeditor/images/mp3.gif +0 -0
- data/public/javascripts/ckeditor/images/pdf.gif +0 -0
- data/public/javascripts/ckeditor/images/rar.gif +0 -0
- data/public/javascripts/ckeditor/images/refresh.gif +0 -0
- data/public/javascripts/ckeditor/images/select_files.png +0 -0
- data/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/public/javascripts/ckeditor/images/swf.gif +0 -0
- data/public/javascripts/ckeditor/images/toolbar.start.gif +0 -0
- data/public/javascripts/ckeditor/images/xls.gif +0 -0
- data/public/javascripts/ckeditor/lang/_languages.js +0 -6
- data/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -61
- data/public/javascripts/ckeditor/lang/af.js +0 -6
- data/public/javascripts/ckeditor/lang/ar.js +0 -6
- data/public/javascripts/ckeditor/lang/bg.js +0 -6
- data/public/javascripts/ckeditor/lang/bn.js +0 -6
- data/public/javascripts/ckeditor/lang/bs.js +0 -6
- data/public/javascripts/ckeditor/lang/ca.js +0 -6
- data/public/javascripts/ckeditor/lang/cs.js +0 -6
- data/public/javascripts/ckeditor/lang/cy.js +0 -6
- data/public/javascripts/ckeditor/lang/da.js +0 -6
- data/public/javascripts/ckeditor/lang/de.js +0 -6
- data/public/javascripts/ckeditor/lang/el.js +0 -6
- data/public/javascripts/ckeditor/lang/en-au.js +0 -6
- data/public/javascripts/ckeditor/lang/en-ca.js +0 -6
- data/public/javascripts/ckeditor/lang/en-gb.js +0 -6
- data/public/javascripts/ckeditor/lang/en.js +0 -6
- data/public/javascripts/ckeditor/lang/eo.js +0 -6
- data/public/javascripts/ckeditor/lang/es.js +0 -6
- data/public/javascripts/ckeditor/lang/et.js +0 -6
- data/public/javascripts/ckeditor/lang/eu.js +0 -6
- data/public/javascripts/ckeditor/lang/fa.js +0 -6
- data/public/javascripts/ckeditor/lang/fi.js +0 -6
- data/public/javascripts/ckeditor/lang/fo.js +0 -6
- data/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
- data/public/javascripts/ckeditor/lang/fr.js +0 -6
- data/public/javascripts/ckeditor/lang/gl.js +0 -6
- data/public/javascripts/ckeditor/lang/gu.js +0 -6
- data/public/javascripts/ckeditor/lang/he.js +0 -6
- data/public/javascripts/ckeditor/lang/hi.js +0 -6
- data/public/javascripts/ckeditor/lang/hr.js +0 -6
- data/public/javascripts/ckeditor/lang/hu.js +0 -6
- data/public/javascripts/ckeditor/lang/is.js +0 -6
- data/public/javascripts/ckeditor/lang/it.js +0 -6
- data/public/javascripts/ckeditor/lang/ja.js +0 -6
- data/public/javascripts/ckeditor/lang/ka.js +0 -6
- data/public/javascripts/ckeditor/lang/km.js +0 -6
- data/public/javascripts/ckeditor/lang/ko.js +0 -6
- data/public/javascripts/ckeditor/lang/lt.js +0 -6
- data/public/javascripts/ckeditor/lang/lv.js +0 -6
- data/public/javascripts/ckeditor/lang/mn.js +0 -6
- data/public/javascripts/ckeditor/lang/ms.js +0 -6
- data/public/javascripts/ckeditor/lang/nb.js +0 -6
- data/public/javascripts/ckeditor/lang/nl.js +0 -6
- data/public/javascripts/ckeditor/lang/no.js +0 -6
- data/public/javascripts/ckeditor/lang/pl.js +0 -6
- data/public/javascripts/ckeditor/lang/pt-br.js +0 -6
- data/public/javascripts/ckeditor/lang/pt.js +0 -6
- data/public/javascripts/ckeditor/lang/ro.js +0 -6
- data/public/javascripts/ckeditor/lang/ru.js +0 -6
- data/public/javascripts/ckeditor/lang/sk.js +0 -6
- data/public/javascripts/ckeditor/lang/sl.js +0 -6
- data/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
- data/public/javascripts/ckeditor/lang/sr.js +0 -6
- data/public/javascripts/ckeditor/lang/sv.js +0 -6
- data/public/javascripts/ckeditor/lang/th.js +0 -6
- data/public/javascripts/ckeditor/lang/tr.js +0 -6
- data/public/javascripts/ckeditor/lang/uk.js +0 -6
- data/public/javascripts/ckeditor/lang/vi.js +0 -6
- data/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
- data/public/javascripts/ckeditor/lang/zh.js +0 -6
- data/public/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -7
- data/public/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
- data/public/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
- data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/plugins/adobeair/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/ajax/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/attachment/dialogs/attachment.js +0 -1
- data/public/javascripts/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/public/javascripts/ckeditor/plugins/attachment/lang/en.js +0 -10
- data/public/javascripts/ckeditor/plugins/attachment/lang/ru.js +0 -10
- data/public/javascripts/ckeditor/plugins/attachment/lang/uk.js +0 -10
- data/public/javascripts/ckeditor/plugins/attachment/plugin.js +0 -1
- data/public/javascripts/ckeditor/plugins/autogrow/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/bbcode/plugin.js +0 -9
- data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
- data/public/javascripts/ckeditor/plugins/devtools/lang/en.js +0 -6
- data/public/javascripts/ckeditor/plugins/devtools/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/public/javascripts/ckeditor/plugins/div/dialogs/div.js +0 -8
- data/public/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +0 -10
- data/public/javascripts/ckeditor/plugins/docprops/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/embed/dialogs/embed.js +0 -1
- data/public/javascripts/ckeditor/plugins/embed/images/embed.png +0 -0
- data/public/javascripts/ckeditor/plugins/embed/lang/en.js +0 -9
- data/public/javascripts/ckeditor/plugins/embed/lang/ru.js +0 -9
- data/public/javascripts/ckeditor/plugins/embed/lang/uk.js +0 -9
- data/public/javascripts/ckeditor/plugins/embed/plugin.js +0 -1
- data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
- data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/public/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -7
- data/public/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -13
- data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
- data/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -6
- data/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/ckeditor/plugins/pastefromword/filter/default.js +0 -11
- data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/public/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
- data/public/javascripts/ckeditor/plugins/placeholder/lang/en.js +0 -6
- data/public/javascripts/ckeditor/plugins/placeholder/lang/he.js +0 -6
- data/public/javascripts/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/ckeditor/plugins/placeholder/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/public/javascripts/ckeditor/plugins/specialchar/lang/en.js +0 -6
- data/public/javascripts/ckeditor/plugins/styles/styles/default.js +0 -6
- data/public/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -9
- data/public/javascripts/ckeditor/plugins/tableresize/plugin.js +0 -7
- data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -8
- data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -7
- data/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/lang/he.js +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
- data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/public/javascripts/ckeditor/plugins/xml/plugin.js +0 -6
- data/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
- data/public/javascripts/ckeditor/skins/kama/editor.css +0 -13
- data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
- data/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
- data/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -9
- data/public/javascripts/ckeditor/skins/office2003/editor.css +0 -14
- data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/skin.js +0 -6
- data/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
- data/public/javascripts/ckeditor/skins/v2/dialog.css +0 -9
- data/public/javascripts/ckeditor/skins/v2/editor.css +0 -13
- data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/skin.js +0 -6
- data/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
- data/public/javascripts/ckeditor/swfupload/fileprogress.js +0 -266
- data/public/javascripts/ckeditor/swfupload/handlers.js +0 -181
- data/public/javascripts/ckeditor/swfupload/jquery-1.5.1.min.js +0 -16
- data/public/javascripts/ckeditor/swfupload/querystring.js +0 -40
- data/public/javascripts/ckeditor/swfupload/rails.js +0 -158
- data/public/javascripts/ckeditor/swfupload/swfupload.js +0 -1
- data/public/javascripts/ckeditor/swfupload/swfupload.queue.js +0 -1
- data/public/javascripts/ckeditor/swfupload/swfupload.swf +0 -0
- data/public/javascripts/ckeditor/swfupload/swfupload.swfobject.js +0 -111
- data/public/javascripts/ckeditor/themes/default/theme.js +0 -8
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @file Image plugin
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
CKEDITOR.plugins.add( 'image',
|
|
11
|
-
{
|
|
12
|
-
init : function( editor )
|
|
13
|
-
{
|
|
14
|
-
var pluginName = 'image';
|
|
15
|
-
|
|
16
|
-
// Register the dialog.
|
|
17
|
-
CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/image.js' );
|
|
18
|
-
|
|
19
|
-
// Register the command.
|
|
20
|
-
editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
|
|
21
|
-
|
|
22
|
-
// Register the toolbar button.
|
|
23
|
-
editor.ui.addButton( 'Image',
|
|
24
|
-
{
|
|
25
|
-
label : editor.lang.common.image,
|
|
26
|
-
command : pluginName
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
editor.on( 'doubleclick', function( evt )
|
|
30
|
-
{
|
|
31
|
-
var element = evt.data.element;
|
|
32
|
-
|
|
33
|
-
if ( element.is( 'img' ) && !element.data( 'cke-realelement' ) && !element.isReadOnly() )
|
|
34
|
-
evt.data.dialog = 'image';
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
// If the "menu" plugin is loaded, register the menu items.
|
|
38
|
-
if ( editor.addMenuItems )
|
|
39
|
-
{
|
|
40
|
-
editor.addMenuItems(
|
|
41
|
-
{
|
|
42
|
-
image :
|
|
43
|
-
{
|
|
44
|
-
label : editor.lang.image.menu,
|
|
45
|
-
command : 'image',
|
|
46
|
-
group : 'image'
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// If the "contextmenu" plugin is loaded, register the listeners.
|
|
52
|
-
if ( editor.contextMenu )
|
|
53
|
-
{
|
|
54
|
-
editor.contextMenu.addListener( function( element, selection )
|
|
55
|
-
{
|
|
56
|
-
if ( !element || !element.is( 'img' ) || element.data( 'cke-realelement' ) || element.isReadOnly() )
|
|
57
|
-
return null;
|
|
58
|
-
|
|
59
|
-
return { image : CKEDITOR.TRISTATE_OFF };
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
} );
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Whether to remove links when emptying the link URL field in the image dialog.
|
|
67
|
-
* @type Boolean
|
|
68
|
-
* @default true
|
|
69
|
-
* @example
|
|
70
|
-
* config.image_removeLinkByEmptyURL = false;
|
|
71
|
-
*/
|
|
72
|
-
CKEDITOR.config.image_removeLinkByEmptyURL = true;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Padding text to set off the image in preview area.
|
|
76
|
-
* @name CKEDITOR.config.image_previewText
|
|
77
|
-
* @type String
|
|
78
|
-
* @default "Lorem ipsum dolor..." placehoder text.
|
|
79
|
-
* @example
|
|
80
|
-
* config.image_previewText = CKEDITOR.tools.repeat( '___ ', 100 );
|
|
81
|
-
*/
|
|
@@ -1,461 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @file Increse and decrease indent commands.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
(function()
|
|
11
|
-
{
|
|
12
|
-
var listNodeNames = { ol : 1, ul : 1 },
|
|
13
|
-
isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
|
|
14
|
-
isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true );
|
|
15
|
-
|
|
16
|
-
function onSelectionChange( evt )
|
|
17
|
-
{
|
|
18
|
-
if ( evt.editor.readOnly )
|
|
19
|
-
return null;
|
|
20
|
-
|
|
21
|
-
var editor = evt.editor,
|
|
22
|
-
elementPath = evt.data.path,
|
|
23
|
-
list = elementPath && elementPath.contains( listNodeNames ),
|
|
24
|
-
firstBlock = elementPath.block || elementPath.blockLimit;
|
|
25
|
-
|
|
26
|
-
if ( list )
|
|
27
|
-
return this.setState( CKEDITOR.TRISTATE_OFF );
|
|
28
|
-
|
|
29
|
-
if ( !this.useIndentClasses && this.name == 'indent' )
|
|
30
|
-
return this.setState( CKEDITOR.TRISTATE_OFF );
|
|
31
|
-
|
|
32
|
-
if ( !firstBlock )
|
|
33
|
-
return this.setState( CKEDITOR.TRISTATE_DISABLED );
|
|
34
|
-
|
|
35
|
-
if ( this.useIndentClasses )
|
|
36
|
-
{
|
|
37
|
-
var indentClass = firstBlock.$.className.match( this.classNameRegex ),
|
|
38
|
-
indentStep = 0;
|
|
39
|
-
if ( indentClass )
|
|
40
|
-
{
|
|
41
|
-
indentClass = indentClass[1];
|
|
42
|
-
indentStep = this.indentClassMap[ indentClass ];
|
|
43
|
-
}
|
|
44
|
-
if ( ( this.name == 'outdent' && !indentStep ) ||
|
|
45
|
-
( this.name == 'indent' && indentStep == editor.config.indentClasses.length ) )
|
|
46
|
-
return this.setState( CKEDITOR.TRISTATE_DISABLED );
|
|
47
|
-
return this.setState( CKEDITOR.TRISTATE_OFF );
|
|
48
|
-
}
|
|
49
|
-
else
|
|
50
|
-
{
|
|
51
|
-
var indent = parseInt( firstBlock.getStyle( getIndentCssProperty( firstBlock ) ), 10 );
|
|
52
|
-
if ( isNaN( indent ) )
|
|
53
|
-
indent = 0;
|
|
54
|
-
if ( indent <= 0 )
|
|
55
|
-
return this.setState( CKEDITOR.TRISTATE_DISABLED );
|
|
56
|
-
return this.setState( CKEDITOR.TRISTATE_OFF );
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function indentCommand( editor, name )
|
|
61
|
-
{
|
|
62
|
-
this.name = name;
|
|
63
|
-
this.useIndentClasses = editor.config.indentClasses && editor.config.indentClasses.length > 0;
|
|
64
|
-
if ( this.useIndentClasses )
|
|
65
|
-
{
|
|
66
|
-
this.classNameRegex = new RegExp( '(?:^|\\s+)(' + editor.config.indentClasses.join( '|' ) + ')(?=$|\\s)' );
|
|
67
|
-
this.indentClassMap = {};
|
|
68
|
-
for ( var i = 0 ; i < editor.config.indentClasses.length ; i++ )
|
|
69
|
-
this.indentClassMap[ editor.config.indentClasses[i] ] = i + 1;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
this.startDisabled = name == 'outdent';
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// Returns the CSS property to be used for identing a given element.
|
|
76
|
-
function getIndentCssProperty( element, dir )
|
|
77
|
-
{
|
|
78
|
-
return ( dir || element.getComputedStyle( 'direction' ) ) == 'ltr' ? 'margin-left' : 'margin-right';
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function isListItem( node )
|
|
82
|
-
{
|
|
83
|
-
return node.type = CKEDITOR.NODE_ELEMENT && node.is( 'li' );
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
indentCommand.prototype = {
|
|
87
|
-
exec : function( editor )
|
|
88
|
-
{
|
|
89
|
-
var self = this, database = {};
|
|
90
|
-
|
|
91
|
-
function indentList( listNode )
|
|
92
|
-
{
|
|
93
|
-
// Our starting and ending points of the range might be inside some blocks under a list item...
|
|
94
|
-
// So before playing with the iterator, we need to expand the block to include the list items.
|
|
95
|
-
var startContainer = range.startContainer,
|
|
96
|
-
endContainer = range.endContainer;
|
|
97
|
-
while ( startContainer && !startContainer.getParent().equals( listNode ) )
|
|
98
|
-
startContainer = startContainer.getParent();
|
|
99
|
-
while ( endContainer && !endContainer.getParent().equals( listNode ) )
|
|
100
|
-
endContainer = endContainer.getParent();
|
|
101
|
-
|
|
102
|
-
if ( !startContainer || !endContainer )
|
|
103
|
-
return;
|
|
104
|
-
|
|
105
|
-
// Now we can iterate over the individual items on the same tree depth.
|
|
106
|
-
var block = startContainer,
|
|
107
|
-
itemsToMove = [],
|
|
108
|
-
stopFlag = false;
|
|
109
|
-
while ( !stopFlag )
|
|
110
|
-
{
|
|
111
|
-
if ( block.equals( endContainer ) )
|
|
112
|
-
stopFlag = true;
|
|
113
|
-
itemsToMove.push( block );
|
|
114
|
-
block = block.getNext();
|
|
115
|
-
}
|
|
116
|
-
if ( itemsToMove.length < 1 )
|
|
117
|
-
return;
|
|
118
|
-
|
|
119
|
-
// Do indent or outdent operations on the array model of the list, not the
|
|
120
|
-
// list's DOM tree itself. The array model demands that it knows as much as
|
|
121
|
-
// possible about the surrounding lists, we need to feed it the further
|
|
122
|
-
// ancestor node that is still a list.
|
|
123
|
-
var listParents = listNode.getParents( true );
|
|
124
|
-
for ( var i = 0 ; i < listParents.length ; i++ )
|
|
125
|
-
{
|
|
126
|
-
if ( listParents[i].getName && listNodeNames[ listParents[i].getName() ] )
|
|
127
|
-
{
|
|
128
|
-
listNode = listParents[i];
|
|
129
|
-
break;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
var indentOffset = self.name == 'indent' ? 1 : -1,
|
|
133
|
-
startItem = itemsToMove[0],
|
|
134
|
-
lastItem = itemsToMove[ itemsToMove.length - 1 ];
|
|
135
|
-
|
|
136
|
-
// Convert the list DOM tree into a one dimensional array.
|
|
137
|
-
var listArray = CKEDITOR.plugins.list.listToArray( listNode, database );
|
|
138
|
-
|
|
139
|
-
// Apply indenting or outdenting on the array.
|
|
140
|
-
var baseIndent = listArray[ lastItem.getCustomData( 'listarray_index' ) ].indent;
|
|
141
|
-
for ( i = startItem.getCustomData( 'listarray_index' ); i <= lastItem.getCustomData( 'listarray_index' ); i++ )
|
|
142
|
-
{
|
|
143
|
-
listArray[ i ].indent += indentOffset;
|
|
144
|
-
// Make sure the newly created sublist get a brand-new element of the same type. (#5372)
|
|
145
|
-
var listRoot = listArray[ i ].parent;
|
|
146
|
-
listArray[ i ].parent = new CKEDITOR.dom.element( listRoot.getName(), listRoot.getDocument() );
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
for ( i = lastItem.getCustomData( 'listarray_index' ) + 1 ;
|
|
150
|
-
i < listArray.length && listArray[i].indent > baseIndent ; i++ )
|
|
151
|
-
listArray[i].indent += indentOffset;
|
|
152
|
-
|
|
153
|
-
// Convert the array back to a DOM forest (yes we might have a few subtrees now).
|
|
154
|
-
// And replace the old list with the new forest.
|
|
155
|
-
var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode, listNode.getDirection() );
|
|
156
|
-
|
|
157
|
-
// Avoid nested <li> after outdent even they're visually same,
|
|
158
|
-
// recording them for later refactoring.(#3982)
|
|
159
|
-
if ( self.name == 'outdent' )
|
|
160
|
-
{
|
|
161
|
-
var parentLiElement;
|
|
162
|
-
if ( ( parentLiElement = listNode.getParent() ) && parentLiElement.is( 'li' ) )
|
|
163
|
-
{
|
|
164
|
-
var children = newList.listNode.getChildren(),
|
|
165
|
-
pendingLis = [],
|
|
166
|
-
count = children.count(),
|
|
167
|
-
child;
|
|
168
|
-
|
|
169
|
-
for ( i = count - 1 ; i >= 0 ; i-- )
|
|
170
|
-
{
|
|
171
|
-
if ( ( child = children.getItem( i ) ) && child.is && child.is( 'li' ) )
|
|
172
|
-
pendingLis.push( child );
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
if ( newList )
|
|
178
|
-
newList.listNode.replace( listNode );
|
|
179
|
-
|
|
180
|
-
// Move the nested <li> to be appeared after the parent.
|
|
181
|
-
if ( pendingLis && pendingLis.length )
|
|
182
|
-
{
|
|
183
|
-
for ( i = 0; i < pendingLis.length ; i++ )
|
|
184
|
-
{
|
|
185
|
-
var li = pendingLis[ i ],
|
|
186
|
-
followingList = li;
|
|
187
|
-
|
|
188
|
-
// Nest preceding <ul>/<ol> inside current <li> if any.
|
|
189
|
-
while ( ( followingList = followingList.getNext() ) &&
|
|
190
|
-
followingList.is &&
|
|
191
|
-
followingList.getName() in listNodeNames )
|
|
192
|
-
{
|
|
193
|
-
// IE requires a filler NBSP for nested list inside empty list item,
|
|
194
|
-
// otherwise the list item will be inaccessiable. (#4476)
|
|
195
|
-
if ( CKEDITOR.env.ie && !li.getFirst( function( node ){ return isNotWhitespaces( node ) && isNotBookmark( node ); } ) )
|
|
196
|
-
li.append( range.document.createText( '\u00a0' ) );
|
|
197
|
-
|
|
198
|
-
li.append( followingList );
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
li.insertAfter( parentLiElement );
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
function indentBlock()
|
|
207
|
-
{
|
|
208
|
-
var iterator = range.createIterator(),
|
|
209
|
-
enterMode = editor.config.enterMode;
|
|
210
|
-
iterator.enforceRealBlocks = true;
|
|
211
|
-
iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
|
|
212
|
-
var block;
|
|
213
|
-
while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) )
|
|
214
|
-
indentElement( block );
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
function indentElement( element, dir )
|
|
218
|
-
{
|
|
219
|
-
if ( element.getCustomData( 'indent_processed' ) )
|
|
220
|
-
return false;
|
|
221
|
-
|
|
222
|
-
if ( self.useIndentClasses )
|
|
223
|
-
{
|
|
224
|
-
// Transform current class name to indent step index.
|
|
225
|
-
var indentClass = element.$.className.match( self.classNameRegex ),
|
|
226
|
-
indentStep = 0;
|
|
227
|
-
if ( indentClass )
|
|
228
|
-
{
|
|
229
|
-
indentClass = indentClass[1];
|
|
230
|
-
indentStep = self.indentClassMap[ indentClass ];
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
// Operate on indent step index, transform indent step index back to class
|
|
234
|
-
// name.
|
|
235
|
-
if ( self.name == 'outdent' )
|
|
236
|
-
indentStep--;
|
|
237
|
-
else
|
|
238
|
-
indentStep++;
|
|
239
|
-
|
|
240
|
-
if ( indentStep < 0 )
|
|
241
|
-
return false;
|
|
242
|
-
|
|
243
|
-
indentStep = Math.min( indentStep, editor.config.indentClasses.length );
|
|
244
|
-
indentStep = Math.max( indentStep, 0 );
|
|
245
|
-
element.$.className = CKEDITOR.tools.ltrim( element.$.className.replace( self.classNameRegex, '' ) );
|
|
246
|
-
if ( indentStep > 0 )
|
|
247
|
-
element.addClass( editor.config.indentClasses[ indentStep - 1 ] );
|
|
248
|
-
}
|
|
249
|
-
else
|
|
250
|
-
{
|
|
251
|
-
var indentCssProperty = getIndentCssProperty( element, dir ),
|
|
252
|
-
currentOffset = parseInt( element.getStyle( indentCssProperty ), 10 );
|
|
253
|
-
if ( isNaN( currentOffset ) )
|
|
254
|
-
currentOffset = 0;
|
|
255
|
-
var indentOffset = editor.config.indentOffset || 40;
|
|
256
|
-
currentOffset += ( self.name == 'indent' ? 1 : -1 ) * indentOffset;
|
|
257
|
-
|
|
258
|
-
if ( currentOffset < 0 )
|
|
259
|
-
return false;
|
|
260
|
-
|
|
261
|
-
currentOffset = Math.max( currentOffset, 0 );
|
|
262
|
-
currentOffset = Math.ceil( currentOffset / indentOffset ) * indentOffset;
|
|
263
|
-
element.setStyle( indentCssProperty, currentOffset ? currentOffset + ( editor.config.indentUnit || 'px' ) : '' );
|
|
264
|
-
if ( element.getAttribute( 'style' ) === '' )
|
|
265
|
-
element.removeAttribute( 'style' );
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
CKEDITOR.dom.element.setMarker( database, element, 'indent_processed', 1 );
|
|
269
|
-
return true;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
var selection = editor.getSelection(),
|
|
273
|
-
bookmarks = selection.createBookmarks( 1 ),
|
|
274
|
-
ranges = selection && selection.getRanges( 1 ),
|
|
275
|
-
range;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
var iterator = ranges.createIterator();
|
|
279
|
-
while ( ( range = iterator.getNextRange() ) )
|
|
280
|
-
{
|
|
281
|
-
var rangeRoot = range.getCommonAncestor(),
|
|
282
|
-
nearestListBlock = rangeRoot;
|
|
283
|
-
|
|
284
|
-
while ( nearestListBlock && !( nearestListBlock.type == CKEDITOR.NODE_ELEMENT &&
|
|
285
|
-
listNodeNames[ nearestListBlock.getName() ] ) )
|
|
286
|
-
nearestListBlock = nearestListBlock.getParent();
|
|
287
|
-
|
|
288
|
-
// Avoid having selection enclose the entire list. (#6138)
|
|
289
|
-
// [<ul><li>...</li></ul>] =><ul><li>[...]</li></ul>
|
|
290
|
-
if ( !nearestListBlock )
|
|
291
|
-
{
|
|
292
|
-
var selectedNode = range.getEnclosedNode();
|
|
293
|
-
if ( selectedNode
|
|
294
|
-
&& selectedNode.type == CKEDITOR.NODE_ELEMENT
|
|
295
|
-
&& selectedNode.getName() in listNodeNames)
|
|
296
|
-
{
|
|
297
|
-
range.setStartAt( selectedNode, CKEDITOR.POSITION_AFTER_START );
|
|
298
|
-
range.setEndAt( selectedNode, CKEDITOR.POSITION_BEFORE_END );
|
|
299
|
-
nearestListBlock = selectedNode;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
// Avoid selection anchors under list root.
|
|
304
|
-
// <ul>[<li>...</li>]</ul> => <ul><li>[...]</li></ul>
|
|
305
|
-
if ( nearestListBlock && range.startContainer.type == CKEDITOR.NODE_ELEMENT
|
|
306
|
-
&& range.startContainer.getName() in listNodeNames )
|
|
307
|
-
{
|
|
308
|
-
var walker = new CKEDITOR.dom.walker( range );
|
|
309
|
-
walker.evaluator = isListItem;
|
|
310
|
-
range.startContainer = walker.next();
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
if ( nearestListBlock && range.endContainer.type == CKEDITOR.NODE_ELEMENT
|
|
314
|
-
&& range.endContainer.getName() in listNodeNames )
|
|
315
|
-
{
|
|
316
|
-
walker = new CKEDITOR.dom.walker( range );
|
|
317
|
-
walker.evaluator = isListItem;
|
|
318
|
-
range.endContainer = walker.previous();
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
if ( nearestListBlock )
|
|
322
|
-
{
|
|
323
|
-
var firstListItem = nearestListBlock.getFirst( isListItem ),
|
|
324
|
-
hasMultipleItems = !!firstListItem.getNext( isListItem ),
|
|
325
|
-
rangeStart = range.startContainer,
|
|
326
|
-
indentWholeList = firstListItem.equals( rangeStart ) || firstListItem.contains( rangeStart );
|
|
327
|
-
|
|
328
|
-
// Indent the entire list if cursor is inside the first list item. (#3893)
|
|
329
|
-
// Only do that for indenting or when using indent classes or when there is something to outdent. (#6141)
|
|
330
|
-
if ( !( indentWholeList &&
|
|
331
|
-
( self.name == 'indent' || self.useIndentClasses || parseInt( nearestListBlock.getStyle( getIndentCssProperty( nearestListBlock ) ), 10 ) ) &&
|
|
332
|
-
indentElement( nearestListBlock, !hasMultipleItems && firstListItem.getDirection() ) ) )
|
|
333
|
-
indentList( nearestListBlock );
|
|
334
|
-
}
|
|
335
|
-
else
|
|
336
|
-
indentBlock();
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
// Clean up the markers.
|
|
340
|
-
CKEDITOR.dom.element.clearAllMarkers( database );
|
|
341
|
-
|
|
342
|
-
editor.forceNextSelectionCheck();
|
|
343
|
-
selection.selectBookmarks( bookmarks );
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
CKEDITOR.plugins.add( 'indent',
|
|
348
|
-
{
|
|
349
|
-
init : function( editor )
|
|
350
|
-
{
|
|
351
|
-
// Register commands.
|
|
352
|
-
var indent = editor.addCommand( 'indent', new indentCommand( editor, 'indent' ) ),
|
|
353
|
-
outdent = editor.addCommand( 'outdent', new indentCommand( editor, 'outdent' ) );
|
|
354
|
-
|
|
355
|
-
// Register the toolbar buttons.
|
|
356
|
-
editor.ui.addButton( 'Indent',
|
|
357
|
-
{
|
|
358
|
-
label : editor.lang.indent,
|
|
359
|
-
command : 'indent'
|
|
360
|
-
});
|
|
361
|
-
editor.ui.addButton( 'Outdent',
|
|
362
|
-
{
|
|
363
|
-
label : editor.lang.outdent,
|
|
364
|
-
command : 'outdent'
|
|
365
|
-
});
|
|
366
|
-
|
|
367
|
-
// Register the state changing handlers.
|
|
368
|
-
editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, indent ) );
|
|
369
|
-
editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, outdent ) );
|
|
370
|
-
|
|
371
|
-
// [IE6/7] Raw lists are using margin instead of padding for visual indentation in wysiwyg mode. (#3893)
|
|
372
|
-
if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat )
|
|
373
|
-
{
|
|
374
|
-
editor.addCss(
|
|
375
|
-
"ul,ol" +
|
|
376
|
-
"{" +
|
|
377
|
-
" margin-left: 0px;" +
|
|
378
|
-
" padding-left: 40px;" +
|
|
379
|
-
"}" );
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
// Register dirChanged listener.
|
|
383
|
-
editor.on( 'dirChanged', function( e )
|
|
384
|
-
{
|
|
385
|
-
var range = new CKEDITOR.dom.range( editor.document );
|
|
386
|
-
range.setStartBefore( e.data.node );
|
|
387
|
-
range.setEndAfter( e.data.node );
|
|
388
|
-
|
|
389
|
-
var walker = new CKEDITOR.dom.walker( range ),
|
|
390
|
-
node;
|
|
391
|
-
|
|
392
|
-
while ( ( node = walker.next() ) )
|
|
393
|
-
{
|
|
394
|
-
if ( node.type == CKEDITOR.NODE_ELEMENT )
|
|
395
|
-
{
|
|
396
|
-
// A child with the defined dir is to be ignored.
|
|
397
|
-
if ( !node.equals( e.data.node ) && node.getDirection() )
|
|
398
|
-
{
|
|
399
|
-
range.setStartAfter( node );
|
|
400
|
-
walker = new CKEDITOR.dom.walker( range );
|
|
401
|
-
continue;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
// Switch alignment classes.
|
|
405
|
-
var classes = editor.config.indentClasses;
|
|
406
|
-
if ( classes )
|
|
407
|
-
{
|
|
408
|
-
var suffix = ( e.data.dir == 'ltr' ) ? [ '_rtl', '' ] : [ '', '_rtl' ];
|
|
409
|
-
for ( var i = 0; i < classes.length; i++ )
|
|
410
|
-
{
|
|
411
|
-
if ( node.hasClass( classes[ i ] + suffix[ 0 ] ) )
|
|
412
|
-
{
|
|
413
|
-
node.removeClass( classes[ i ] + suffix[ 0 ] );
|
|
414
|
-
node.addClass( classes[ i ] + suffix[ 1 ] );
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
// Switch the margins.
|
|
420
|
-
var marginLeft = node.getStyle( 'margin-right' ),
|
|
421
|
-
marginRight = node.getStyle( 'margin-left' );
|
|
422
|
-
|
|
423
|
-
marginLeft ? node.setStyle( 'margin-left', marginLeft ) : node.removeStyle( 'margin-left' );
|
|
424
|
-
marginRight ? node.setStyle( 'margin-right', marginRight ) : node.removeStyle( 'margin-right' );
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
});
|
|
428
|
-
},
|
|
429
|
-
|
|
430
|
-
requires : [ 'domiterator', 'list' ]
|
|
431
|
-
} );
|
|
432
|
-
})();
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* Size of each indentation step
|
|
436
|
-
* @name CKEDITOR.config.indentOffset
|
|
437
|
-
* @type Number
|
|
438
|
-
* @default 40
|
|
439
|
-
* @example
|
|
440
|
-
* config.indentOffset = 4;
|
|
441
|
-
*/
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* Unit for the indentation style
|
|
445
|
-
* @name CKEDITOR.config.indentUnit
|
|
446
|
-
* @type String
|
|
447
|
-
* @default 'px'
|
|
448
|
-
* @example
|
|
449
|
-
* config.indentUnit = 'em';
|
|
450
|
-
*/
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* List of classes to use for indenting the contents. If it's null, no classes will be used
|
|
454
|
-
* and instead the {@link #indentUnit} and {@link #indentOffset} properties will be used.
|
|
455
|
-
* @name CKEDITOR.config.indentClasses
|
|
456
|
-
* @type Array
|
|
457
|
-
* @default null
|
|
458
|
-
* @example
|
|
459
|
-
* // Use the classes 'Indent1', 'Indent2', 'Indent3'
|
|
460
|
-
* config.indentClasses = ['Indent1', 'Indent2', 'Indent3'];
|
|
461
|
-
*/
|