ckeditor 3.6.2 → 3.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +10 -2
- data/app/views/ckeditor/attachment_files/index.html.erb +1 -1
- data/app/views/ckeditor/pictures/index.html.erb +1 -1
- data/app/views/ckeditor/shared/_asset.html.erb +2 -1
- data/app/views/ckeditor/shared/_asset_tmpl.html.erb +2 -1
- data/app/views/layouts/ckeditor.html.erb +14 -7
- data/config/locales/es.ckeditor.yml +8 -0
- data/lib/ckeditor.rb +17 -0
- data/lib/ckeditor/utils.rb +1 -1
- data/lib/ckeditor/version.rb +1 -1
- data/lib/generators/ckeditor/install_generator.rb +7 -4
- data/lib/generators/ckeditor/templates/ckeditor.rb +3 -0
- data/lib/generators/ckeditor/templates/ckeditor/config.js +2 -2
- data/lib/generators/ckeditor/templates/ckeditor/filebrowser/javascripts/application.js +3 -2
- data/lib/generators/ckeditor/templates/ckeditor/filebrowser/stylesheets/uploader.css +11 -13
- data/lib/generators/ckeditor/templates/ckeditor/plugins/attachment/dialogs/attachment.js +1 -1
- data/test/ckeditor_test.rb +14 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +6076 -8817
- data/test/generators/install_generator_test.rb +13 -0
- data/test/tmp/app/models/ckeditor/asset.rb +5 -0
- data/test/tmp/app/models/ckeditor/attachment_file.rb +15 -0
- data/test/tmp/app/models/ckeditor/picture.rb +13 -0
- metadata +161 -1534
- data/test/dummy/log/development.log +0 -818
- data/test/dummy/log/production.log +0 -0
- data/test/dummy/log/server.log +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e53723cde2f151212000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e537333de2f15123b000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e537621de2f1514e9000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e53766ade2f15152c000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e53781ede2f1515b7000001/rails.tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/attachments/4e537849de2f151651000001/rails_tar.gz +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e53783ade2f1515b7000007/thumb_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/content_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/original_rails.png +0 -0
- data/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/thumb_rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1231-4694-7541/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1232-4702-5501/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-0966/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-1597/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-3892/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-5787/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-5790/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-6435/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-6978/rails.png +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-7226/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-7290/rails.tar.gz +0 -0
- data/test/dummy/public/uploads/tmp/20110823-1245-5487-9279/rails.png +0 -0
- data/test/tmp/config/initializers/ckeditor.rb +0 -18
- data/test/tmp/public/javascripts/ckeditor/CHANGES.html +0 -1367
- data/test/tmp/public/javascripts/ckeditor/INSTALL.html +0 -92
- data/test/tmp/public/javascripts/ckeditor/LICENSE.html +0 -1327
- data/test/tmp/public/javascripts/ckeditor/_samples/adobeair/application.xml +0 -32
- data/test/tmp/public/javascripts/ckeditor/_samples/adobeair/run.bat +0 -9
- data/test/tmp/public/javascripts/ckeditor/_samples/adobeair/run.sh +0 -8
- data/test/tmp/public/javascripts/ckeditor/_samples/adobeair/sample.html +0 -45
- data/test/tmp/public/javascripts/ckeditor/_samples/ajax.html +0 -98
- data/test/tmp/public/javascripts/ckeditor/_samples/api.html +0 -192
- data/test/tmp/public/javascripts/ckeditor/_samples/api_dialog.html +0 -198
- data/test/tmp/public/javascripts/ckeditor/_samples/api_dialog/my_dialog.js +0 -28
- data/test/tmp/public/javascripts/ckeditor/_samples/asp/index.html +0 -103
- data/test/tmp/public/javascripts/ckeditor/_samples/assets/output_for_flash.fla +0 -0
- data/test/tmp/public/javascripts/ckeditor/_samples/assets/output_for_flash.swf +0 -0
- data/test/tmp/public/javascripts/ckeditor/_samples/assets/output_xhtml.css +0 -204
- data/test/tmp/public/javascripts/ckeditor/_samples/assets/parsesample.css +0 -70
- data/test/tmp/public/javascripts/ckeditor/_samples/assets/swfobject.js +0 -18
- data/test/tmp/public/javascripts/ckeditor/_samples/autogrow.html +0 -107
- data/test/tmp/public/javascripts/ckeditor/_samples/bbcode.html +0 -125
- data/test/tmp/public/javascripts/ckeditor/_samples/devtools.html +0 -94
- data/test/tmp/public/javascripts/ckeditor/_samples/divreplace.html +0 -154
- data/test/tmp/public/javascripts/ckeditor/_samples/enterkey.html +0 -115
- data/test/tmp/public/javascripts/ckeditor/_samples/fullpage.html +0 -82
- data/test/tmp/public/javascripts/ckeditor/_samples/index.html +0 -116
- data/test/tmp/public/javascripts/ckeditor/_samples/jqueryadapter.html +0 -99
- data/test/tmp/public/javascripts/ckeditor/_samples/output_for_flash.html +0 -275
- data/test/tmp/public/javascripts/ckeditor/_samples/output_html.html +0 -285
- data/test/tmp/public/javascripts/ckeditor/_samples/output_xhtml.html +0 -177
- data/test/tmp/public/javascripts/ckeditor/_samples/php/index.html +0 -47
- data/test/tmp/public/javascripts/ckeditor/_samples/placeholder.html +0 -81
- data/test/tmp/public/javascripts/ckeditor/_samples/readonly.html +0 -91
- data/test/tmp/public/javascripts/ckeditor/_samples/replacebyclass.html +0 -64
- data/test/tmp/public/javascripts/ckeditor/_samples/replacebycode.html +0 -97
- data/test/tmp/public/javascripts/ckeditor/_samples/sample.css +0 -163
- data/test/tmp/public/javascripts/ckeditor/_samples/sample.js +0 -65
- data/test/tmp/public/javascripts/ckeditor/_samples/sharedspaces.html +0 -153
- data/test/tmp/public/javascripts/ckeditor/_samples/skins.html +0 -110
- data/test/tmp/public/javascripts/ckeditor/_samples/stylesheetparser.html +0 -93
- data/test/tmp/public/javascripts/ckeditor/_samples/tableresize.html +0 -115
- data/test/tmp/public/javascripts/ckeditor/_samples/ui_color.html +0 -129
- data/test/tmp/public/javascripts/ckeditor/_samples/ui_languages.html +0 -134
- data/test/tmp/public/javascripts/ckeditor/_source/adapters/jquery.js +0 -306
- data/test/tmp/public/javascripts/ckeditor/_source/core/_bootstrap.js +0 -87
- data/test/tmp/public/javascripts/ckeditor/_source/core/ckeditor.js +0 -141
- data/test/tmp/public/javascripts/ckeditor/_source/core/ckeditor_base.js +0 -227
- data/test/tmp/public/javascripts/ckeditor/_source/core/ckeditor_basic.js +0 -238
- data/test/tmp/public/javascripts/ckeditor/_source/core/command.js +0 -209
- data/test/tmp/public/javascripts/ckeditor/_source/core/commanddefinition.js +0 -129
- data/test/tmp/public/javascripts/ckeditor/_source/core/config.js +0 -431
- data/test/tmp/public/javascripts/ckeditor/_source/core/dataprocessor.js +0 -65
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom.js +0 -20
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/comment.js +0 -32
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/document.js +0 -251
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/documentfragment.js +0 -49
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/domobject.js +0 -258
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/element.js +0 -1681
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/elementpath.js +0 -119
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/event.js +0 -145
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/node.js +0 -695
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/nodelist.js +0 -26
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/range.js +0 -2032
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/rangelist.js +0 -213
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/text.js +0 -128
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/walker.js +0 -462
- data/test/tmp/public/javascripts/ckeditor/_source/core/dom/window.js +0 -96
- data/test/tmp/public/javascripts/ckeditor/_source/core/dtd.js +0 -266
- data/test/tmp/public/javascripts/ckeditor/_source/core/editor.js +0 -1059
- data/test/tmp/public/javascripts/ckeditor/_source/core/editor_basic.js +0 -186
- data/test/tmp/public/javascripts/ckeditor/_source/core/env.js +0 -291
- data/test/tmp/public/javascripts/ckeditor/_source/core/event.js +0 -342
- data/test/tmp/public/javascripts/ckeditor/_source/core/eventInfo.js +0 -120
- data/test/tmp/public/javascripts/ckeditor/_source/core/focusmanager.js +0 -152
- data/test/tmp/public/javascripts/ckeditor/_source/core/htmlparser.js +0 -224
- data/test/tmp/public/javascripts/ckeditor/_source/core/htmlparser/basicwriter.js +0 -145
- data/test/tmp/public/javascripts/ckeditor/_source/core/htmlparser/cdata.js +0 -43
- data/test/tmp/public/javascripts/ckeditor/_source/core/htmlparser/comment.js +0 -60
- data/test/tmp/public/javascripts/ckeditor/_source/core/htmlparser/element.js +0 -308
- data/test/tmp/public/javascripts/ckeditor/_source/core/htmlparser/filter.js +0 -288
- data/test/tmp/public/javascripts/ckeditor/_source/core/htmlparser/fragment.js +0 -497
- data/test/tmp/public/javascripts/ckeditor/_source/core/htmlparser/text.js +0 -55
- data/test/tmp/public/javascripts/ckeditor/_source/core/lang.js +0 -157
- data/test/tmp/public/javascripts/ckeditor/_source/core/loader.js +0 -240
- data/test/tmp/public/javascripts/ckeditor/_source/core/plugindefinition.js +0 -83
- data/test/tmp/public/javascripts/ckeditor/_source/core/plugins.js +0 -103
- data/test/tmp/public/javascripts/ckeditor/_source/core/resourcemanager.js +0 -238
- data/test/tmp/public/javascripts/ckeditor/_source/core/scriptloader.js +0 -180
- data/test/tmp/public/javascripts/ckeditor/_source/core/skins.js +0 -184
- data/test/tmp/public/javascripts/ckeditor/_source/core/themes.js +0 -19
- data/test/tmp/public/javascripts/ckeditor/_source/core/tools.js +0 -763
- data/test/tmp/public/javascripts/ckeditor/_source/core/ui.js +0 -128
- data/test/tmp/public/javascripts/ckeditor/_source/lang/_languages.js +0 -84
- data/test/tmp/public/javascripts/ckeditor/_source/lang/_translationstatus.txt +0 -61
- data/test/tmp/public/javascripts/ckeditor/_source/lang/af.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/ar.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/bg.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/bn.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/bs.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/ca.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/cs.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/cy.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/da.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/de.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/el.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/en-au.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/en-ca.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/en-gb.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/en.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/eo.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/es.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/et.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/eu.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/fa.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/fi.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/fo.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/fr-ca.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/fr.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/gl.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/gu.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/he.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/hi.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/hr.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/hu.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/is.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/it.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/ja.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/ka.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/km.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/ko.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/lt.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/lv.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/mn.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/ms.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/nb.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/nl.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/no.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/pl.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/pt-br.js +0 -811
- data/test/tmp/public/javascripts/ckeditor/_source/lang/pt.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/ro.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/ru.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/sk.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/sl.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/sr-latn.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/sr.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/sv.js +0 -811
- data/test/tmp/public/javascripts/ckeditor/_source/lang/th.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/tr.js +0 -811
- data/test/tmp/public/javascripts/ckeditor/_source/lang/uk.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/vi.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/zh-cn.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/lang/zh.js +0 -812
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -222
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -108
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -216
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -47
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/about/dialogs/about.js +0 -76
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/about/plugin.js +0 -24
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/adobeair/plugin.js +0 -228
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/ajax/plugin.js +0 -152
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/autogrow/plugin.js +0 -88
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/basicstyles/plugin.js +0 -101
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/bbcode/plugin.js +0 -931
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/bidi/plugin.js +0 -334
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/blockquote/plugin.js +0 -305
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/button/plugin.js +0 -290
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -223
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/clipboard/plugin.js +0 -453
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/colorbutton/plugin.js +0 -294
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -340
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/colordialog/plugin.js +0 -15
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/contextmenu/plugin.js +0 -177
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/devtools/lang/en.js +0 -16
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/devtools/plugin.js +0 -173
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -1166
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/dialog/plugin.js +0 -3289
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -207
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/dialogui/plugin.js +0 -1541
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/div/dialogs/div.js +0 -535
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/div/plugin.js +0 -121
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/docprops/dialogs/docprops.js +0 -686
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/docprops/plugin.js +0 -22
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/domiterator/plugin.js +0 -361
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/editingblock/plugin.js +0 -275
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/elementspath/plugin.js +0 -218
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/enterkey/plugin.js +0 -413
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/entities/plugin.js +0 -250
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -175
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/filebrowser/plugin.js +0 -524
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/find/dialogs/find.js +0 -903
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/find/plugin.js +0 -47
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -673
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/flash/plugin.js +0 -154
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/floatpanel/plugin.js +0 -428
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/font/plugin.js +0 -234
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/format/plugin.js +0 -197
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/dialogs/button.js +0 -118
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -153
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/dialogs/form.js +0 -177
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -100
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -135
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/dialogs/select.js +0 -558
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -114
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -199
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/forms/plugin.js +0 -288
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -48
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -595
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -319
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/iframe/dialogs/iframe.js +0 -229
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/iframe/plugin.js +0 -87
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/iframedialog/plugin.js +0 -188
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/image/dialogs/image.js +0 -1406
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/image/plugin.js +0 -81
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/indent/plugin.js +0 -461
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/justify/plugin.js +0 -253
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/keystrokes/plugin.js +0 -225
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -144
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/link/dialogs/link.js +0 -1424
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/link/plugin.js +0 -374
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/list/plugin.js +0 -734
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/listblock/plugin.js +0 -268
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -225
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/liststyle/plugin.js +0 -66
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/maximize/plugin.js +0 -352
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/menu/plugin.js +0 -541
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/menubutton/plugin.js +0 -98
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/newpage/plugin.js +0 -54
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/pagebreak/plugin.js +0 -164
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/panel/plugin.js +0 -403
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/panelbutton/plugin.js +0 -144
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -1367
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/pastefromword/plugin.js +0 -141
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -67
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/pastetext/plugin.js +0 -98
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +0 -71
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/placeholder/lang/en.js +0 -16
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/placeholder/lang/he.js +0 -16
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/placeholder/plugin.js +0 -171
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/popup/plugin.js +0 -64
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/preview/plugin.js +0 -109
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/print/plugin.js +0 -42
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/removeformat/plugin.js +0 -185
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/resize/plugin.js +0 -168
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/richcombo/plugin.js +0 -381
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/save/plugin.js +0 -56
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -537
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -71
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/scayt/plugin.js +0 -964
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/selection/plugin.js +0 -1601
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showblocks/plugin.js +0 -160
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/showborders/plugin.js +0 -207
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -224
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/smiley/plugin.js +0 -94
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/sourcearea/plugin.js +0 -209
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -350
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/specialchar/lang/en.js +0 -89
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/specialchar/plugin.js +0 -70
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/styles/plugin.js +0 -1696
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/styles/styles/default.js +0 -88
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/stylescombo/plugin.js +0 -218
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/stylesheetparser/plugin.js +0 -148
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/tab/plugin.js +0 -367
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/table/dialogs/table.js +0 -602
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/table/plugin.js +0 -78
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/tableresize/plugin.js +0 -443
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -525
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/tabletools/plugin.js +0 -1194
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -234
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/templates/plugin.js +0 -99
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/templates/templates/default.js +0 -94
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/toolbar/plugin.js +0 -545
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -205
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/lang/en.js +0 -15
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/lang/he.js +0 -15
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/plugin.js +0 -37
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -15
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -71
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/undo/plugin.js +0 -580
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -49
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -82
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -192
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/wsc/plugin.js +0 -33
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -1351
- data/test/tmp/public/javascripts/ckeditor/_source/plugins/xml/plugin.js +0 -170
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/dialog.css +0 -943
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/editor.css +0 -25
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/elementspath.css +0 -73
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/icons.css +0 -366
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/icons.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/images/mini.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/images/noimage.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/images/sprites.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/mainui.css +0 -203
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/menu.css +0 -232
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/panel.css +0 -217
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/presets.css +0 -49
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/reset.css +0 -84
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/richcombo.css +0 -287
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/skin.js +0 -236
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/templates.css +0 -88
- data/test/tmp/public/javascripts/ckeditor/_source/skins/kama/toolbar.css +0 -407
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/dialog.css +0 -844
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/editor.css +0 -25
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/elementspath.css +0 -74
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/icons.css +0 -363
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/icons.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/mainui.css +0 -153
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/menu.css +0 -229
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/panel.css +0 -212
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/presets.css +0 -49
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/reset.css +0 -84
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/richcombo.css +0 -309
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/skin.js +0 -74
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/templates.css +0 -87
- data/test/tmp/public/javascripts/ckeditor/_source/skins/office2003/toolbar.css +0 -522
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/dialog.css +0 -861
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/editor.css +0 -25
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/elementspath.css +0 -74
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/icons.css +0 -363
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/icons.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/images/mini.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/images/noimage.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/images/sprites.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/mainui.css +0 -162
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/menu.css +0 -232
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/panel.css +0 -212
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/presets.css +0 -50
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/reset.css +0 -84
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/richcombo.css +0 -302
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/skin.js +0 -70
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/templates.css +0 -87
- data/test/tmp/public/javascripts/ckeditor/_source/skins/v2/toolbar.css +0 -465
- data/test/tmp/public/javascripts/ckeditor/_source/themes/default/theme.js +0 -395
- data/test/tmp/public/javascripts/ckeditor/adapters/jquery.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/ckeditor.js +0 -147
- data/test/tmp/public/javascripts/ckeditor/ckeditor.pack +0 -211
- data/test/tmp/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
- data/test/tmp/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
- data/test/tmp/public/javascripts/ckeditor/ckeditor_source.js +0 -25
- data/test/tmp/public/javascripts/ckeditor/config.js +0 -65
- data/test/tmp/public/javascripts/ckeditor/contents.css +0 -25
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/gal_add.jpg +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/gal_add.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/gal_del.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/gal_more.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/preloader.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/thumbs/ckfnothumb.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/thumbs/mp3.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/thumbs/pdf.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/thumbs/rar.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/thumbs/swf.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/images/thumbs/xls.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/filebrowser/javascripts/application.js +0 -222
- data/test/tmp/public/javascripts/ckeditor/filebrowser/javascripts/fileuploader.js +0 -1301
- data/test/tmp/public/javascripts/ckeditor/filebrowser/javascripts/jquery.js +0 -18
- data/test/tmp/public/javascripts/ckeditor/filebrowser/javascripts/jquery.tmpl.js +0 -10
- data/test/tmp/public/javascripts/ckeditor/filebrowser/javascripts/rails.js +0 -363
- data/test/tmp/public/javascripts/ckeditor/filebrowser/stylesheets/uploader.css +0 -117
- data/test/tmp/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/lang/_languages.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -61
- data/test/tmp/public/javascripts/ckeditor/lang/af.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/ar.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/bg.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/bn.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/bs.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/ca.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/cs.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/cy.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/da.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/de.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/el.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/en-au.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/en-ca.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/en-gb.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/en.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/eo.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/es.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/et.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/eu.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/fa.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/fi.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/fo.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/fr.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/gl.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/gu.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/he.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/hi.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/hr.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/hu.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/is.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/it.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/ja.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/ka.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/km.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/ko.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/lt.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/lv.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/mn.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/ms.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/nb.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/nl.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/no.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/pl.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/pt-br.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/pt.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/ro.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/ru.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/sk.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/sl.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/sr.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/sv.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/th.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/tr.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/uk.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/vi.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/lang/zh.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/adobeair/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/ajax/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/attachment/dialogs/attachment.js +0 -1
- data/test/tmp/public/javascripts/ckeditor/plugins/attachment/images/attachment.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/attachment/lang/en.js +0 -10
- data/test/tmp/public/javascripts/ckeditor/plugins/attachment/lang/ru.js +0 -10
- data/test/tmp/public/javascripts/ckeditor/plugins/attachment/lang/uk.js +0 -10
- data/test/tmp/public/javascripts/ckeditor/plugins/attachment/plugin.js +0 -1
- data/test/tmp/public/javascripts/ckeditor/plugins/autogrow/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/bbcode/plugin.js +0 -9
- data/test/tmp/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/devtools/lang/en.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/devtools/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/test/tmp/public/javascripts/ckeditor/plugins/div/dialogs/div.js +0 -8
- data/test/tmp/public/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +0 -10
- data/test/tmp/public/javascripts/ckeditor/plugins/docprops/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/embed/dialogs/embed.js +0 -1
- data/test/tmp/public/javascripts/ckeditor/plugins/embed/images/embed.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/embed/lang/en.js +0 -9
- data/test/tmp/public/javascripts/ckeditor/plugins/embed/lang/ru.js +0 -9
- data/test/tmp/public/javascripts/ckeditor/plugins/embed/lang/uk.js +0 -9
- data/test/tmp/public/javascripts/ckeditor/plugins/embed/plugin.js +0 -1
- data/test/tmp/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -10
- data/test/tmp/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
- data/test/tmp/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -13
- data/test/tmp/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -12
- data/test/tmp/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/pastefromword/filter/default.js +0 -11
- data/test/tmp/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/placeholder/lang/en.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/placeholder/lang/he.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/placeholder/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
- data/test/tmp/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/specialchar/lang/en.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/styles/styles/default.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -9
- data/test/tmp/public/javascripts/ckeditor/plugins/tableresize/plugin.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -8
- data/test/tmp/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/lang/he.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
- data/test/tmp/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/test/tmp/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/test/tmp/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
- data/test/tmp/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/plugins/xml/plugin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/skins/kama/dialog.css +0 -10
- data/test/tmp/public/javascripts/ckeditor/skins/kama/editor.css +0 -13
- data/test/tmp/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
- data/test/tmp/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -9
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/editor.css +0 -14
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/skin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
- data/test/tmp/public/javascripts/ckeditor/skins/v2/dialog.css +0 -9
- data/test/tmp/public/javascripts/ckeditor/skins/v2/editor.css +0 -13
- data/test/tmp/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/test/tmp/public/javascripts/ckeditor/skins/v2/skin.js +0 -6
- data/test/tmp/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
- data/test/tmp/public/javascripts/ckeditor/themes/default/theme.js +0 -8
@@ -1,82 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
-
<head>
|
8
|
-
<title>Full Page Editing with Document Properties Plugin — CKEditor Sample</title>
|
9
|
-
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
10
|
-
<script type="text/javascript" src="../ckeditor.js"></script>
|
11
|
-
<script src="sample.js" type="text/javascript"></script>
|
12
|
-
<link href="sample.css" rel="stylesheet" type="text/css" />
|
13
|
-
</head>
|
14
|
-
<body>
|
15
|
-
<h1 class="samples">
|
16
|
-
CKEditor Sample — Full Page Editing with Document Properties Plugin
|
17
|
-
</h1>
|
18
|
-
<div class="description">
|
19
|
-
<p>
|
20
|
-
This sample shows how to configure CKEditor to edit entire HTML pages, from the
|
21
|
-
<code><html></code> tag to the <code></html></code> tag.
|
22
|
-
</p>
|
23
|
-
<p>
|
24
|
-
The <strong>Document Properties</strong> (<code>docprops</code>) plugin is also turned on.
|
25
|
-
This plugin allows you to set the metadata of the page, including the page encoding, margins,
|
26
|
-
meta tags, or background.
|
27
|
-
</p>
|
28
|
-
<p>
|
29
|
-
The CKEditor instance below is inserted with a JavaScript call using the following code:
|
30
|
-
</p>
|
31
|
-
<pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',
|
32
|
-
{
|
33
|
-
<strong>fullPage : true,
|
34
|
-
extraPlugins : 'docprops'</strong>
|
35
|
-
});</pre>
|
36
|
-
<p>
|
37
|
-
Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
|
38
|
-
the <code><textarea></code> element to be replaced.
|
39
|
-
</p>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
<!-- This <div> holds alert messages to be display in the sample page. -->
|
43
|
-
<div id="alerts">
|
44
|
-
<noscript>
|
45
|
-
<p>
|
46
|
-
<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
|
47
|
-
support, like yours, you should still see the contents (HTML data) and you should
|
48
|
-
be able to edit it normally, without a rich editor interface.
|
49
|
-
</p>
|
50
|
-
</noscript>
|
51
|
-
</div>
|
52
|
-
<form action="sample_posteddata.php" method="post">
|
53
|
-
<label for="editor1">
|
54
|
-
CKEditor using the <code>docprops</code> plugin and working in the Full Page mode:</label>
|
55
|
-
<textarea cols="80" id="editor1" name="editor1" rows="10"><html><head><title>CKEditor Sample</title></head><body><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></body></html></textarea>
|
56
|
-
<script type="text/javascript">
|
57
|
-
//<![CDATA[
|
58
|
-
|
59
|
-
CKEDITOR.replace( 'editor1',
|
60
|
-
{
|
61
|
-
fullPage : true,
|
62
|
-
extraPlugins : 'docprops'
|
63
|
-
});
|
64
|
-
|
65
|
-
//]]>
|
66
|
-
</script>
|
67
|
-
<p>
|
68
|
-
<input type="submit" value="Submit" />
|
69
|
-
</p>
|
70
|
-
</form>
|
71
|
-
<div id="footer">
|
72
|
-
<hr />
|
73
|
-
<p>
|
74
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
75
|
-
</p>
|
76
|
-
<p id="copy">
|
77
|
-
Copyright © 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
78
|
-
Knabben. All rights reserved.
|
79
|
-
</p>
|
80
|
-
</div>
|
81
|
-
</body>
|
82
|
-
</html>
|
@@ -1,116 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
-
<head>
|
8
|
-
<title>CKEditor Samples</title>
|
9
|
-
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
10
|
-
<link type="text/css" rel="stylesheet" href="sample.css" />
|
11
|
-
</head>
|
12
|
-
<body>
|
13
|
-
<h1 class="samples">
|
14
|
-
CKEditor Samples Site
|
15
|
-
</h1>
|
16
|
-
<h2 class="samples">
|
17
|
-
Basic Samples
|
18
|
-
</h2>
|
19
|
-
<ul class="samples">
|
20
|
-
<li>
|
21
|
-
<a class="samples" href="replacebyclass.html">Replace textarea elements by class name</a><br />
|
22
|
-
Automatic replacement of all textarea elements of a given class with a CKEditor instance.
|
23
|
-
</li>
|
24
|
-
<li><a class="samples" href="replacebycode.html">Replace textarea elements by code</a><br />
|
25
|
-
Replacement of textarea elements with CKEditor instances by using a JavaScript call.
|
26
|
-
</li>
|
27
|
-
<li><a class="samples" href="fullpage.html">Full page support with the Document Properties plugin</a><br />
|
28
|
-
CKEditor inserted with a JavaScript call and used to edit the whole page from <code><html></code> to <code></html></code>.
|
29
|
-
</li>
|
30
|
-
</ul>
|
31
|
-
<h2 class="samples">
|
32
|
-
Basic Customization
|
33
|
-
</h2>
|
34
|
-
<ul class="samples">
|
35
|
-
<li><a class="samples" href="skins.html">Skins</a><br />
|
36
|
-
Changing the CKEditor skin by adjusting a single configuration option.
|
37
|
-
</li>
|
38
|
-
<li><a class="samples" href="ui_color.html">User Interface color</a><br />
|
39
|
-
Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.
|
40
|
-
</li>
|
41
|
-
<li><a class="samples" href="ui_languages.html">User Interface languages</a><br />
|
42
|
-
Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.
|
43
|
-
</li>
|
44
|
-
</ul>
|
45
|
-
<h2 class="samples">
|
46
|
-
Advanced Samples
|
47
|
-
</h2>
|
48
|
-
<ul class="samples">
|
49
|
-
<li><a class="samples" href="divreplace.html">Replace DIV elements on the fly</a><br />
|
50
|
-
Transforming a <code>div</code> element into an instance of CKEditor with a mouse click.
|
51
|
-
</li>
|
52
|
-
<li><a class="samples" href="ajax.html">Create and destroy editor instances for Ajax applications</a><br />
|
53
|
-
Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.
|
54
|
-
</li>
|
55
|
-
<li><a class="samples" href="api.html">Basic usage of the API</a><br />
|
56
|
-
Using the CKEditor JavaScript API to interact with the editor at runtime.
|
57
|
-
</li>
|
58
|
-
<li><a class="samples" href="api_dialog.html">Using the JavaScript API to customize dialog windows</a><br />
|
59
|
-
Using the dialog windows API to customize dialog windows without changing the original editor code.
|
60
|
-
</li>
|
61
|
-
<li><a class="samples" href="enterkey.html">Using the "Enter" key in CKEditor</a><br />
|
62
|
-
Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys.
|
63
|
-
</li>
|
64
|
-
<li><a class="samples" href="sharedspaces.html">Shared toolbars</a><br />
|
65
|
-
Displaying multiple editor instances that share the toolbar and/or the elements path.
|
66
|
-
</li>
|
67
|
-
<li><a class="samples" href="jqueryadapter.html">jQuery adapter example</a><br />
|
68
|
-
Using the jQuery adapter to configure CKEditor.
|
69
|
-
</li>
|
70
|
-
<li><a class="samples" href="output_xhtml.html">Output XHTML</a><br />
|
71
|
-
Configuring CKEditor to produce XHTML 1.1 compliant code.
|
72
|
-
</li>
|
73
|
-
<li><a class="samples" href="output_html.html">Output HTML</a><br />
|
74
|
-
Configuring CKEditor to produce legacy HTML 4 code.
|
75
|
-
</li>
|
76
|
-
<li><a class="samples" href="output_for_flash.html">Output for Flash</a><br />
|
77
|
-
Configuring CKEditor to produce HTML code that can be used with Adobe Flash.
|
78
|
-
</li>
|
79
|
-
<li><a class="samples" href="readonly.html">Read-only mode</a><br />
|
80
|
-
Using the readOnly API to block introducing changes to the editor contents.
|
81
|
-
</li>
|
82
|
-
</ul>
|
83
|
-
<h2 class="samples">
|
84
|
-
Additional plugins
|
85
|
-
</h2>
|
86
|
-
<ul class="samples">
|
87
|
-
<li><a class="samples" href="autogrow.html">AutoGrow plugin</a><br />
|
88
|
-
Using the AutoGrow plugin in order to make the editor grow to fit the size of its content.
|
89
|
-
</li>
|
90
|
-
<li><a class="samples" href="bbcode.html">Output for BBCode</a><br />
|
91
|
-
Configuring CKEditor to produce BBCode tags instead of HTML.
|
92
|
-
</li>
|
93
|
-
<li><a class="samples" href="stylesheetparser.html">Stylesheet Parser plugin</a><br />
|
94
|
-
Using the Stylesheet Parser plugin to fill the Styles drop-down list based on the CSS classes available in the document stylesheet.
|
95
|
-
</li>
|
96
|
-
<li><a class="samples" href="devtools.html">Developer Tools plugin</a><br />
|
97
|
-
Using the Developer Tools plugin to display information about dialog window UI elements to allow for easier customization.
|
98
|
-
</li>
|
99
|
-
<li><a class="samples" href="placeholder.html">Placeholder plugin</a><br />
|
100
|
-
Using the Placeholder plugin to create uneditable sections that can only be created and modified with a proper dialog window.
|
101
|
-
</li>
|
102
|
-
<li><a class="samples" href="tableresize.html">TableResize plugin</a><br />
|
103
|
-
Using the TableResize plugin to enable table column resizing.
|
104
|
-
</li>
|
105
|
-
</ul>
|
106
|
-
<div id="footer">
|
107
|
-
<hr />
|
108
|
-
<p>
|
109
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
110
|
-
</p>
|
111
|
-
<p id="copy">
|
112
|
-
Copyright © 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
|
113
|
-
</p>
|
114
|
-
</div>
|
115
|
-
</body>
|
116
|
-
</html>
|
@@ -1,99 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
-
<head>
|
8
|
-
<title>jQuery Adapter — CKEditor Sample</title>
|
9
|
-
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
10
|
-
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
|
11
|
-
<script type="text/javascript" src="../ckeditor.js"></script>
|
12
|
-
<script type="text/javascript" src="../adapters/jquery.js"></script>
|
13
|
-
<script src="sample.js" type="text/javascript"></script>
|
14
|
-
<link href="sample.css" rel="stylesheet" type="text/css" />
|
15
|
-
<script type="text/javascript">
|
16
|
-
//<![CDATA[
|
17
|
-
|
18
|
-
$(function()
|
19
|
-
{
|
20
|
-
var config = {
|
21
|
-
toolbar:
|
22
|
-
[
|
23
|
-
['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
|
24
|
-
['UIColor']
|
25
|
-
]
|
26
|
-
};
|
27
|
-
|
28
|
-
// Initialize the editor.
|
29
|
-
// Callback function can be passed and executed after full instance creation.
|
30
|
-
$('.jquery_ckeditor').ckeditor(config);
|
31
|
-
});
|
32
|
-
|
33
|
-
//]]>
|
34
|
-
</script>
|
35
|
-
</head>
|
36
|
-
<body>
|
37
|
-
<h1 class="samples">
|
38
|
-
CKEditor Sample — Using jQuery Adapter
|
39
|
-
</h1>
|
40
|
-
<div class="description">
|
41
|
-
<p>
|
42
|
-
This sample shows how to load CKEditor and configure it using the
|
43
|
-
<a class="samples" href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/jQuery_Adapter">jQuery adapter</a>.
|
44
|
-
In this case the jQuery adapter is responsible for transforming a <code><textarea></code>
|
45
|
-
element into a CKEditor instance and setting the configuration of the toolbar.
|
46
|
-
</p>
|
47
|
-
<p>
|
48
|
-
CKEditor instance with custom configuration set in jQuery can be inserted with the
|
49
|
-
following JavaScript code:
|
50
|
-
</p>
|
51
|
-
<pre class="samples">$(function()
|
52
|
-
{
|
53
|
-
var config = {
|
54
|
-
skin:'v2'
|
55
|
-
};
|
56
|
-
|
57
|
-
$('.<em>textarea_class</em>').ckeditor(config);
|
58
|
-
});</pre>
|
59
|
-
<p>
|
60
|
-
Note that <code><em>textarea_class</em></code> in the code above is the
|
61
|
-
<code>class</code> attribute of the <code><textarea></code> element to be replaced with
|
62
|
-
CKEditor. Any other jQuery selector can be used to match the target element.
|
63
|
-
</p>
|
64
|
-
</div>
|
65
|
-
|
66
|
-
<!-- This <div> holds alert messages to be display in the sample page. -->
|
67
|
-
<div id="alerts">
|
68
|
-
<noscript>
|
69
|
-
<p>
|
70
|
-
<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
|
71
|
-
support, like yours, you should still see the contents (HTML data) and you should
|
72
|
-
be able to edit it normally, without a rich editor interface.
|
73
|
-
</p>
|
74
|
-
</noscript>
|
75
|
-
</div>
|
76
|
-
<!-- This <fieldset> holds the HTML that you will usually find in your
|
77
|
-
pages. -->
|
78
|
-
<form action="sample_posteddata.php" method="post">
|
79
|
-
<p>
|
80
|
-
<label for="editor1">
|
81
|
-
Editor 1:</label>
|
82
|
-
<textarea class="jquery_ckeditor" cols="80" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
|
83
|
-
</p>
|
84
|
-
<p>
|
85
|
-
<input type="submit" value="Submit" />
|
86
|
-
</p>
|
87
|
-
</form>
|
88
|
-
<div id="footer">
|
89
|
-
<hr />
|
90
|
-
<p>
|
91
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
92
|
-
</p>
|
93
|
-
<p id="copy">
|
94
|
-
Copyright © 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
95
|
-
Knabben. All rights reserved.
|
96
|
-
</p>
|
97
|
-
</div>
|
98
|
-
</body>
|
99
|
-
</html>
|
@@ -1,275 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<!--
|
3
|
-
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
4
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
5
|
-
-->
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
-
<head>
|
8
|
-
<title>Output for Flash — CKEditor Sample</title>
|
9
|
-
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
10
|
-
<script type="text/javascript" src="../ckeditor.js"></script>
|
11
|
-
<script src="sample.js" type="text/javascript"></script>
|
12
|
-
<link href="sample.css" rel="stylesheet" type="text/css" />
|
13
|
-
<script type="text/javascript" src="assets/swfobject.js"></script>
|
14
|
-
<script type="text/javascript">
|
15
|
-
function sendToFlash()
|
16
|
-
{
|
17
|
-
var html = CKEDITOR.instances.editor1.getData() ;
|
18
|
-
var flash = document.getElementById( 'ckFlash' ) ;
|
19
|
-
flash.setData( html ) ;
|
20
|
-
}
|
21
|
-
|
22
|
-
function init()
|
23
|
-
{
|
24
|
-
var so = new SWFObject("assets/output_for_flash.swf", "ckFlash", "550", "400", "8", "#ffffff") ;
|
25
|
-
so.addParam("wmode", "transparent");
|
26
|
-
so.write("ckFlashContainer") ;
|
27
|
-
}
|
28
|
-
</script>
|
29
|
-
</head>
|
30
|
-
<body onload="init()">
|
31
|
-
<h1 class="samples">
|
32
|
-
CKEditor Sample — Producing Flash Compliant HTML Output
|
33
|
-
</h1>
|
34
|
-
<div class="description">
|
35
|
-
<p>
|
36
|
-
This sample shows how to configure CKEditor to output
|
37
|
-
HTML code that can be used with
|
38
|
-
<a class="samples" href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000922.html">
|
39
|
-
Adobe Flash</a>.
|
40
|
-
The code will contain a subset of standard HTML elements like <code><b></code>,
|
41
|
-
<code><i></code>, and <code><p></code> as well as HTML attributes.
|
42
|
-
</p>
|
43
|
-
<p>
|
44
|
-
To add a CKEditor instance outputting Flash compliant HTML code, load the editor using a standard
|
45
|
-
JavaScript call, and define CKEditor features to use HTML elements and attributes.
|
46
|
-
</p>
|
47
|
-
<p>
|
48
|
-
For details on how to create this setup check the source code of this sample page.
|
49
|
-
</p>
|
50
|
-
</div>
|
51
|
-
<p>
|
52
|
-
To see how it works, create some content in the editing area of CKEditor on the left
|
53
|
-
and send it to the Flash object on the right side of the page by using the
|
54
|
-
<strong>Send to Flash</strong> button.
|
55
|
-
</p>
|
56
|
-
|
57
|
-
<!-- This <div> holds alert messages to be display in the sample page. -->
|
58
|
-
<div id="alerts">
|
59
|
-
<noscript>
|
60
|
-
<p>
|
61
|
-
<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
|
62
|
-
support, like yours, you should still see the contents (HTML data) and you should
|
63
|
-
be able to edit it normally, without a rich editor interface.
|
64
|
-
</p>
|
65
|
-
</noscript>
|
66
|
-
</div>
|
67
|
-
<hr />
|
68
|
-
<table width="100%" cellpadding="0" cellspacing="0">
|
69
|
-
<tr>
|
70
|
-
<td style="width: 100%">
|
71
|
-
<textarea cols="80" id="editor1" name="editor1" rows="10"><p>This is some <b>sample text</b>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
|
72
|
-
<script type="text/javascript">
|
73
|
-
//<![CDATA[
|
74
|
-
|
75
|
-
if ( document.location.protocol == 'file:' )
|
76
|
-
alert( 'Warning: This samples does not work when loaded from local filesystem due to security restrictions implemented in Flash.' +
|
77
|
-
'\n\nPlease load the sample from a web server instead.') ;
|
78
|
-
|
79
|
-
CKEDITOR.replace( 'editor1',
|
80
|
-
{
|
81
|
-
height : 300,
|
82
|
-
width : '100%',
|
83
|
-
toolbar : [
|
84
|
-
['Source','-','Bold','Italic','Underline','-','BulletedList','-','Link','Unlink'],
|
85
|
-
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
86
|
-
'/',
|
87
|
-
['Font','FontSize'],
|
88
|
-
['TextColor','-','About']
|
89
|
-
],
|
90
|
-
|
91
|
-
/*
|
92
|
-
* Style sheet for the contents
|
93
|
-
*/
|
94
|
-
contentsCss : 'body {color:#000; background-color#FFF; font-family: Arial; font-size:80%;} p, ol, ul {margin-top: 0px; margin-bottom: 0px;}',
|
95
|
-
|
96
|
-
/*
|
97
|
-
* Quirks doctype
|
98
|
-
*/
|
99
|
-
docType : '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">',
|
100
|
-
|
101
|
-
/*
|
102
|
-
* Core styles.
|
103
|
-
*/
|
104
|
-
coreStyles_bold : { element : 'b' },
|
105
|
-
coreStyles_italic : { element : 'i' },
|
106
|
-
coreStyles_underline : { element : 'u'},
|
107
|
-
|
108
|
-
/*
|
109
|
-
* Font face
|
110
|
-
*/
|
111
|
-
// Define the way font elements will be applied to the document. The "font"
|
112
|
-
// element will be used.
|
113
|
-
font_style :
|
114
|
-
{
|
115
|
-
element : 'font',
|
116
|
-
attributes : { 'face' : '#(family)' }
|
117
|
-
},
|
118
|
-
|
119
|
-
/*
|
120
|
-
* Font sizes.
|
121
|
-
* The CSS part of the font sizes isn't used by Flash, it is there to get the
|
122
|
-
* font rendered correctly in CKEditor.
|
123
|
-
*/
|
124
|
-
fontSize_sizes : '8px/8;9px/9;10px/10;11px/11;12px/12;14px/14;16px/16;18px/18;20px/20;22px/22;24px/24;26px/26;28px/28;36px/36;48px/48;72px/72',
|
125
|
-
fontSize_style :
|
126
|
-
{
|
127
|
-
element : 'font',
|
128
|
-
attributes : { 'size' : '#(size)' },
|
129
|
-
styles : { 'font-size' : '#(size)px' }
|
130
|
-
} ,
|
131
|
-
|
132
|
-
/*
|
133
|
-
* Font colors.
|
134
|
-
*/
|
135
|
-
colorButton_enableMore : true,
|
136
|
-
|
137
|
-
colorButton_foreStyle :
|
138
|
-
{
|
139
|
-
element : 'font',
|
140
|
-
attributes : { 'color' : '#(color)' }
|
141
|
-
},
|
142
|
-
|
143
|
-
colorButton_backStyle :
|
144
|
-
{
|
145
|
-
element : 'font',
|
146
|
-
styles : { 'background-color' : '#(color)' }
|
147
|
-
},
|
148
|
-
|
149
|
-
|
150
|
-
on : { 'instanceReady' : configureFlashOutput }
|
151
|
-
});
|
152
|
-
|
153
|
-
/*
|
154
|
-
* Adjust the behavior of the dataProcessor to match the
|
155
|
-
* requirements of Flash
|
156
|
-
*/
|
157
|
-
function configureFlashOutput( ev )
|
158
|
-
{
|
159
|
-
var editor = ev.editor,
|
160
|
-
dataProcessor = editor.dataProcessor,
|
161
|
-
htmlFilter = dataProcessor && dataProcessor.htmlFilter;
|
162
|
-
|
163
|
-
// Out self closing tags the HTML4 way, like <br>.
|
164
|
-
dataProcessor.writer.selfClosingEnd = '>';
|
165
|
-
|
166
|
-
// Make output formatting match Flash expectations
|
167
|
-
var dtd = CKEDITOR.dtd;
|
168
|
-
for ( var e in CKEDITOR.tools.extend( {}, dtd.$nonBodyContent, dtd.$block, dtd.$listItem, dtd.$tableContent ) )
|
169
|
-
{
|
170
|
-
dataProcessor.writer.setRules( e,
|
171
|
-
{
|
172
|
-
indent : false,
|
173
|
-
breakBeforeOpen : false,
|
174
|
-
breakAfterOpen : false,
|
175
|
-
breakBeforeClose : false,
|
176
|
-
breakAfterClose : false
|
177
|
-
});
|
178
|
-
}
|
179
|
-
dataProcessor.writer.setRules( 'br',
|
180
|
-
{
|
181
|
-
indent : false,
|
182
|
-
breakBeforeOpen : false,
|
183
|
-
breakAfterOpen : false,
|
184
|
-
breakBeforeClose : false,
|
185
|
-
breakAfterClose : false
|
186
|
-
});
|
187
|
-
|
188
|
-
// Output properties as attributes, not styles.
|
189
|
-
htmlFilter.addRules(
|
190
|
-
{
|
191
|
-
elements :
|
192
|
-
{
|
193
|
-
$ : function( element )
|
194
|
-
{
|
195
|
-
var style, match, width, height, align;
|
196
|
-
|
197
|
-
// Output dimensions of images as width and height
|
198
|
-
if ( element.name == 'img' )
|
199
|
-
{
|
200
|
-
style = element.attributes.style;
|
201
|
-
|
202
|
-
if ( style )
|
203
|
-
{
|
204
|
-
// Get the width from the style.
|
205
|
-
match = /(?:^|\s)width\s*:\s*(\d+)px/i.exec( style );
|
206
|
-
width = match && match[1];
|
207
|
-
|
208
|
-
// Get the height from the style.
|
209
|
-
match = /(?:^|\s)height\s*:\s*(\d+)px/i.exec( style );
|
210
|
-
height = match && match[1];
|
211
|
-
|
212
|
-
if ( width )
|
213
|
-
{
|
214
|
-
element.attributes.style = element.attributes.style.replace( /(?:^|\s)width\s*:\s*(\d+)px;?/i , '' );
|
215
|
-
element.attributes.width = width;
|
216
|
-
}
|
217
|
-
|
218
|
-
if ( height )
|
219
|
-
{
|
220
|
-
element.attributes.style = element.attributes.style.replace( /(?:^|\s)height\s*:\s*(\d+)px;?/i , '' );
|
221
|
-
element.attributes.height = height;
|
222
|
-
}
|
223
|
-
}
|
224
|
-
}
|
225
|
-
|
226
|
-
// Output alignment of paragraphs using align
|
227
|
-
if ( element.name == 'p' )
|
228
|
-
{
|
229
|
-
style = element.attributes.style;
|
230
|
-
|
231
|
-
if ( style )
|
232
|
-
{
|
233
|
-
// Get the align from the style.
|
234
|
-
match = /(?:^|\s)text-align\s*:\s*(\w*);?/i.exec( style );
|
235
|
-
align = match && match[1];
|
236
|
-
|
237
|
-
if ( align )
|
238
|
-
{
|
239
|
-
element.attributes.style = element.attributes.style.replace( /(?:^|\s)text-align\s*:\s*(\w*);?/i , '' );
|
240
|
-
element.attributes.align = align;
|
241
|
-
}
|
242
|
-
}
|
243
|
-
}
|
244
|
-
|
245
|
-
if ( element.attributes.style === '' )
|
246
|
-
delete element.attributes.style;
|
247
|
-
|
248
|
-
return element;
|
249
|
-
}
|
250
|
-
}
|
251
|
-
|
252
|
-
} );
|
253
|
-
}
|
254
|
-
|
255
|
-
//]]>
|
256
|
-
</script>
|
257
|
-
<input type="button" value="Send to Flash" onclick="sendToFlash();" />
|
258
|
-
</td>
|
259
|
-
<td valign="top" style="padding-left: 15px" id="ckFlashContainer">
|
260
|
-
</td>
|
261
|
-
</tr>
|
262
|
-
</table>
|
263
|
-
|
264
|
-
<div id="footer">
|
265
|
-
<hr />
|
266
|
-
<p>
|
267
|
-
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
|
268
|
-
</p>
|
269
|
-
<p id="copy">
|
270
|
-
Copyright © 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
|
271
|
-
Knabben. All rights reserved.
|
272
|
-
</p>
|
273
|
-
</div>
|
274
|
-
</body>
|
275
|
-
</html>
|