ckeditor_rails 4.10.0 → 4.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/ckeditor-rails/version.rb +2 -2
- data/lib/ckeditor-rails.rb +1 -1
- data/vendor/assets/images/ckeditor/plugins/icons.png +0 -0
- data/vendor/assets/images/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
- data/vendor/assets/images/ckeditor/plugins/wsc/icons/hidpi/spellchecker.png +0 -0
- data/vendor/assets/images/ckeditor/plugins/wsc/icons/spellchecker.png +0 -0
- data/vendor/assets/images/ckeditor/skins/moono-lisa/icons.png +0 -0
- data/vendor/assets/images/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
- data/vendor/assets/javascripts/ckeditor/CHANGES.md +864 -357
- data/vendor/assets/javascripts/ckeditor/LICENSE.md +22 -6
- data/vendor/assets/javascripts/ckeditor/README.md +5 -5
- data/vendor/assets/javascripts/ckeditor/build-config.js +12 -6
- data/vendor/assets/javascripts/ckeditor/ckeditor.js +1101 -1002
- data/vendor/assets/javascripts/ckeditor/config.js +1 -1
- data/vendor/assets/javascripts/ckeditor/lang/af.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ar.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/az.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/bg.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/bn.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/bs.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ca.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/cs.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/cy.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/da.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/de-ch.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/de.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/el.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/en-au.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/en.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/eo.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/es-mx.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/es.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/et.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/eu.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/fa.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/fi.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/fo.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/fr.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/gl.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/gu.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/he.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/hi.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/hr.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/hu.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/id.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/is.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/it.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ja.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ka.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/km.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ko.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ku.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/lt.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/lv.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/mk.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/mn.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ms.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/nb.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/nl.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/no.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/oc.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/pl.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/pt.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ro.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ru.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/si.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/sk.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/sl.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/sq.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/sr.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/sv.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/th.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/tr.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/tt.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/ug.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/uk.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/vi.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +3 -3
- data/vendor/assets/javascripts/ckeditor/lang/zh.js +3 -3
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +6 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +6 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +6 -6
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +10 -9
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +8 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +3 -3
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +8 -7
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -8
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +4 -4
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +11 -11
- data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -8
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/CHANGELOG.md +54 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/LICENSE.md +18 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/README.md +102 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/plugindefinition.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/_helpers/tools.js +5 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/authentication.js +6 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/exportpdf.js +10 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/configfilename.html +27 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/configfilename.md +46 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/emptyeditor.html +18 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/emptyeditor.md +34 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/integration.html +148 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/integration.md +12 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/integrations/easyimage.html +27 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/integrations/easyimage.md +26 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/notifications.html +19 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/notifications.md +36 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/notificationsasync.html +45 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/notificationsasync.md +27 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/paperformat.html +29 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/paperformat.md +18 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/readonly.html +18 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/readonly.md +28 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/stylesheets.html +36 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/stylesheets.md +19 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenfetching.html +23 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenfetching.md +19 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokentwoeditorscorrect.html +38 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokentwoeditorscorrect.md +14 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokentwoeditorswrong.html +38 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokentwoeditorswrong.md +14 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenwithouturl.html +19 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/tokenwithouturl.md +31 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/wrongendpoint.html +21 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/wrongendpoint.md +34 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/notification.js +4 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/resourcespaths.js +9 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/statistics.js +3 -0
- data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/stylesheets.js +18 -0
- data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +4 -4
- data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +16 -16
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +5 -5
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +4 -4
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +4 -4
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +3 -3
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +16 -15
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -5
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +8 -8
- data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +8 -7
- data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +33 -33
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +5 -5
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +26 -24
- data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +7 -7
- data/vendor/assets/javascripts/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
- data/vendor/assets/javascripts/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
- data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +39 -52
- data/vendor/assets/javascripts/ckeditor/plugins/pastetools/filter/common.js +24 -0
- data/vendor/assets/javascripts/ckeditor/plugins/pastetools/filter/image.js +12 -0
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +1 -17
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/README.md +63 -7
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -32
- data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.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/da.js +3 -3
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +6 -6
- 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-au.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.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-mx.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 +8 -10
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.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/ko.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/lt.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/oc.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/ro.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/sr-latn.js +13 -0
- data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
- 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/tt.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 +11 -11
- data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +19 -18
- data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +15 -15
- 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/plugins/wsc/README.md +84 -25
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +47 -48
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +7 -7
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/af.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ar.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/bg.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/bn.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/bs.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ca.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/cs.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/cy.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/da.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/de.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/el.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/en-au.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/en-ca.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/en-gb.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/en.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/eo.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/es.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/et.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/eu.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/fa.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/fi.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/fo.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/fr-ca.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/fr.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/gl.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/gu.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/he.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/hi.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/hr.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/hu.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/is.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/it.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ja.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ka.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/km.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ko.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ku.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/lt.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/lv.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/mk.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/mn.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ms.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/nb.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/nl.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/no.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/pl.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/pt-br.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/pt.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ro.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ru.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/sk.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/sl.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/sr-latn.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/sr.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/sv.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/th.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/tr.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/ug.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/uk.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/vi.js +2 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/zh-cn.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/lang/zh.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/plugin.js +5 -0
- data/vendor/assets/javascripts/ckeditor/styles.js +2 -2
- data/vendor/assets/stylesheets/ckeditor/contents.css +1 -1
- data/vendor/assets/stylesheets/ckeditor/plugins/colordialog/dialogs/colordialog.css +1 -1
- data/vendor/assets/stylesheets/ckeditor/plugins/copyformatting/styles/copyformatting.css +1 -1
- data/vendor/assets/stylesheets/ckeditor/plugins/dialog/styles/dialog.css +18 -0
- data/vendor/assets/stylesheets/ckeditor/plugins/preview/styles/screen.css +10 -0
- data/vendor/assets/stylesheets/ckeditor/plugins/tableselection/styles/tableselection.css +10 -0
- data/vendor/assets/stylesheets/ckeditor/plugins/templates/dialogs/templates.css +1 -1
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/dialog.css +2 -2
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_ie.css +2 -2
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_ie8.css +2 -2
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_iequirks.css +2 -2
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/editor.css +2 -2
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/editor_gecko.css +2 -2
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/editor_ie.css +2 -2
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/editor_ie8.css +2 -2
- data/vendor/assets/stylesheets/ckeditor/skins/moono-lisa/editor_iequirks.css +2 -2
- metadata +119 -7
@@ -0,0 +1,27 @@
|
|
1
|
+
<div id="editor1">
|
2
|
+
<p>My filename should be 'ckeditor4-export-pdf.pdf'.</p>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
<div id="editor2">
|
6
|
+
<p>And mine - 'different-name.pdf'.</p>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div id="editor3">
|
10
|
+
<h1>Beautiful title</h1>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<script>
|
14
|
+
exportPdfUtils.initManualTest();
|
15
|
+
|
16
|
+
CKEDITOR.replace( 'editor1', exportPdfUtils.getDefaultConfig( 'manual' ) );
|
17
|
+
|
18
|
+
CKEDITOR.replace( 'editor2', exportPdfUtils.getDefaultConfig( 'manual', {
|
19
|
+
exportPdf_fileName: 'different-name.pdf',
|
20
|
+
} ) );
|
21
|
+
|
22
|
+
var editor3 = CKEDITOR.replace( 'editor3', exportPdfUtils.getDefaultConfig( 'manual', {
|
23
|
+
exportPdf_fileName: function() {
|
24
|
+
return editor3.editable().findOne( 'h1' ).getText() + '.pdf';
|
25
|
+
}
|
26
|
+
} ) );
|
27
|
+
</script>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
@bender-tags: exportpdf, feature, 1
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, notification, format
|
5
|
+
|
6
|
+
1. Click `Export to PDF` button (the one next to the `Source` button) in the first editor.
|
7
|
+
1. Wait for the file to download.
|
8
|
+
|
9
|
+
**Expected:**
|
10
|
+
|
11
|
+
File with `ckeditor4-export-pdf.pdf` name (possibly with number if file already existed) was downloaded.
|
12
|
+
|
13
|
+
**Unexpected:**
|
14
|
+
|
15
|
+
File was not downloaded or its name is incorrect.
|
16
|
+
|
17
|
+
1. Do the same in the second editor.
|
18
|
+
|
19
|
+
**Expected:**
|
20
|
+
|
21
|
+
File with `different-name.pdf` name (possibly with number if file already existed) was downloaded.
|
22
|
+
|
23
|
+
**Unexpected:**
|
24
|
+
|
25
|
+
File was not downloaded or its name is incorrect.
|
26
|
+
|
27
|
+
1. Repeat for the third editor.
|
28
|
+
|
29
|
+
**Expected:**
|
30
|
+
|
31
|
+
File with 'Beautiful title.pdf' name (possibly with number if file already existed) was downloaded.
|
32
|
+
|
33
|
+
**Unexpected:**
|
34
|
+
|
35
|
+
File was not downloaded or its name is incorrect.
|
36
|
+
|
37
|
+
1. Change text in the third editor to `New title` (**important:** it has to remain a `<h1>` element).
|
38
|
+
1. Click and download PDF again.
|
39
|
+
|
40
|
+
**Expected:**
|
41
|
+
|
42
|
+
Name of a new file is 'New title.pdf'.
|
43
|
+
|
44
|
+
**Unexpected:**
|
45
|
+
|
46
|
+
Name is the same as before or there is an error.
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<div id="editor1">
|
2
|
+
</div>
|
3
|
+
|
4
|
+
<div id="editor2">
|
5
|
+
<p>My content and wrapper will be deleted.</p>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<script>
|
9
|
+
exportPdfUtils.initManualTest();
|
10
|
+
|
11
|
+
CKEDITOR.replace( 'editor1', exportPdfUtils.getDefaultConfig( 'manual' ) );
|
12
|
+
|
13
|
+
var editor2 = CKEDITOR.replace( 'editor2', exportPdfUtils.getDefaultConfig( 'manual' ) );
|
14
|
+
|
15
|
+
editor2.on( 'exportPdf', function( evt ) {
|
16
|
+
evt.data.html = '';
|
17
|
+
}, null, null, 16 );
|
18
|
+
</script>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
@bender-tags: exportpdf, feature, 11
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, notification
|
5
|
+
|
6
|
+
**Note:** At the beginning open the console.
|
7
|
+
|
8
|
+
1. Click `Export to PDF` button (the one next to the `Source` button) in the first editor.
|
9
|
+
1. Wait for the file to download.
|
10
|
+
1. Open the file.
|
11
|
+
|
12
|
+
**Expected:**
|
13
|
+
|
14
|
+
* Empty file was downloaded.
|
15
|
+
* No errors in console.
|
16
|
+
|
17
|
+
**Unexpected:**
|
18
|
+
|
19
|
+
* File wasn't downloaded.
|
20
|
+
* File was downloaded but can't be opened.
|
21
|
+
* Error in the console appeared.
|
22
|
+
|
23
|
+
1. Click `Export to PDF` button in the second editor.
|
24
|
+
|
25
|
+
**Expected:**
|
26
|
+
|
27
|
+
* File wasn't downloaded.
|
28
|
+
* The notification with error appeared in the editor.
|
29
|
+
* There is an error message in the console.
|
30
|
+
|
31
|
+
**Unexpected:**
|
32
|
+
|
33
|
+
* File was downloaded and can't be opened.
|
34
|
+
* Success notification was displayed.
|
@@ -0,0 +1,148 @@
|
|
1
|
+
<div id="editor">
|
2
|
+
<h1 style="text-align:center"><img alt="Bilancino Hotel logo" src="https://ckeditor.com/docs/ckeditor4/latest/examples/assets/image/bilancino-logo.png" style="float:right;height:75px;width:75px;" /><span style="font-family:Georgia,serif">The Flavorful Tuscany Meetup</span></h1>
|
3
|
+
|
4
|
+
<h2 style="text-align:center"><span style="font-family:Georgia,serif"><span style="color:#2980b9">Welcome letter</span></span></h2>
|
5
|
+
|
6
|
+
<p>Dear Guest,</p>
|
7
|
+
|
8
|
+
<p>We are delighted to welcome you to the annual <em>Flavorful Tuscany Meetup</em> and hope you will enjoy the programme as well as your stay at the <a href="https://ckeditor.com">Bilancino Hotel</a>.</p>
|
9
|
+
|
10
|
+
<p>Please find attached the full schedule of the event.</p>
|
11
|
+
|
12
|
+
<blockquote>
|
13
|
+
<p>The annual Flavorful Tuscany meetups are always a culinary discovery. You get the best of Tuscan flavors during an intense one-day stay at one of the top hotels of the region. All the sessions are lead by top chefs passionate about their profession. I would certainly recommend to save the date in your calendar for this one!</p>
|
14
|
+
|
15
|
+
<p>Angelina Calvino, food journalist</p>
|
16
|
+
</blockquote>
|
17
|
+
|
18
|
+
<p>Please arrive at the <a href="https://ckeditor.com">Bilancino Hotel</a> reception desk at least <strong>half an hour earlier</strong> to make sure that the registration process goes as smoothly as possible.</p>
|
19
|
+
|
20
|
+
<p>We look forward to welcoming you to the event.</p>
|
21
|
+
|
22
|
+
<p><img alt="Victoria Valc signature" src="https://ckeditor.com/docs/ckeditor4/latest/examples/assets/image/signature.png" style="height:101px;width:180px" /></p>
|
23
|
+
|
24
|
+
<p><span style="font-size:16px"><strong>Victoria Valc</strong></span></p>
|
25
|
+
|
26
|
+
<p><strong>Event Manager<br />
|
27
|
+
Bilancino Hotel</strong></p>
|
28
|
+
|
29
|
+
<p> </p>
|
30
|
+
|
31
|
+
<div style="page-break-after: always"><span style="display:none"> </span></div>
|
32
|
+
|
33
|
+
<p> </p>
|
34
|
+
|
35
|
+
<h2 style="text-align:center"><span style="font-family:Georgia,serif"><span style="color:#2980b9">The Flavorful Tuscany Meetup Schedule</span></span></h2>
|
36
|
+
|
37
|
+
<table border="1" cellspacing="0" style="border-collapse:collapse; width:597px">
|
38
|
+
<thead>
|
39
|
+
<tr>
|
40
|
+
<th colspan="2" style="background-color:#999999"><span style="color:#ffffff">Saturday, July 14</span></th>
|
41
|
+
</tr>
|
42
|
+
</thead>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td style="background-color:#e6e6e6; text-align:center">9:30 AM - 11:30 AM</td>
|
46
|
+
<td>
|
47
|
+
<p><strong>Americano vs. Brewed - “know your coffee”</strong> with: </p>
|
48
|
+
|
49
|
+
<ul>
|
50
|
+
<li>Giulia Bianchi</li>
|
51
|
+
<li>Stefano Garau</li>
|
52
|
+
<li>Giuseppe Russo</li>
|
53
|
+
</ul>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
<tr>
|
57
|
+
<td style="background-color:#e6e6e6; text-align:center">1:00 PM - 3:00 PM</td>
|
58
|
+
<td>
|
59
|
+
<p><strong>Pappardelle al pomodoro</strong> - live cooking <sup>1</sup></p>
|
60
|
+
|
61
|
+
<p>Incorporate the freshest ingredients <br />
|
62
|
+
with Rita Fresco</p>
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<td style="background-color:#e6e6e6; text-align:center">5:00 PM - 8:00 PM</td>
|
67
|
+
<td>
|
68
|
+
<p><strong>Tuscan vineyards at a glance</strong> - wine-tasting <br />
|
69
|
+
with Frederico Riscoli</p>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</tbody>
|
73
|
+
</table>
|
74
|
+
|
75
|
+
<p> </p>
|
76
|
+
|
77
|
+
<p><sup>1</sup> <em><span style="background-color:#98e64c">Registration for the live cooking session is required as seats are limited.</span></em></p>
|
78
|
+
|
79
|
+
<p> </p>
|
80
|
+
|
81
|
+
<hr>
|
82
|
+
|
83
|
+
<h2 style="text-align: center;"><span style="color:#2980b9"><span style="font-family:Georgia,serif">Driving directions from the airport</span></span></h2>
|
84
|
+
|
85
|
+
<ol>
|
86
|
+
<li>Head southeast on R138 toward Nassau St.</li>
|
87
|
+
<li>Follow R138 and R148 to Bridgefoot St/R804.
|
88
|
+
<ol>
|
89
|
+
<li>Use the left 2 lanes to turn slightly left onto Lincoln Pl/R138.</li>
|
90
|
+
<li>Turn left onto Westland Row/R118/R138.</li>
|
91
|
+
<li>Use any lane to turn left onto Pearse St/R118/R138/R802.</li>
|
92
|
+
<li>Continue to follow R138/R802.</li>
|
93
|
+
</ol>
|
94
|
+
</li>
|
95
|
+
<li>Turn left onto Burgh Quay/George's Quay/R105/R138.</li>
|
96
|
+
<li>Continue onto Aston Quay/R148.
|
97
|
+
<ul>
|
98
|
+
<li>Continue to follow R148.</li>
|
99
|
+
</ul>
|
100
|
+
</li>
|
101
|
+
<li>Turn left onto Bridgefoot St/R804.
|
102
|
+
<ul>
|
103
|
+
<li>Continue to follow R804.</li>
|
104
|
+
</ul>
|
105
|
+
</li>
|
106
|
+
<li>After approximately 2 minutes, Bilancino Hotel will be on your left.</li>
|
107
|
+
</ol>
|
108
|
+
|
109
|
+
<p> </p>
|
110
|
+
</div>
|
111
|
+
|
112
|
+
<div id="preview">
|
113
|
+
<style>
|
114
|
+
#preview iframe {
|
115
|
+
width: 840px;
|
116
|
+
height: 500px;
|
117
|
+
}
|
118
|
+
</style>
|
119
|
+
|
120
|
+
<h2>Document preview (based on send HTML and CSS)</h2>
|
121
|
+
</div>
|
122
|
+
|
123
|
+
<script>
|
124
|
+
exportPdfUtils.initManualTest();
|
125
|
+
|
126
|
+
var editor = CKEDITOR.replace( 'editor', exportPdfUtils.getDefaultConfig( 'manual', {
|
127
|
+
width: 840,
|
128
|
+
height: 400
|
129
|
+
} ) );
|
130
|
+
|
131
|
+
editor.on( 'exportPdf', function( evt ) {
|
132
|
+
var oldIframe = document.querySelector( '#preview iframe' ),
|
133
|
+
html;
|
134
|
+
|
135
|
+
if ( oldIframe && oldIframe.parentNode ) {
|
136
|
+
oldIframe.parentNode.removeChild( oldIframe );
|
137
|
+
}
|
138
|
+
|
139
|
+
// Align iframe HTML with the one on the endpoint side by adding explicit encoding and DOCTYPE.
|
140
|
+
html = '<!DOCTYPE html><html><head><style>' + evt.data.css + '</style><meta charset="UTF-8"></head><body>' + evt.data.html + '</body></html>';
|
141
|
+
|
142
|
+
var iframe = document.createElement( 'iframe' );
|
143
|
+
document.querySelector( '#preview' ).appendChild( iframe );
|
144
|
+
iframe.contentWindow.document.open();
|
145
|
+
iframe.contentWindow.document.write( html );
|
146
|
+
iframe.contentWindow.document.close();
|
147
|
+
}, null, null, 16 );
|
148
|
+
</script>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@bender-tags: exportpdf, feature, 17
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: basicstyles, bidi, blockquote, clipboard, colorbutton, colordialog, dialogadvtab, elementspath, enterkey, font, format, horizontalrule, htmlwriter, image, indentlist, indentblock, justify, link, list, liststyle, magicline, pagebreak, pastefromgdocs, pastefromlibreoffice, pastefromword, pastetext, specialchar, stylescombo, table, tableselection, tabletools, toolbar, undo, wysiwygarea, sourcearea, resize
|
5
|
+
|
6
|
+
1. Click `Export to PDF` button (the one next to the `Source` button).
|
7
|
+
|
8
|
+
1. Wait for the PDF to download and examine it.
|
9
|
+
|
10
|
+
If you find any bugs, please report them <a href="https://github.com/cksource/ckeditor4-plugin-exportpdf/issues" target="_blank">here</a>. Just remember to check if it isn't <a href="https://github.com/cksource/ckeditor4-plugin-exportpdf/issues?q=is%3Aopen+is%3Aissue+label%3Atype%3Abug" target="_blank">already known</a>.
|
11
|
+
|
12
|
+
When comparing generated PDF to editor contents the best conversion results (close to 1:1 document formatting) can be observed in a Chrome browser.
|
data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/integrations/easyimage.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
<div id="editor">
|
2
|
+
<p>Foo bar</p>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
<div id="tokenValue" style="word-break:break-all;border:1px solid red;"></div>
|
6
|
+
|
7
|
+
<script>
|
8
|
+
exportPdfUtils.initManualTest();
|
9
|
+
|
10
|
+
var editor = CKEDITOR.replace( 'editor', exportPdfUtils.getDefaultConfig( 'manual', {
|
11
|
+
extraPlugins: 'easyimage,exportpdf',
|
12
|
+
cloudServices_uploadUrl: 'https://33333.cke-cs.com/easyimage/upload/',
|
13
|
+
cloudServices_tokenUrl: 'https://33333.cke-cs.com/token/dev/ijrDsqFix838Gh3wGO3F77FSW94BwcLXprJ4APSp3XQ26xsUHTi0jcb1hoBt'
|
14
|
+
} ) );
|
15
|
+
|
16
|
+
editor.on( 'instanceReady', function() {
|
17
|
+
if ( !CKEDITOR.config.exportPdf_tokenUrl ) {
|
18
|
+
bender.ignore();
|
19
|
+
}
|
20
|
+
} );
|
21
|
+
|
22
|
+
editor.on( 'exportPdf', function( evt ) {
|
23
|
+
var value = CKEDITOR.document.findOne( '#tokenValue' );
|
24
|
+
|
25
|
+
value.setHtml( evt.data.token );
|
26
|
+
}, null, null, 17 );
|
27
|
+
</script>
|
data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/integrations/easyimage.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
@bender-tags: exportpdf, feature, 77
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, notification, format, easyimage
|
5
|
+
|
6
|
+
Note: You need the Internet connection to run this test.
|
7
|
+
|
8
|
+
1. Click `Export to PDF` toolbar button.
|
9
|
+
1. Examine the area in the red frame below.
|
10
|
+
|
11
|
+
**Expected:** There is a long token string in the frame.
|
12
|
+
|
13
|
+
**Unexpected:** Frame is empty or says 'undefined'.
|
14
|
+
|
15
|
+
1. Wait for the file to download and examine it.
|
16
|
+
|
17
|
+
**Expected:** No information about being created with CKEditor was added.
|
18
|
+
|
19
|
+
**Unexpected:** There is an additional note about CKEditor at the bottom of page.
|
20
|
+
|
21
|
+
1. Upload an image.
|
22
|
+
1. Examine browser console.
|
23
|
+
|
24
|
+
**Expected:** There are no errors or warnings.
|
25
|
+
|
26
|
+
**Unexpected:** Any error or warning concerning `Export to PDF` or `Easy Image` occurred.
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<div id="editor1">
|
2
|
+
<p>Hello world!</p>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
<div id="editor2">
|
6
|
+
<p>Hello world!</p>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<script>
|
10
|
+
exportPdfUtils.initManualTest();
|
11
|
+
|
12
|
+
CKEDITOR.replace( 'editor1', exportPdfUtils.getDefaultConfig( 'manual', {
|
13
|
+
extraPlugins: 'exportpdf'
|
14
|
+
} ) );
|
15
|
+
|
16
|
+
CKEDITOR.replace( 'editor2', exportPdfUtils.getDefaultConfig( 'manual', {
|
17
|
+
removePlugins: 'notification'
|
18
|
+
} ) );
|
19
|
+
</script>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
@bender-tags: exportpdf, feature, 4
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: wysiwygarea, toolbar, notification
|
5
|
+
|
6
|
+
1. Read the expected results first as there will be a sequence of things happening quickly to examine.
|
7
|
+
1. Click `Export to PDF` button in the first editor.
|
8
|
+
|
9
|
+
**Expected:**
|
10
|
+
|
11
|
+
* Button is disabled after click.
|
12
|
+
* Nofitication bar of `info` type appeared.
|
13
|
+
* When download started, notification type changed to `success`.
|
14
|
+
* Once download finished, button is enabled again.
|
15
|
+
* After 3 seconds notification bar disappeared.
|
16
|
+
|
17
|
+
**Unexpected:**
|
18
|
+
|
19
|
+
* Button wasn't disabled.
|
20
|
+
* Button wasn't enabled after download started.
|
21
|
+
* Notifications were incorrect.
|
22
|
+
* Notification bar didn't disappear.
|
23
|
+
|
24
|
+
1. Click `Export to PDF` button in the second editor.
|
25
|
+
|
26
|
+
**Expected:**
|
27
|
+
|
28
|
+
* Neither notifications nor alerts appeared.
|
29
|
+
* File was downloaded.
|
30
|
+
* Button was disabled for the time between click and download.
|
31
|
+
|
32
|
+
**Unexpected:**
|
33
|
+
|
34
|
+
* Notification or browser alert appeared.
|
35
|
+
* File wasn't downloaded.
|
36
|
+
* Button wasn't disabled for the time between click and download.
|
data/vendor/assets/javascripts/ckeditor/plugins/exportpdf/tests/manual/notificationsasync.html
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
<div id="editor1">
|
2
|
+
<p>Export to PDF test 1.</p>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
<div id="editor2">
|
6
|
+
<p>Export to PDF test 2.</p>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<script>
|
10
|
+
exportPdfUtils.initManualTest();
|
11
|
+
|
12
|
+
var editor1 = CKEDITOR.replace( 'editor1', exportPdfUtils.getDefaultConfig( 'manual' ) );
|
13
|
+
|
14
|
+
editor1.on( 'exportPdf', function( evt ) {
|
15
|
+
if ( !evt.data.asyncDone ) {
|
16
|
+
setTimeout( function() {
|
17
|
+
evt.data.html = '<p>Content filtered!</p>';
|
18
|
+
evt.data.asyncDone = true;
|
19
|
+
|
20
|
+
editor1.fire( 'exportPdf', evt.data );
|
21
|
+
}, 2000 );
|
22
|
+
|
23
|
+
evt.cancel();
|
24
|
+
} else {
|
25
|
+
delete evt.data.asyncDone;
|
26
|
+
}
|
27
|
+
}, null, null, 1 );
|
28
|
+
|
29
|
+
var editor2 = CKEDITOR.replace( 'editor2', exportPdfUtils.getDefaultConfig( 'manual' ) );
|
30
|
+
|
31
|
+
editor2.on( 'exportPdf', function( evt ) {
|
32
|
+
if ( !evt.data.asyncDone ) {
|
33
|
+
setTimeout( function() {
|
34
|
+
evt.data.html = '<p>Content filtered!</p>';
|
35
|
+
evt.data.asyncDone = true;
|
36
|
+
|
37
|
+
editor2.fire( 'exportPdf', evt.data );
|
38
|
+
}, 2000 );
|
39
|
+
|
40
|
+
evt.cancel();
|
41
|
+
} else {
|
42
|
+
delete evt.data.asyncDone;
|
43
|
+
}
|
44
|
+
}, null, null, 17 );
|
45
|
+
</script>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
@bender-tags: exportpdf, feature, 4
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, notification
|
5
|
+
|
6
|
+
1. Click `Export to PDF` button (the one next to the `Source` button) in the first editor.
|
7
|
+
1. Watch appearing notifications.
|
8
|
+
|
9
|
+
**Expected:**
|
10
|
+
|
11
|
+
* Notification `Processing PDF document...` was visible for about 2 seconds.
|
12
|
+
* Progress steps were: `0`, `0.5`, `success`.
|
13
|
+
|
14
|
+
**Unexpected:**
|
15
|
+
|
16
|
+
Notification disappeared too fast to be noticable.
|
17
|
+
|
18
|
+
1. Do the same in the second editor.
|
19
|
+
|
20
|
+
**Expected:**
|
21
|
+
|
22
|
+
* Notification `Processing PDF document...` was visible for about 2 seconds.
|
23
|
+
* Progress steps were: `0.2`, `0.5`, `success`.
|
24
|
+
|
25
|
+
**Unexpected:**
|
26
|
+
|
27
|
+
Notification disappeared too fast to be noticable.
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<div id="editor1">
|
2
|
+
<p>"Lorem ipsum dolor sit amet, consectetur adipiscing elit,
|
3
|
+
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
|
4
|
+
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
|
5
|
+
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
6
|
+
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
7
|
+
</p>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div id="editor2">
|
11
|
+
<p>"Lorem ipsum dolor sit amet, consectetur adipiscing elit,
|
12
|
+
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
|
13
|
+
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
|
14
|
+
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|
15
|
+
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
16
|
+
</p>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<script>
|
20
|
+
exportPdfUtils.initManualTest();
|
21
|
+
|
22
|
+
CKEDITOR.replace( 'editor1', exportPdfUtils.getDefaultConfig( 'manual' ) );
|
23
|
+
|
24
|
+
CKEDITOR.replace( 'editor2', exportPdfUtils.getDefaultConfig( 'manual', {
|
25
|
+
exportPdf_options: {
|
26
|
+
format: 'A6'
|
27
|
+
}
|
28
|
+
} ) );
|
29
|
+
</script>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@bender-tags: exportpdf, bug, 24
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, notification
|
5
|
+
|
6
|
+
1. Click `Export to PDF` button (the one next to the `Source` button) in the first editor.
|
7
|
+
1. Wait for the file to download.
|
8
|
+
1. Do the same in the second editor.
|
9
|
+
1. Compare paper format in files.
|
10
|
+
|
11
|
+
**Expected:**
|
12
|
+
|
13
|
+
* First editor produced file in `A4` format (`8.27in x 11.7in`);
|
14
|
+
* Second editor produced file in `A6` format (`4.13in x 5.83in`).
|
15
|
+
|
16
|
+
**Unexpected:**
|
17
|
+
|
18
|
+
Any file is in different format than intended (e.g. `Letter` - `8.5in x 11in`).
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
<div id="editor">
|
3
|
+
<p>This editor is read-only.</p>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<button id="toggle">Toggle read-only mode</button>
|
7
|
+
|
8
|
+
<script>
|
9
|
+
exportPdfUtils.initManualTest();
|
10
|
+
|
11
|
+
var editor = CKEDITOR.replace( 'editor', exportPdfUtils.getDefaultConfig( 'manual', {
|
12
|
+
readOnly: true
|
13
|
+
} ) );
|
14
|
+
|
15
|
+
CKEDITOR.document.getById( 'toggle' ).on( 'click', function() {
|
16
|
+
editor.setReadOnly( !editor.readOnly );
|
17
|
+
} );
|
18
|
+
</script>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
@bender-tags: exportpdf, feature, 1
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, notification
|
5
|
+
|
6
|
+
1. Examine `Export to PDF` button (the one next to the `Source` button).
|
7
|
+
|
8
|
+
**Expected:**
|
9
|
+
|
10
|
+
Button is clickable.
|
11
|
+
|
12
|
+
**Unexpected:**
|
13
|
+
|
14
|
+
Button is inactive.
|
15
|
+
|
16
|
+
1. Click the button.
|
17
|
+
1. Wait for the file to download.
|
18
|
+
|
19
|
+
**Expected:**
|
20
|
+
|
21
|
+
File with correct content was downloaded.
|
22
|
+
|
23
|
+
**Unexpected:**
|
24
|
+
|
25
|
+
File was not downloaded or its content is incorrect.
|
26
|
+
|
27
|
+
1. Click `Toggle read-only mode` button.
|
28
|
+
1. Repeat steps 1-3.
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<h2>Classic Editor</h2>
|
2
|
+
<textarea id="editor1">
|
3
|
+
<span class="badge badge-success">Classic Editor</span>
|
4
|
+
</textarea>
|
5
|
+
|
6
|
+
<h2>Divarea Editor</h2>
|
7
|
+
<div id="editor2">
|
8
|
+
<span class="badge badge-success">Divarea Editor</span>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<h2>Inline Editor</h2>
|
12
|
+
<div id="editor3" contenteditable="true">
|
13
|
+
<span class="badge badge-success">Inline Editor</span>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<script>
|
17
|
+
exportPdfUtils.initManualTest();
|
18
|
+
|
19
|
+
CKEDITOR.replace( 'editor1', exportPdfUtils.getDefaultConfig( 'manual', {
|
20
|
+
exportPdf_stylesheets: [ 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' ],
|
21
|
+
extraPlugins: 'wysiwygarea,exportpdf',
|
22
|
+
allowedContent: true
|
23
|
+
} ) );
|
24
|
+
|
25
|
+
CKEDITOR.replace( 'editor2', exportPdfUtils.getDefaultConfig( 'manual', {
|
26
|
+
exportPdf_stylesheets: [ 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' ],
|
27
|
+
extraPlugins: 'divarea,exportpdf',
|
28
|
+
allowedContent: true
|
29
|
+
} ) );
|
30
|
+
|
31
|
+
CKEDITOR.inline( 'editor3', exportPdfUtils.getDefaultConfig( 'manual', {
|
32
|
+
exportPdf_stylesheets: [ 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css' ],
|
33
|
+
extraPlugins: 'floatingspace,exportpdf',
|
34
|
+
allowedContent: true
|
35
|
+
} ) );
|
36
|
+
</script>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
@bender-tags: exportpdf, feature, 31
|
2
|
+
@bender-ui: collapsed
|
3
|
+
@bender-include: ../_helpers/tools.js
|
4
|
+
@bender-ckeditor-plugins: toolbar, basicstyles, notification
|
5
|
+
|
6
|
+
**Note:** This test uses <a href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" target="_blank">Bootstrap CDN</a>. If something goes wrong, check if the link works correctly first.
|
7
|
+
|
8
|
+
1. Use `Export to PDF` button in the first editor.
|
9
|
+
1. Open generated file.
|
10
|
+
|
11
|
+
**Expected:**
|
12
|
+
|
13
|
+
Text from editor was converted to a green badge.
|
14
|
+
|
15
|
+
**Unexpected:**
|
16
|
+
|
17
|
+
Content is the same as in the editor.
|
18
|
+
|
19
|
+
1. Repeat the same steps for the second and third editor.
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<div id="editor">
|
2
|
+
<p>Foo bar</p>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
<div id="tokenValue" style="word-break:break-all;border:1px solid red;"></div>
|
6
|
+
|
7
|
+
<script>
|
8
|
+
exportPdfUtils.initManualTest();
|
9
|
+
|
10
|
+
var editor = CKEDITOR.replace( 'editor', exportPdfUtils.getDefaultConfig( 'manual' ) );
|
11
|
+
|
12
|
+
editor.on( 'instanceReady', function() {
|
13
|
+
if ( !CKEDITOR.config.exportPdf_tokenUrl ) {
|
14
|
+
bender.ignore();
|
15
|
+
}
|
16
|
+
} );
|
17
|
+
|
18
|
+
editor.on( 'exportPdf', function( evt ) {
|
19
|
+
var value = CKEDITOR.document.findOne( '#tokenValue' );
|
20
|
+
|
21
|
+
value.setHtml( evt.data.token );
|
22
|
+
}, null, null, 17 );
|
23
|
+
</script>
|