drg_default_html_editor 0.6.0.0 → 0.7.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/close.png +0 -0
- data/app/assets/images/lock-open.png +0 -0
- data/app/assets/images/lock.png +0 -0
- data/app/assets/images/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/CHANGES.md +832 -163
- data/app/assets/javascripts/ckeditor/LICENSE.md +23 -7
- data/app/assets/javascripts/ckeditor/README.md +5 -5
- data/app/assets/javascripts/ckeditor/SECURITY.md +10 -0
- data/app/assets/javascripts/ckeditor/adapters/jquery.js +6 -6
- data/app/assets/javascripts/ckeditor/bender-runner.config.json +16 -0
- data/app/assets/javascripts/ckeditor/build-config.js +30 -12
- data/app/assets/javascripts/ckeditor/ckeditor.js +1216 -1040
- data/app/assets/javascripts/ckeditor/config.js +9 -32
- data/app/assets/javascripts/ckeditor/contents.css +1 -1
- data/app/assets/javascripts/ckeditor/lang/af.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ar.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/az.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/bg.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/bn.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/bs.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ca.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/cs.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/cy.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/da.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/de-ch.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/de.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/el.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/en-au.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/en-ca.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/en-gb.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/en.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/eo.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/es-mx.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/es.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/et.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/eu.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fa.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fi.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fo.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fr-ca.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/fr.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/gl.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/gu.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/he.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/hi.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/hr.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/hu.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/id.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/is.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/it.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ja.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ka.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/km.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ko.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ku.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/lt.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/lv.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/mk.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/mn.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ms.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/nb.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/nl.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/no.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/oc.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/pl.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/pt-br.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/pt.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ro.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ru.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/si.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sk.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sl.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sq.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sr-latn.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sr.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/sv.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/th.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/tr.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/tt.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/ug.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/uk.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/vi.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/zh-cn.js +3 -3
- data/app/assets/javascripts/ckeditor/lang/zh.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +8 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +10 -9
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +8 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +4 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +8 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +4 -3
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +8 -7
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +3 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +4 -4
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +2 -2
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.css +1 -1
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +25 -0
- data/app/assets/javascripts/ckeditor/plugins/copyformatting/cursors/cursor.svg +14 -0
- data/app/assets/javascripts/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
- data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/dialog/styles/dialog.css +18 -0
- data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -8
- data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +26 -0
- data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image-org.js +44 -0
- data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +1286 -44
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +5 -5
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +26 -24
- data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +39 -52
- data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/common.js +24 -0
- data/app/assets/javascripts/ckeditor/plugins/pastetools/filter/image.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +13 -0
- data/app/assets/javascripts/ckeditor/plugins/preview/styles/screen.css +10 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +1 -17
- data/app/assets/javascripts/ckeditor/plugins/scayt/README.md +63 -7
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -32
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +3 -3
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +6 -6
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +8 -10
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +10 -10
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +11 -11
- data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +19 -18
- data/app/assets/javascripts/ckeditor/plugins/tableselection/styles/tableselection.css +10 -0
- data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +15 -15
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templatedefinition.js +4 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/app/assets/javascripts/ckeditor/samples/css/samples.css +1 -1
- data/app/assets/javascripts/ckeditor/samples/index.html +11 -9
- data/app/assets/javascripts/ckeditor/samples/js/sample.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/js/sf.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/ajax.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/api.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/appendto.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/assets/posteddata.php +4 -3
- data/app/assets/javascripts/ckeditor/samples/old/assets/uilanguages/languages.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/datafiltering.html +8 -8
- data/app/assets/javascripts/ckeditor/samples/old/dialog/assets/my_dialog.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/dialog/dialog.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/divreplace.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/enterkey/enterkey.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/outputhtml.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/index.html +11 -13
- data/app/assets/javascripts/ckeditor/samples/old/inlineall.html +6 -6
- data/app/assets/javascripts/ckeditor/samples/old/inlinebycode.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/inlinetextarea.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/jquery.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/magicline/magicline.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/readonly.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/replacebyclass.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/replacebycode.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/sample.css +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/sample.js +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/sample_posteddata.php +1 -1
- data/app/assets/javascripts/ckeditor/samples/old/tabindex.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/toolbar/toolbar.html +4 -4
- data/app/assets/javascripts/ckeditor/samples/old/uicolor.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/uilanguages.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/wysiwygarea/fullpage.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/old/xhtmlstyle.html +5 -5
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/index.html +7 -6
- data/app/assets/javascripts/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +4 -4
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
- data/app/assets/javascripts/ckeditor/skins/{moono → moono-lisa}/readme.md +9 -12
- data/app/assets/javascripts/ckeditor/styles.js +1 -1
- data/app/assets/javascripts/ckeditor/vendor/promise.js +13 -0
- data/app/assets/javascripts/drg_default_html_editor_cms.js +1 -4
- data/app/assets/stylesheets/drg_default_html_editor_cms.css +3 -3
- data/app/models/drgcms_form_fields/ckeditor.rb +12 -13
- data/lib/drg_default_html_editor/version.rb +1 -1
- data/lib/drg_default_html_editor.rb +2 -2
- data/lib/tasks/drg_default_html_editor_tasks.rake +16 -4
- metadata +95 -166
- data/app/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +0 -196
- data/app/assets/javascripts/ckeditor/plugins/pastecode/CHANGES.md +0 -8
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/LICENSE.md +0 -1242
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/README.md +0 -23
- data/app/assets/javascripts/ckeditor/plugins/pastefromexcel/tests/pastefromexcel.js +0 -6
- data/app/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -28
- data/app/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -25
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -91
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
- data/app/assets/javascripts/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +0 -43
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/assets/outputforflash/swfobject.js +0 -19
- data/app/assets/javascripts/ckeditor/samples/old/htmlwriter/outputforflash.html +0 -283
- data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +0 -5
- data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/anchor.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/anchor.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
- data/app/assets/javascripts/elfinder/Changelog +0 -494
- data/app/assets/javascripts/elfinder/LICENSE.md +0 -15
- data/app/assets/javascripts/elfinder/README.md +0 -209
- data/app/assets/javascripts/elfinder/bower.json +0 -28
- data/app/assets/javascripts/elfinder/composer.json +0 -39
- data/app/assets/javascripts/elfinder/css/elfinder.full.css +0 -3034
- data/app/assets/javascripts/elfinder/css/elfinder.min.css +0 -9
- data/app/assets/javascripts/elfinder/css/theme.css +0 -68
- data/app/assets/javascripts/elfinder/elfinder.html +0 -61
- data/app/assets/javascripts/elfinder/img/arrows-active.png +0 -0
- data/app/assets/javascripts/elfinder/img/arrows-normal.png +0 -0
- data/app/assets/javascripts/elfinder/img/crop.gif +0 -0
- data/app/assets/javascripts/elfinder/img/dialogs.png +0 -0
- data/app/assets/javascripts/elfinder/img/icons-big.png +0 -0
- data/app/assets/javascripts/elfinder/img/icons-small.png +0 -0
- data/app/assets/javascripts/elfinder/img/logo.png +0 -0
- data/app/assets/javascripts/elfinder/img/progress.gif +0 -0
- data/app/assets/javascripts/elfinder/img/quicklook-bg.png +0 -0
- data/app/assets/javascripts/elfinder/img/quicklook-icons.png +0 -0
- data/app/assets/javascripts/elfinder/img/resize.png +0 -0
- data/app/assets/javascripts/elfinder/img/spinner-mini.gif +0 -0
- data/app/assets/javascripts/elfinder/img/toolbar.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_box.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_dropbox.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_ftp.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_googledrive.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_local.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_onedrive.png +0 -0
- data/app/assets/javascripts/elfinder/img/volume_icon_sql.png +0 -0
- data/app/assets/javascripts/elfinder/js/elfinder.full.js +0 -23025
- data/app/assets/javascripts/elfinder/js/elfinder.min.js +0 -20
- data/app/assets/javascripts/elfinder/js/extras/encoding-japanese.min.js +0 -35
- data/app/assets/javascripts/elfinder/js/extras/quicklook.googledocs.js +0 -69
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.LANG.js +0 -479
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ar.js +0 -375
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.bg.js +0 -412
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ca.js +0 -375
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.cs.js +0 -469
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.da.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.de.js +0 -457
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.el.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.es.js +0 -433
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.fa.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.fallback.js +0 -11
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.fo.js +0 -419
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.fr.js +0 -419
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.he.js +0 -375
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.hr.js +0 -434
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.hu.js +0 -447
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.id.js +0 -373
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.it.js +0 -448
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.jp.js +0 -474
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ko.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.nl.js +0 -419
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.no.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.pl.js +0 -455
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.pt_BR.js +0 -438
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ro.js +0 -417
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ru.js +0 -440
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.sk.js +0 -469
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.sl.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.sr.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.sv.js +0 -375
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.tr.js +0 -468
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.ug_CN.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.uk.js +0 -391
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.vi.js +0 -374
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_CN.js +0 -467
- data/app/assets/javascripts/elfinder/js/i18n/elfinder.zh_TW.js +0 -472
- data/app/assets/javascripts/elfinder/js/proxy/elFinderSupportVer1.js +0 -420
- data/app/assets/javascripts/elfinder/main.default.js +0 -94
- data/app/assets/javascripts/elfinder/package.json +0 -13
- data/app/assets/javascripts/elfinder/sounds/rm.wav +0 -0
- data/app/controllers/dc_elfinder_controller.rb +0 -62
- data/app/models/drgcms_form_fields/elfinder.rb +0 -88
- data/config/initializers/load_patches.rb +0 -30
- data/config/routes.rb +0 -2
- data/lib/drg_default_html_editor.rb~ +0 -6
- data/lib/patches/patch_for_elfinder.rb +0 -114
- data/lib/tasks/drg_default_html_editor_copy_assets.rake +0 -18
- /data/app/assets/{javascripts/ckeditor/skins/moono/images → images}/arrow.png +0 -0
- /data/app/assets/{javascripts/ckeditor/skins/moono/images → images}/spinner.gif +0 -0
@@ -1,196 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
|
6
|
-
( function() {
|
7
|
-
|
8
|
-
function setupAdvParams( element ) {
|
9
|
-
var attrName = this.att;
|
10
|
-
|
11
|
-
var value = element && element.hasAttribute( attrName ) && element.getAttribute( attrName ) || '';
|
12
|
-
|
13
|
-
if ( value !== undefined )
|
14
|
-
this.setValue( value );
|
15
|
-
}
|
16
|
-
|
17
|
-
function commitAdvParams() {
|
18
|
-
// Dialogs may use different parameters in the commit list, so, by
|
19
|
-
// definition, we take the first CKEDITOR.dom.element available.
|
20
|
-
var element;
|
21
|
-
|
22
|
-
for ( var i = 0; i < arguments.length; i++ ) {
|
23
|
-
if ( arguments[ i ] instanceof CKEDITOR.dom.element ) {
|
24
|
-
element = arguments[ i ];
|
25
|
-
break;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
if ( element ) {
|
30
|
-
var attrName = this.att,
|
31
|
-
value = this.getValue();
|
32
|
-
|
33
|
-
if ( value )
|
34
|
-
element.setAttribute( attrName, value );
|
35
|
-
else
|
36
|
-
element.removeAttribute( attrName, value );
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
var defaultTabConfig = { id: 1, dir: 1, classes: 1, styles: 1 };
|
41
|
-
|
42
|
-
CKEDITOR.plugins.add( 'dialogadvtab', {
|
43
|
-
requires: 'dialog',
|
44
|
-
|
45
|
-
// Returns allowed content rule for the content created by this plugin.
|
46
|
-
allowedContent: function( tabConfig ) {
|
47
|
-
if ( !tabConfig )
|
48
|
-
tabConfig = defaultTabConfig;
|
49
|
-
|
50
|
-
var allowedAttrs = [];
|
51
|
-
if ( tabConfig.id )
|
52
|
-
allowedAttrs.push( 'id' );
|
53
|
-
if ( tabConfig.dir )
|
54
|
-
allowedAttrs.push( 'dir' );
|
55
|
-
|
56
|
-
var allowed = '';
|
57
|
-
|
58
|
-
if ( allowedAttrs.length )
|
59
|
-
allowed += '[' + allowedAttrs.join( ',' ) + ']';
|
60
|
-
|
61
|
-
if ( tabConfig.classes )
|
62
|
-
allowed += '(*)';
|
63
|
-
if ( tabConfig.styles )
|
64
|
-
allowed += '{*}';
|
65
|
-
|
66
|
-
return allowed;
|
67
|
-
},
|
68
|
-
|
69
|
-
// @param tabConfig
|
70
|
-
// id, dir, classes, styles
|
71
|
-
createAdvancedTab: function( editor, tabConfig, element ) {
|
72
|
-
if ( !tabConfig )
|
73
|
-
tabConfig = defaultTabConfig;
|
74
|
-
|
75
|
-
var lang = editor.lang.common;
|
76
|
-
|
77
|
-
var result = {
|
78
|
-
id: 'advanced',
|
79
|
-
label: lang.advancedTab,
|
80
|
-
title: lang.advancedTab,
|
81
|
-
elements: [ {
|
82
|
-
type: 'vbox',
|
83
|
-
padding: 1,
|
84
|
-
children: []
|
85
|
-
} ]
|
86
|
-
};
|
87
|
-
|
88
|
-
var contents = [];
|
89
|
-
|
90
|
-
if ( tabConfig.id || tabConfig.dir ) {
|
91
|
-
if ( tabConfig.id ) {
|
92
|
-
contents.push( {
|
93
|
-
id: 'advId',
|
94
|
-
att: 'id',
|
95
|
-
type: 'text',
|
96
|
-
requiredContent: element ? element + '[id]' : null,
|
97
|
-
label: lang.id,
|
98
|
-
setup: setupAdvParams,
|
99
|
-
commit: commitAdvParams
|
100
|
-
} );
|
101
|
-
}
|
102
|
-
|
103
|
-
if ( tabConfig.dir ) {
|
104
|
-
contents.push( {
|
105
|
-
id: 'advLangDir',
|
106
|
-
att: 'dir',
|
107
|
-
type: 'select',
|
108
|
-
requiredContent: element ? element + '[dir]' : null,
|
109
|
-
label: lang.langDir,
|
110
|
-
'default': '',
|
111
|
-
style: 'width:100%',
|
112
|
-
items: [
|
113
|
-
[ lang.notSet, '' ],
|
114
|
-
[ lang.langDirLTR, 'ltr' ],
|
115
|
-
[ lang.langDirRTL, 'rtl' ]
|
116
|
-
],
|
117
|
-
setup: setupAdvParams,
|
118
|
-
commit: commitAdvParams
|
119
|
-
} );
|
120
|
-
}
|
121
|
-
|
122
|
-
result.elements[ 0 ].children.push( {
|
123
|
-
type: 'hbox',
|
124
|
-
widths: [ '50%', '50%' ],
|
125
|
-
children: [].concat( contents )
|
126
|
-
} );
|
127
|
-
}
|
128
|
-
|
129
|
-
if ( tabConfig.styles || tabConfig.classes ) {
|
130
|
-
contents = [];
|
131
|
-
|
132
|
-
if ( tabConfig.styles ) {
|
133
|
-
contents.push( {
|
134
|
-
id: 'advStyles',
|
135
|
-
att: 'style',
|
136
|
-
type: 'text',
|
137
|
-
requiredContent: element ? element + '{cke-xyz}' : null,
|
138
|
-
label: lang.styles,
|
139
|
-
'default': '',
|
140
|
-
|
141
|
-
validate: CKEDITOR.dialog.validate.inlineStyle( lang.invalidInlineStyle ),
|
142
|
-
onChange: function() {},
|
143
|
-
|
144
|
-
getStyle: function( name, defaultValue ) {
|
145
|
-
var match = this.getValue().match( new RegExp( '(?:^|;)\\s*' + name + '\\s*:\\s*([^;]*)', 'i' ) );
|
146
|
-
return match ? match[ 1 ] : defaultValue;
|
147
|
-
},
|
148
|
-
|
149
|
-
updateStyle: function( name, value ) {
|
150
|
-
var styles = this.getValue();
|
151
|
-
|
152
|
-
var tmp = editor.document.createElement( 'span' );
|
153
|
-
tmp.setAttribute( 'style', styles );
|
154
|
-
tmp.setStyle( name, value );
|
155
|
-
styles = CKEDITOR.tools.normalizeCssText( tmp.getAttribute( 'style' ) );
|
156
|
-
|
157
|
-
this.setValue( styles, 1 );
|
158
|
-
},
|
159
|
-
|
160
|
-
setup: setupAdvParams,
|
161
|
-
|
162
|
-
commit: commitAdvParams
|
163
|
-
|
164
|
-
} );
|
165
|
-
}
|
166
|
-
|
167
|
-
if ( tabConfig.classes ) {
|
168
|
-
contents.push( {
|
169
|
-
type: 'hbox',
|
170
|
-
widths: [ '45%', '55%' ],
|
171
|
-
children: [ {
|
172
|
-
id: 'advCSSClasses',
|
173
|
-
att: 'class',
|
174
|
-
type: 'text',
|
175
|
-
requiredContent: element ? element + '(cke-xyz)' : null,
|
176
|
-
label: lang.cssClasses,
|
177
|
-
'default': '',
|
178
|
-
setup: setupAdvParams,
|
179
|
-
commit: commitAdvParams
|
180
|
-
|
181
|
-
} ]
|
182
|
-
} );
|
183
|
-
}
|
184
|
-
|
185
|
-
result.elements[ 0 ].children.push( {
|
186
|
-
type: 'hbox',
|
187
|
-
widths: [ '50%', '50%' ],
|
188
|
-
children: [].concat( contents )
|
189
|
-
} );
|
190
|
-
}
|
191
|
-
|
192
|
-
return result;
|
193
|
-
}
|
194
|
-
} );
|
195
|
-
|
196
|
-
} )();
|