ckeditor 4.0.8 → 4.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +49 -18
- data/app/assets/javascripts/ckeditor/init.js.erb +1 -9
- data/app/assets/javascripts/ckeditor/override.js.erb +1 -1
- data/lib/ckeditor.rb +1 -0
- data/lib/ckeditor/engine.rb +4 -0
- data/lib/ckeditor/hooks/pundit.rb +47 -0
- data/lib/ckeditor/version.rb +2 -2
- data/lib/generators/ckeditor/pundit_policy_generator.rb +22 -0
- data/lib/generators/ckeditor/templates/pundit_policy/attachment_file_policy.rb +20 -0
- data/lib/generators/ckeditor/templates/pundit_policy/picture_policy.rb +20 -0
- data/vendor/assets/javascripts/ckeditor/CHANGES.md +36 -0
- data/vendor/assets/javascripts/ckeditor/LICENSE.md +1 -1
- data/vendor/assets/javascripts/ckeditor/README.md +1 -1
- data/vendor/assets/javascripts/ckeditor/adapters/jquery.js +1 -1
- data/vendor/assets/javascripts/ckeditor/build-config.js +49 -51
- data/vendor/assets/javascripts/ckeditor/ckeditor.js +341 -338
- data/vendor/assets/javascripts/ckeditor/config.js +2 -2
- data/vendor/assets/javascripts/ckeditor/contents.css +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/af.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ar.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/bg.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/bn.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/bs.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ca.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/cs.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/cy.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/da.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/de.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/el.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/en-au.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/en.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/eo.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/es.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/et.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/eu.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/fa.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/fi.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/fo.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/fr.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/gl.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/gu.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/he.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/hi.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/hr.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/hu.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/id.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/is.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/it.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ja.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ka.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/km.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ko.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ku.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/lt.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/lv.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/mk.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/mn.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ms.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/nb.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/nl.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/no.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/pl.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/pt.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ro.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ru.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/si.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/sk.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/sl.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/sq.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/sr.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/sv.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/th.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/tr.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/ug.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/uk.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/vi.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +2 -2
- data/vendor/assets/javascripts/ckeditor/lang/zh.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +6 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +5 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +5 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +3 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +7 -5
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +5 -3
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +5 -3
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +5 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +4 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +5 -2
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +1 -1
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +2 -2
- data/vendor/assets/javascripts/ckeditor/skins/moono/readme.md +1 -1
- data/vendor/assets/javascripts/ckeditor/styles.js +2 -2
- metadata +10 -43
- data/vendor/assets/javascripts/ckeditor/samples/ajax.html +0 -82
- data/vendor/assets/javascripts/ckeditor/samples/api.html +0 -207
- data/vendor/assets/javascripts/ckeditor/samples/appendto.html +0 -57
- data/vendor/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +0 -204
- data/vendor/assets/javascripts/ckeditor/samples/assets/posteddata.php +0 -59
- data/vendor/assets/javascripts/ckeditor/samples/assets/sample.css +0 -3
- data/vendor/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +0 -7
- data/vendor/assets/javascripts/ckeditor/samples/datafiltering.html +0 -401
- data/vendor/assets/javascripts/ckeditor/samples/divreplace.html +0 -141
- data/vendor/assets/javascripts/ckeditor/samples/index.html +0 -128
- data/vendor/assets/javascripts/ckeditor/samples/inlineall.html +0 -311
- data/vendor/assets/javascripts/ckeditor/samples/inlinebycode.html +0 -121
- data/vendor/assets/javascripts/ckeditor/samples/inlinetextarea.html +0 -110
- data/vendor/assets/javascripts/ckeditor/samples/jquery.html +0 -97
- data/vendor/assets/javascripts/ckeditor/samples/plugins/dialog/assets/my_dialog.js +0 -48
- data/vendor/assets/javascripts/ckeditor/samples/plugins/dialog/dialog.html +0 -187
- data/vendor/assets/javascripts/ckeditor/samples/plugins/enterkey/enterkey.html +0 -103
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +0 -18
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +0 -280
- data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputhtml.html +0 -221
- data/vendor/assets/javascripts/ckeditor/samples/plugins/magicline/magicline.html +0 -206
- data/vendor/assets/javascripts/ckeditor/samples/plugins/toolbar/toolbar.html +0 -232
- data/vendor/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +0 -77
- data/vendor/assets/javascripts/ckeditor/samples/readonly.html +0 -73
- data/vendor/assets/javascripts/ckeditor/samples/replacebyclass.html +0 -57
- data/vendor/assets/javascripts/ckeditor/samples/replacebycode.html +0 -56
- data/vendor/assets/javascripts/ckeditor/samples/sample.css +0 -356
- data/vendor/assets/javascripts/ckeditor/samples/sample.js +0 -50
- data/vendor/assets/javascripts/ckeditor/samples/sample_posteddata.php +0 -16
- data/vendor/assets/javascripts/ckeditor/samples/tabindex.html +0 -75
- data/vendor/assets/javascripts/ckeditor/samples/uicolor.html +0 -69
- data/vendor/assets/javascripts/ckeditor/samples/uilanguages.html +0 -119
- data/vendor/assets/javascripts/ckeditor/samples/xhtmlstyle.html +0 -231
data/README.md
CHANGED
@@ -10,13 +10,21 @@ CKEditor is a ready-for-use HTML text editor designed to simplify web content cr
|
|
10
10
|
* Files browser
|
11
11
|
* HTML5 files uploader
|
12
12
|
* Hooks for formtastic and simple_form forms generators
|
13
|
+
* Integrated with authorization framework CanCan and Pundit
|
13
14
|
|
14
15
|
## Installation
|
15
16
|
|
16
17
|
For basic usage just include ckeditor gem:
|
17
18
|
|
18
19
|
```
|
19
|
-
gem
|
20
|
+
gem 'ckeditor'
|
21
|
+
```
|
22
|
+
#### Using with ruby 1.8.7
|
23
|
+
|
24
|
+
For usage with ruby 1.8.7 you need to specify gem version:
|
25
|
+
|
26
|
+
```
|
27
|
+
gem 'ckeditor', '4.0.4'
|
20
28
|
```
|
21
29
|
|
22
30
|
For files uploading support you need generage models for file storage.
|
@@ -32,7 +40,7 @@ Currently supported next backends:
|
|
32
40
|
For active_record orm is used paperclip gem (it's by default).
|
33
41
|
|
34
42
|
```
|
35
|
-
gem
|
43
|
+
gem 'paperclip'
|
36
44
|
|
37
45
|
rails generate ckeditor:install --orm=active_record --backend=paperclip
|
38
46
|
```
|
@@ -40,8 +48,8 @@ rails generate ckeditor:install --orm=active_record --backend=paperclip
|
|
40
48
|
#### ActiveRecord + carrierwave
|
41
49
|
|
42
50
|
```
|
43
|
-
gem
|
44
|
-
gem
|
51
|
+
gem 'carrierwave'
|
52
|
+
gem 'mini_magick'
|
45
53
|
|
46
54
|
rails generate ckeditor:install --orm=active_record --backend=carrierwave
|
47
55
|
```
|
@@ -57,8 +65,8 @@ rails generate ckeditor:install --orm=mongoid --backend=paperclip
|
|
57
65
|
#### Mongoid + carrierwave
|
58
66
|
|
59
67
|
```
|
60
|
-
gem
|
61
|
-
gem
|
68
|
+
gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
|
69
|
+
gem 'mini_magick'
|
62
70
|
|
63
71
|
rails generate ckeditor:install --orm=mongoid --backend=carrierwave
|
64
72
|
```
|
@@ -75,7 +83,7 @@ config.autoload_paths += %W(#{config.root}/app/models/ckeditor)
|
|
75
83
|
Mount engine in your routes (config/routes.rb):
|
76
84
|
|
77
85
|
```ruby
|
78
|
-
mount Ckeditor::Engine =>
|
86
|
+
mount Ckeditor::Engine => '/ckeditor'
|
79
87
|
```
|
80
88
|
|
81
89
|
## Usage
|
@@ -91,11 +99,11 @@ Form helpers:
|
|
91
99
|
```erb
|
92
100
|
<%= form_for @page do |form| -%>
|
93
101
|
...
|
94
|
-
<%= form.cktext_area :notes, :class =>
|
102
|
+
<%= form.cktext_area :notes, :class => 'someclass', :ckeditor => {:language => 'uk'} %>
|
95
103
|
...
|
96
|
-
<%= form.cktext_area :content, :value =>
|
104
|
+
<%= form.cktext_area :content, :value => 'Default value', :id => 'sometext' %>
|
97
105
|
...
|
98
|
-
<%= cktext_area :page, :info, :cols => 40, :ckeditor => {:uiColor =>
|
106
|
+
<%= cktext_area :page, :info, :cols => 40, :ckeditor => {:uiColor => '#AADC6E', :toolbar => 'mini'} %>
|
99
107
|
...
|
100
108
|
<% end -%>
|
101
109
|
```
|
@@ -158,7 +166,7 @@ after 'deploy:assets:precompile', 'copy_nondigest_assets'
|
|
158
166
|
Periodically check your error monitoring tool, if you see some part of ckeditor try to load
|
159
167
|
unexisting non-digest asset - if so just add it in the ckeditor rake task.
|
160
168
|
|
161
|
-
Also you can use gem [non-stupid-digest-assets](https://rubygems.org/gems/non-stupid-digest-assets), which do the same work.
|
169
|
+
Also you can use gem [non-stupid-digest-assets](https://rubygems.org/gems/non-stupid-digest-assets), which do the same work.
|
162
170
|
|
163
171
|
To reduce the asset precompilation time, you can limit plugins and/or languages to those you need:
|
164
172
|
|
@@ -178,7 +186,7 @@ jQuery sample:
|
|
178
186
|
```html
|
179
187
|
<script type='text/javascript' charset='UTF-8'>
|
180
188
|
$(document).ready(function(){
|
181
|
-
$('form[data-remote]').bind(
|
189
|
+
$('form[data-remote]').bind('ajax:before', function(){
|
182
190
|
for (instance in CKEDITOR.instances){
|
183
191
|
CKEDITOR.instances[instance].updateElement();
|
184
192
|
}
|
@@ -224,18 +232,41 @@ can [:read, :create, :destroy], Ckeditor::Picture
|
|
224
232
|
can [:read, :create, :destroy], Ckeditor::AttachmentFile
|
225
233
|
```
|
226
234
|
|
235
|
+
### Pundit integration
|
236
|
+
|
237
|
+
Just like CanCan, you can write this code in your config/initializers/ckeditor.rb file
|
238
|
+
|
239
|
+
```ruby
|
240
|
+
Ckeditor.setup do |config|
|
241
|
+
config.authorize_with :pundit
|
242
|
+
end
|
243
|
+
```
|
244
|
+
|
245
|
+
And then, generate the policy files for model **Picture** and **AttachmentFile**
|
246
|
+
|
247
|
+
```
|
248
|
+
$ rails g ckeditor:pundit_policy
|
249
|
+
```
|
250
|
+
By this command, you will got two files:
|
251
|
+
> app/policies/ckeditor/picture_policy.rb
|
252
|
+
app/policies/ckeditor/attachment_file_policy.rb
|
253
|
+
|
254
|
+
By default, only the user that logged in can access the models(with action *index* and *create*), and only the owner of the asset can **destroy** the resource.
|
255
|
+
|
256
|
+
You can simply customize these two policy files as you like.
|
257
|
+
|
227
258
|
## I18n
|
228
259
|
|
229
260
|
```yml
|
230
261
|
en:
|
231
262
|
ckeditor:
|
232
|
-
page_title:
|
233
|
-
confirm_delete:
|
263
|
+
page_title: 'CKEditor Files Manager'
|
264
|
+
confirm_delete: 'Delete file?'
|
234
265
|
buttons:
|
235
|
-
cancel:
|
236
|
-
upload:
|
237
|
-
delete:
|
238
|
-
next:
|
266
|
+
cancel: 'Cancel'
|
267
|
+
upload: 'Upload'
|
268
|
+
delete: 'Delete'
|
269
|
+
next: 'Next'
|
239
270
|
```
|
240
271
|
|
241
272
|
## Tests
|
@@ -3,14 +3,6 @@
|
|
3
3
|
|
4
4
|
(function() {
|
5
5
|
if (typeof window['CKEDITOR_BASEPATH'] === "undefined" || window['CKEDITOR_BASEPATH'] === null) {
|
6
|
-
window['CKEDITOR_BASEPATH'] = "<%= asset_path('ckeditor') %>/";
|
6
|
+
window['CKEDITOR_BASEPATH'] = "<%= asset_path('assets/ckeditor') %>/";
|
7
7
|
}
|
8
8
|
}).call(this);
|
9
|
-
|
10
|
-
function ck_load() {
|
11
|
-
$('.ckeditor').each(function(){
|
12
|
-
CKEDITOR.replace( $(this).attr('name') );
|
13
|
-
});
|
14
|
-
}
|
15
|
-
|
16
|
-
$(document).on('page:load', ck_load);
|
@@ -14,7 +14,7 @@ window.CKEDITOR_GETURL = function( resource ) {
|
|
14
14
|
// Add the timestamp, except for directories.
|
15
15
|
if ( resource.charAt( resource.length - 1 ) != '/' ){
|
16
16
|
var url = resource.match( /^(.*?:\/\/[^\/]*)\/assets\/(.+)/ );
|
17
|
-
if(url) resource =
|
17
|
+
if(url) resource = (CKEDITOR_ASSETS_MAPPING[url[2]] || '/assets/' + url[2]);
|
18
18
|
}
|
19
19
|
|
20
20
|
return resource;
|
data/lib/ckeditor.rb
CHANGED
data/lib/ckeditor/engine.rb
CHANGED
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'pundit'
|
2
|
+
|
3
|
+
module Ckeditor
|
4
|
+
module Hooks
|
5
|
+
# This adapter is for the Pundit[https://github.com/elabs/pundit] authorization library.
|
6
|
+
# You can create another adapter for different authorization behavior, just be certain it
|
7
|
+
# responds to each of the public methods here.
|
8
|
+
class PunditAuthorization
|
9
|
+
|
10
|
+
include Ckeditor::Helpers::Controllers
|
11
|
+
|
12
|
+
# See the +authorize_with+ config method for where the initialization happens.
|
13
|
+
def initialize(controller)
|
14
|
+
@controller = controller
|
15
|
+
@controller.extend ControllerExtension
|
16
|
+
end
|
17
|
+
|
18
|
+
# This method is called in every controller action and should raise an exception
|
19
|
+
# when the authorization fails. The first argument is the name of the controller
|
20
|
+
# action as a symbol (:create, :destroy, etc.). The second argument is the actual model
|
21
|
+
# instance if it is available.
|
22
|
+
def authorize(action, model_object = nil)
|
23
|
+
raise Pundit::NotAuthorizedError unless authorized?(action, model_object)
|
24
|
+
end
|
25
|
+
|
26
|
+
# This method is called primarily from the view to determine whether the given user
|
27
|
+
# has access to perform the action on a given model. It should return true when authorized.
|
28
|
+
# This takes the same arguments as +authorize+. The difference is that this will
|
29
|
+
# return a boolean whereas +authorize+ will raise an exception when not authorized.
|
30
|
+
def authorized?(action, model_object = nil)
|
31
|
+
Pundit.policy(@controller.current_user_for_pundit, model_object).public_send(action + '?' ) if action
|
32
|
+
end
|
33
|
+
|
34
|
+
private
|
35
|
+
|
36
|
+
module ControllerExtension
|
37
|
+
def current_user_for_pundit
|
38
|
+
# use ckeditor_current_user instead of default current_user so it works with
|
39
|
+
# whatever current user method is defined with Ckeditor
|
40
|
+
ckeditor_current_user
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
Ckeditor::AUTHORIZATION_ADAPTERS[:pundit] = Ckeditor::Hooks::PunditAuthorization
|
data/lib/ckeditor/version.rb
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module Ckeditor
|
4
|
+
module Generators
|
5
|
+
class PunditPolicyGenerator < Rails::Generators::Base
|
6
|
+
|
7
|
+
desc "Generates policy files for Pundit"
|
8
|
+
|
9
|
+
def self.source_root
|
10
|
+
@source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
11
|
+
end
|
12
|
+
|
13
|
+
# copy configuration
|
14
|
+
def copy_policy_files
|
15
|
+
[:picture, :attachment_file].each do |model_name|
|
16
|
+
template "pundit_policy/#{model_name}_policy.rb", "app/policies/ckeditor/#{model_name}_policy.rb"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class Ckeditor::AttachmentFilePolicy
|
2
|
+
attr_reader :user, :attachment
|
3
|
+
|
4
|
+
def initialize(user, attachment)
|
5
|
+
@user = user
|
6
|
+
@attachment = attachment
|
7
|
+
end
|
8
|
+
|
9
|
+
def index?
|
10
|
+
true and ! @user.nil?
|
11
|
+
end
|
12
|
+
|
13
|
+
def create?
|
14
|
+
true and ! @user.nil?
|
15
|
+
end
|
16
|
+
|
17
|
+
def destroy?
|
18
|
+
@attachment.assetable_id == @user.id
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class Ckeditor::PicturePolicy
|
2
|
+
attr_reader :user, :picture
|
3
|
+
|
4
|
+
def initialize(user, picture)
|
5
|
+
@user = user
|
6
|
+
@picture = picture
|
7
|
+
end
|
8
|
+
|
9
|
+
def index?
|
10
|
+
true and ! @user.nil?
|
11
|
+
end
|
12
|
+
|
13
|
+
def create?
|
14
|
+
true and ! @user.nil?
|
15
|
+
end
|
16
|
+
|
17
|
+
def destroy?
|
18
|
+
@picture.assetable_id == @user.id
|
19
|
+
end
|
20
|
+
end
|
@@ -1,6 +1,42 @@
|
|
1
1
|
CKEditor 4 Changelog
|
2
2
|
====================
|
3
3
|
|
4
|
+
## CKEditor 4.3.2
|
5
|
+
|
6
|
+
* [#11331](http://dev.ckeditor.com/ticket/11331): A menu button will have a changed label when selected instead of using the `aria-pressed` attribute.
|
7
|
+
* [#11177](http://dev.ckeditor.com/ticket/11177): Widget drag handler improvements:
|
8
|
+
* [#11176](http://dev.ckeditor.com/ticket/11176): Fixed: Initial position is not updated when the widget data object is empty.
|
9
|
+
* [#11001](http://dev.ckeditor.com/ticket/11001): Fixed: Multiple synchronous layout recalculations are caused by initial drag handler positioning causing performance issues.
|
10
|
+
* [#11161](http://dev.ckeditor.com/ticket/11161): Fixed: Drag handler is not repositioned in various situations.
|
11
|
+
* [#11281](http://dev.ckeditor.com/ticket/11281): Fixed: Drag handler and mask are duplicated after widget reinitialization.
|
12
|
+
* [#11207](http://dev.ckeditor.com/ticket/11207): [Firefox] Fixed: Misplaced [Enhanced Image](http://ckeditor.com/addon/image2) resizer in the inline editor.
|
13
|
+
* [#11102](http://dev.ckeditor.com/ticket/11102): `CKEDITOR.template` improvements:
|
14
|
+
* [#11102](http://dev.ckeditor.com/ticket/11102): Added newline character support.
|
15
|
+
* [#11216](http://dev.ckeditor.com/ticket/11216): Added "\\'" substring support.
|
16
|
+
* [#11121](http://dev.ckeditor.com/ticket/11121): [Firefox] Fixed: High Contrast mode is enabled when the editor is loaded in a hidden iframe.
|
17
|
+
* [#11350](http://dev.ckeditor.com/ticket/11350): The default value of [`config.contentsCss`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss) is affected by [`CKEDITOR.getUrl`](http://docs.ckeditor.com/#!/api/CKEDITOR-method-getUrl).
|
18
|
+
* [#11097](http://dev.ckeditor.com/ticket/11097): Improved the [Autogrow](http://ckeditor.com/addon/autogrow) plugin performance when dealing with very big tables.
|
19
|
+
* [#11290](http://dev.ckeditor.com/ticket/11290): Removed redundant code in the [Source Dialog](http://ckeditor.com/addon/sourcedialog) plugin.
|
20
|
+
* [#11133](http://dev.ckeditor.com/ticket/11133): [Page Break](http://ckeditor.com/addon/pagebreak) becomes editable if pasted.
|
21
|
+
* [#11126](http://dev.ckeditor.com/ticket/11126): Fixed: Native Undo executed once the bottom of the snapshot stack is reached.
|
22
|
+
* [#11131](http://dev.ckeditor.com/ticket/11131): [Div Editing Area](http://ckeditor.com/addon/divarea): Fixed: Error thrown when switching to source mode if the selection was in widget's nested editable.
|
23
|
+
* [#11139](http://dev.ckeditor.com/ticket/11139): [Div Editing Area](http://ckeditor.com/addon/divarea): Fixed: Elements Path is not cleared after switching to source mode.
|
24
|
+
* [#10778](http://dev.ckeditor.com/ticket/10778): Fixed a bug with range enlargement. The range no longer expands to visible whitespace.
|
25
|
+
* [#11146](http://dev.ckeditor.com/ticket/11146): [IE] Fixed: Preview window switches Internet Explorer to Quirks Mode.
|
26
|
+
* [#10762](http://dev.ckeditor.com/ticket/10762): [IE] Fixed: JavaScript code displayed in preview window's URL bar.
|
27
|
+
* [#11186](http://dev.ckeditor.com/ticket/11186): Introduced the [`widgets.repository.addUpcastCallback`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-addUpcastCallback) method that allows to block upcasting given element to a widget.
|
28
|
+
* [#11307](http://dev.ckeditor.com/ticket/11307): Fixed: Paste as Plain Text conflict with the [MooTools](http://mootools.net) library.
|
29
|
+
* [#11140](http://dev.ckeditor.com/ticket/11140): [IE11] Fixed: Anchors are not draggable.
|
30
|
+
* [#11379](http://dev.ckeditor.com/ticket/11379): Changed default contents `line-height` to unitless values to avoid huge text overlapping (like in [#9696](http://dev.ckeditor.com/ticket/9696)).
|
31
|
+
* [#10787](http://dev.ckeditor.com/ticket/10787): [Firefox] Fixed: Broken replacement of text while pasting into `div`-based editor.
|
32
|
+
* [#10884](http://dev.ckeditor.com/ticket/10884): Widgets integration with the [Show Blocks](http://ckeditor.com/addon/showblocks) plugin.
|
33
|
+
* [#11021](http://dev.ckeditor.com/ticket/11021): Fixed: An error thrown when selecting entire editable contents while fake selection is on.
|
34
|
+
* [#11086](http://dev.ckeditor.com/ticket/11086): [IE8] Re-enable inline widgets drag&drop in Internet Explorer 8.
|
35
|
+
* [#11372](http://dev.ckeditor.com/ticket/11372): Widgets: Special characters encoded twice in nested editables.
|
36
|
+
* [#10068](http://dev.ckeditor.com/ticket/10068): Fixed: Support for protocol-relative URLs.
|
37
|
+
* [#11283](http://dev.ckeditor.com/ticket/11283): [Enhanced Image](http://ckeditor.com/addon/image2): A `<div>` element with `text-align: center` and an image inside is not recognised correctly.
|
38
|
+
* [#11196](http://dev.ckeditor.com/ticket/11196): [Accessibility Instructions](http://ckeditor.com/addon/a11yhelp): Allowed additional keyboard button labels to be translated in the dialog window.
|
39
|
+
|
4
40
|
## CKEditor 4.3.1
|
5
41
|
|
6
42
|
**Important Notes:**
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
2
2
|
==========================
|
3
3
|
|
4
4
|
CKEditor - The text editor for Internet - http://ckeditor.com
|
5
|
-
Copyright (c) 2003-
|
5
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
6
6
|
|
7
7
|
Licensed under the terms of any of the following licenses at your
|
8
8
|
choice:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
CKEditor 4
|
2
2
|
==========
|
3
3
|
|
4
|
-
Copyright (c) 2003-
|
4
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
5
5
|
http://ckeditor.com - See LICENSE.md for license information.
|
6
6
|
|
7
7
|
CKEditor is a text editor to be used inside web pages. It's not a replacement
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Copyright (c) 2003-
|
2
|
+
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
3
3
|
For licensing, see LICENSE.md or http://ckeditor.com/license
|
4
4
|
*/
|
5
5
|
(function(a){CKEDITOR.config.jqueryOverrideVal="undefined"==typeof CKEDITOR.config.jqueryOverrideVal?!0:CKEDITOR.config.jqueryOverrideVal;"undefined"!=typeof a&&(a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor is not initialized yet, use ckeditor() with a callback.";return a},ckeditor:function(g,d){if(!CKEDITOR.env.isCompatible)throw Error("The environment is incompatible.");if(!a.isFunction(g))var k=d,d=g,g=k;var i=[],d=d||{};this.each(function(){var b=
|
@@ -1,14 +1,25 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
*
|
4
|
-
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
1
|
+
/**
|
2
|
+
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
5
4
|
*/
|
6
5
|
|
7
6
|
/**
|
8
7
|
* This file was added automatically by CKEditor builder.
|
9
|
-
* You may re-use it at any time
|
10
|
-
*
|
11
|
-
*
|
8
|
+
* You may re-use it at any time to build CKEditor again.
|
9
|
+
*
|
10
|
+
* If you would like to build CKEditor online again
|
11
|
+
* (for example to upgrade), visit one the following links:
|
12
|
+
*
|
13
|
+
* (1) http://ckeditor.com/builder
|
14
|
+
* Visit online builder to build CKEditor from scratch.
|
15
|
+
*
|
16
|
+
* (2) http://ckeditor.com/builder/0a65b3bcdcd34789da36844fa1d0eb27
|
17
|
+
* Visit online builder to build CKEditor, starting with the same setup as before.
|
18
|
+
*
|
19
|
+
* (3) http://ckeditor.com/builder/download/0a65b3bcdcd34789da36844fa1d0eb27
|
20
|
+
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
|
21
|
+
*
|
22
|
+
* NOTE:
|
12
23
|
* This file is not used by CKEditor, you may remove it.
|
13
24
|
* Changing this file will not change your CKEditor configuration.
|
14
25
|
*/
|
@@ -24,20 +35,17 @@ var CKBUILDER_CONFIG = {
|
|
24
35
|
'.mailmap'
|
25
36
|
],
|
26
37
|
plugins : {
|
27
|
-
'about' : 1,
|
28
38
|
'a11yhelp' : 1,
|
29
|
-
'
|
39
|
+
'about' : 1,
|
30
40
|
'basicstyles' : 1,
|
31
41
|
'bidi' : 1,
|
32
42
|
'blockquote' : 1,
|
33
43
|
'clipboard' : 1,
|
34
44
|
'colorbutton' : 1,
|
35
45
|
'colordialog' : 1,
|
36
|
-
'templates' : 1,
|
37
46
|
'contextmenu' : 1,
|
47
|
+
'dialogadvtab' : 1,
|
38
48
|
'div' : 1,
|
39
|
-
'resize' : 1,
|
40
|
-
'toolbar' : 1,
|
41
49
|
'elementspath' : 1,
|
42
50
|
'enterkey' : 1,
|
43
51
|
'entities' : 1,
|
@@ -46,16 +54,14 @@ var CKBUILDER_CONFIG = {
|
|
46
54
|
'flash' : 1,
|
47
55
|
'floatingspace' : 1,
|
48
56
|
'font' : 1,
|
49
|
-
'forms' : 1,
|
50
57
|
'format' : 1,
|
58
|
+
'forms' : 1,
|
51
59
|
'horizontalrule' : 1,
|
52
60
|
'htmlwriter' : 1,
|
53
61
|
'iframe' : 1,
|
54
|
-
'wysiwygarea' : 1,
|
55
62
|
'image' : 1,
|
56
63
|
'indentblock' : 1,
|
57
64
|
'indentlist' : 1,
|
58
|
-
'smiley' : 1,
|
59
65
|
'justify' : 1,
|
60
66
|
'language' : 1,
|
61
67
|
'link' : 1,
|
@@ -65,103 +71,95 @@ var CKBUILDER_CONFIG = {
|
|
65
71
|
'maximize' : 1,
|
66
72
|
'newpage' : 1,
|
67
73
|
'pagebreak' : 1,
|
68
|
-
'pastetext' : 1,
|
69
74
|
'pastefromword' : 1,
|
75
|
+
'pastetext' : 1,
|
70
76
|
'preview' : 1,
|
71
77
|
'print' : 1,
|
72
78
|
'removeformat' : 1,
|
79
|
+
'resize' : 1,
|
73
80
|
'save' : 1,
|
81
|
+
'scayt' : 1,
|
74
82
|
'selectall' : 1,
|
75
83
|
'showblocks' : 1,
|
76
84
|
'showborders' : 1,
|
85
|
+
'smiley' : 1,
|
77
86
|
'sourcearea' : 1,
|
78
87
|
'specialchar' : 1,
|
79
|
-
'scayt' : 1,
|
80
88
|
'stylescombo' : 1,
|
81
89
|
'tab' : 1,
|
82
90
|
'table' : 1,
|
83
91
|
'tabletools' : 1,
|
92
|
+
'templates' : 1,
|
93
|
+
'toolbar' : 1,
|
84
94
|
'undo' : 1,
|
85
95
|
'wsc' : 1,
|
86
|
-
'
|
87
|
-
'dialogui' : 1,
|
88
|
-
'panelbutton' : 1,
|
89
|
-
'button' : 1,
|
90
|
-
'floatpanel' : 1,
|
91
|
-
'panel' : 1,
|
92
|
-
'menu' : 1,
|
93
|
-
'popup' : 1,
|
94
|
-
'fakeobjects' : 1,
|
95
|
-
'richcombo' : 1,
|
96
|
-
'listblock' : 1,
|
97
|
-
'indent' : 1,
|
98
|
-
'menubutton' : 1
|
96
|
+
'wysiwygarea' : 1
|
99
97
|
},
|
100
98
|
languages : {
|
101
99
|
'af' : 1,
|
102
|
-
'sq' : 1,
|
103
100
|
'ar' : 1,
|
104
|
-
'
|
101
|
+
'bg' : 1,
|
105
102
|
'bn' : 1,
|
106
103
|
'bs' : 1,
|
107
|
-
'bg' : 1,
|
108
104
|
'ca' : 1,
|
109
|
-
'zh-cn' : 1,
|
110
|
-
'zh' : 1,
|
111
|
-
'hr' : 1,
|
112
105
|
'cs' : 1,
|
106
|
+
'cy' : 1,
|
113
107
|
'da' : 1,
|
114
|
-
'
|
108
|
+
'de' : 1,
|
109
|
+
'el' : 1,
|
115
110
|
'en' : 1,
|
116
111
|
'en-au' : 1,
|
117
112
|
'en-ca' : 1,
|
118
113
|
'en-gb' : 1,
|
119
114
|
'eo' : 1,
|
115
|
+
'es' : 1,
|
120
116
|
'et' : 1,
|
121
|
-
'
|
117
|
+
'eu' : 1,
|
118
|
+
'fa' : 1,
|
122
119
|
'fi' : 1,
|
120
|
+
'fo' : 1,
|
123
121
|
'fr' : 1,
|
124
122
|
'fr-ca' : 1,
|
125
123
|
'gl' : 1,
|
126
|
-
'ka' : 1,
|
127
|
-
'de' : 1,
|
128
|
-
'el' : 1,
|
129
124
|
'gu' : 1,
|
130
125
|
'he' : 1,
|
131
126
|
'hi' : 1,
|
127
|
+
'hr' : 1,
|
132
128
|
'hu' : 1,
|
133
|
-
'is' : 1,
|
134
129
|
'id' : 1,
|
130
|
+
'is' : 1,
|
135
131
|
'it' : 1,
|
136
132
|
'ja' : 1,
|
133
|
+
'ka' : 1,
|
137
134
|
'km' : 1,
|
138
135
|
'ko' : 1,
|
139
136
|
'ku' : 1,
|
140
|
-
'lv' : 1,
|
141
137
|
'lt' : 1,
|
138
|
+
'lv' : 1,
|
142
139
|
'mk' : 1,
|
143
|
-
'ms' : 1,
|
144
140
|
'mn' : 1,
|
145
|
-
'
|
141
|
+
'ms' : 1,
|
146
142
|
'nb' : 1,
|
147
|
-
'
|
143
|
+
'nl' : 1,
|
144
|
+
'no' : 1,
|
148
145
|
'pl' : 1,
|
149
|
-
'pt-br' : 1,
|
150
146
|
'pt' : 1,
|
147
|
+
'pt-br' : 1,
|
151
148
|
'ro' : 1,
|
152
149
|
'ru' : 1,
|
153
|
-
'sr' : 1,
|
154
|
-
'sr-latn' : 1,
|
155
150
|
'si' : 1,
|
156
151
|
'sk' : 1,
|
157
152
|
'sl' : 1,
|
158
|
-
'
|
153
|
+
'sq' : 1,
|
154
|
+
'sr' : 1,
|
155
|
+
'sr-latn' : 1,
|
159
156
|
'sv' : 1,
|
160
157
|
'th' : 1,
|
161
158
|
'tr' : 1,
|
162
159
|
'ug' : 1,
|
163
160
|
'uk' : 1,
|
164
161
|
'vi' : 1,
|
165
|
-
'
|
162
|
+
'zh' : 1,
|
163
|
+
'zh-cn' : 1
|
166
164
|
}
|
167
165
|
};
|