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