releaf-core 1.1.18 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/releaf_core_manifest.js +3 -0
- data/app/assets/images/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/app/assets/images/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/app/assets/images/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/app/assets/images/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/app/assets/images/ckeditor/plugins/icons.png +0 -0
- data/app/assets/images/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/app/assets/images/ckeditor/plugins/image/images/noimage.png +0 -0
- data/app/assets/images/ckeditor/plugins/link/images/anchor.png +0 -0
- data/app/assets/images/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/app/assets/images/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
- data/app/assets/images/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- data/app/assets/images/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
- data/app/assets/images/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/app/assets/images/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/app/assets/images/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/envelope.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/heart.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/kiss.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/app/assets/images/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
- data/app/assets/images/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/app/assets/images/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/app/assets/images/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/app/assets/images/ckeditor/plugins/widget/images/handle.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/icons.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/close.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/lock.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
- data/app/assets/images/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
- data/app/assets/javascripts/ckeditor-jquery.js +3 -0
- data/app/assets/javascripts/ckeditor/CHANGES.md +1637 -0
- data/app/assets/javascripts/ckeditor/LICENSE.md +1420 -0
- data/app/assets/javascripts/ckeditor/README.md +39 -0
- data/app/assets/javascripts/ckeditor/basepath.js.erb +6 -0
- data/app/assets/javascripts/ckeditor/build-config.js +190 -0
- data/app/assets/javascripts/ckeditor/ckeditor.js +1331 -0
- data/app/assets/javascripts/ckeditor/config.js +10 -0
- data/app/assets/javascripts/ckeditor/jquery.js +10 -0
- data/app/assets/javascripts/ckeditor/lang/af.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ar.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/az.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/bg.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/bn.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/bs.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ca.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/cs.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/cy.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/da.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/de-ch.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/de.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/el.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/en-au.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/en-ca.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/en-gb.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/en.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/eo.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/es-mx.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/es.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/et.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/eu.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/fa.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/fi.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/fo.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/fr-ca.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/fr.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/gl.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/gu.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/he.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/hi.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/hr.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/hu.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/id.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/is.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/it.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ja.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ka.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/km.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ko.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ku.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/lt.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/lv.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/mk.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/mn.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ms.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/nb.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/nl.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/no.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/oc.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/pl.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/pt-br.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/pt.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ro.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ru.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/si.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/sk.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/sl.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/sq.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/sr-latn.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/sr.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/sv.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/th.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/tr.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/tt.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/ug.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/uk.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/vi.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/zh-cn.js +5 -0
- data/app/assets/javascripts/ckeditor/lang/zh.js +5 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +25 -0
- data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +24 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +44 -0
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +8 -0
- data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +30 -0
- data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +55 -0
- data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +13 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +20 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md +28 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/README.md +25 -0
- data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +32 -0
- data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/az.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/da.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eu.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ko.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/oc.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ro.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +9 -0
- data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
- data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +21 -0
- data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +18 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +10 -0
- data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +7 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +28 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/README.md +25 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +66 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +91 -0
- data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
- data/app/assets/javascripts/ckeditor/styles.js +137 -0
- data/app/assets/javascripts/releaf/include/field.type_richtext.js +1 -0
- data/app/assets/javascripts/releaf/include/remote_validator.js +1 -1
- data/app/assets/javascripts/releaf/include/store_settings.js +2 -2
- data/app/assets/javascripts/releaf/include/url_builder.js +130 -130
- data/app/assets/stylesheets/ckeditor/contents.css +208 -0
- data/app/assets/stylesheets/ckeditor/plugins/colordialog/dialogs/colordialog.css +20 -0
- data/app/assets/stylesheets/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
- data/app/assets/stylesheets/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
- data/app/assets/stylesheets/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- data/app/assets/stylesheets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +25 -0
- data/app/assets/stylesheets/ckeditor/plugins/tableselection/styles/tableselection.css +36 -0
- data/app/assets/stylesheets/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- data/app/assets/stylesheets/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
- data/app/assets/stylesheets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +43 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/dialog.css +5 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor.css +5 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
- data/app/assets/stylesheets/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
- data/app/builders/releaf/builders.rb +4 -1
- data/app/builders/releaf/builders/form_builder/associations.rb +1 -1
- data/app/builders/releaf/builders/page/layout_builder.rb +1 -1
- data/app/builders/releaf/builders/pagination_builder.rb +1 -1
- data/app/builders/releaf/builders/table_builder.rb +7 -0
- data/app/controllers/releaf/action_controller.rb +2 -2
- data/app/controllers/releaf/root_controller.rb +9 -7
- data/app/lib/releaf/search.rb +5 -18
- data/app/models/releaf/settings.rb +1 -1
- data/app/views/releaf/action/create_releaf_richtext_attachment.haml +2 -1
- data/lib/generators/dummy/install_generator.rb +2 -1
- data/lib/generators/dummy/templates/assets/config/manifest.js +3 -0
- data/lib/generators/dummy/templates/controllers/application_controller.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_authors.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_banner_groups.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_banner_pages.rb +2 -2
- data/lib/generators/dummy/templates/migrations/create_banners.rb +2 -2
- data/lib/generators/dummy/templates/migrations/create_book_sequels.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_books.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_bundles.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_chapters.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_home_pages.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_node_extra_fields.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_other_nodes.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_publishers.rb +1 -1
- data/lib/generators/dummy/templates/migrations/create_text_pages.rb +1 -1
- data/lib/generators/dummy/templates/models/author.rb +1 -1
- data/lib/generators/dummy/templates/models/banner.rb +1 -1
- data/lib/generators/dummy/templates/models/banner_group.rb +1 -1
- data/lib/generators/dummy/templates/models/book.rb +1 -1
- data/lib/generators/releaf/templates/initializers/releaf.rb +1 -1
- data/lib/generators/releaf/templates/migrations/create_releaf_nodes.rb +1 -1
- data/lib/generators/releaf/templates/migrations/create_releaf_permissions.rb +1 -1
- data/lib/generators/releaf/templates/migrations/create_releaf_richtext_attachments.rb +1 -1
- data/lib/generators/releaf/templates/migrations/create_releaf_roles.rb +1 -1
- data/lib/generators/releaf/templates/migrations/create_releaf_settings.rb +1 -1
- data/lib/generators/releaf/templates/migrations/create_releaf_translations.rb +1 -1
- data/lib/generators/releaf/templates/migrations/create_releaf_users.rb +1 -1
- data/lib/releaf/engine.rb +2 -3
- data/spec/builders/releaf/builders/association_reflector_spec.rb +1 -1
- data/spec/builders/releaf/builders/base_spec.rb +1 -1
- data/spec/builders/releaf/builders/collection_spec.rb +1 -1
- data/spec/builders/releaf/builders/confirm_destroy_dialog_builder_spec.rb +1 -1
- data/spec/builders/releaf/builders/confirm_dialog_builder_spec.rb +1 -1
- data/spec/builders/releaf/builders/edit_builder_spec.rb +4 -4
- data/spec/builders/releaf/builders/form_builder/associations_spec.rb +1 -1
- data/spec/builders/releaf/builders/form_builder/date_fields_spec.rb +1 -1
- data/spec/builders/releaf/builders/form_builder/i18n_fields_spec.rb +1 -1
- data/spec/builders/releaf/builders/form_builder/label_spec.rb +1 -1
- data/spec/builders/releaf/builders/form_builder/number_fields_spec.rb +1 -1
- data/spec/builders/releaf/builders/form_builder_spec.rb +1 -1
- data/spec/builders/releaf/builders/index_builder_spec.rb +1 -1
- data/spec/builders/releaf/builders/page/header_builder_spec.rb +3 -2
- data/spec/builders/releaf/builders/page/layout_builder_spec.rb +1 -1
- data/spec/builders/releaf/builders/page/menu_builder_spec.rb +1 -1
- data/spec/builders/releaf/builders/pagination_builder_spec.rb +9 -9
- data/spec/builders/releaf/builders/resource_dialog_spec.rb +1 -1
- data/spec/builders/releaf/builders/resource_view_spec.rb +1 -1
- data/spec/builders/releaf/builders/table_builder_spec.rb +14 -1
- data/spec/builders/releaf/builders/toolbox_builder_spec.rb +1 -1
- data/spec/builders/releaf/builders/toolbox_spec.rb +1 -1
- data/spec/builders/releaf/builders/view_spec.rb +1 -1
- data/spec/builders/releaf/builders_spec.rb +10 -0
- data/spec/builders/releaf/settings/form_builder_spec.rb +1 -1
- data/spec/builders/releaf/settings/table_builder_spec.rb +1 -1
- data/spec/controllers/concerns/releaf/richtext_attachments_spec.rb +2 -2
- data/spec/controllers/releaf/action_controller_spec.rb +25 -25
- data/spec/controllers/releaf/root_controller_spec.rb +3 -2
- data/spec/controllers/releaf/settings_controller_spec.rb +2 -2
- data/spec/error_hash_builder_spec.rb +1 -1
- data/spec/features/ajaxbox_spec.rb +3 -3
- data/spec/features/breadcrumbs_spec.rb +2 -2
- data/spec/features/edit_actions_spec.rb +4 -4
- data/spec/features/index_actions_spec.rb +5 -4
- data/spec/features/richtext_spec.rb +1 -1
- data/spec/features/search_spec.rb +5 -5
- data/spec/features/settings_spec.rb +3 -3
- data/spec/lib/releaf/responders_spec.rb +1 -0
- data/spec/lib/validation_error_codes_spec.rb +7 -7
- data/spec/misc/factories_spec.rb +1 -1
- data/spec/models/settings_spec.rb +12 -8
- metadata +429 -27
@@ -372,7 +372,7 @@ RemoteValidator.prototype.register_clicked_button = function(button)
|
|
372
372
|
v.clicked_button = button;
|
373
373
|
|
374
374
|
// when sending form values with FormData, the clicked button value is not included in the data
|
375
|
-
// (except on Safari
|
375
|
+
// (except on Safari).
|
376
376
|
|
377
377
|
// since releaf sometimes uses the clicked button value to modify the action on the server side,
|
378
378
|
// (e.g. for "Save and create another" feature), the value of the clicked button must be appended
|
@@ -12,8 +12,8 @@ jQuery(function(){
|
|
12
12
|
var settings = key_or_settings;
|
13
13
|
if (typeof settings === "string")
|
14
14
|
{
|
15
|
-
settings =
|
16
|
-
settings
|
15
|
+
settings = [];
|
16
|
+
settings.push({key: key_or_settings, value: value});
|
17
17
|
}
|
18
18
|
|
19
19
|
LiteAjax.ajax({ url: settings_path, method: 'POST', data: { "settings": settings}, json: true })
|
@@ -1,138 +1,138 @@
|
|
1
1
|
// constructor
|
2
2
|
function UrlBuilder( params )
|
3
3
|
{
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
4
|
+
if( params === undefined )
|
5
|
+
{
|
6
|
+
params = {};
|
7
|
+
}
|
8
|
+
var keepCurrentQuery = true;
|
9
|
+
if( params === false || params.baseUrl !== undefined )
|
10
|
+
{
|
11
|
+
keepCurrentQuery = false;
|
12
|
+
}
|
13
|
+
if( typeof params === 'string' )
|
14
|
+
{
|
15
|
+
params = { baseUrl: params };
|
16
|
+
}
|
17
|
+
// setup members
|
18
|
+
this.path = '';
|
19
|
+
this.query = {};
|
20
|
+
// get url
|
21
|
+
var baseUrl = params.baseUrl || location.href;
|
22
|
+
// remove anchor
|
23
|
+
baseUrl = baseUrl.split( '#' ).shift();
|
24
|
+
// split url
|
25
|
+
var urlParts = baseUrl.split( '?' );
|
26
|
+
this.path = urlParts.shift();
|
27
|
+
if( keepCurrentQuery && urlParts.length > 0 )
|
28
|
+
{
|
29
|
+
var queryParts = urlParts.shift().split( '&' );
|
30
|
+
for( var i = 0; i < queryParts.length; i++ )
|
31
|
+
{
|
32
|
+
if( queryParts[ i ].length > 0 )
|
33
|
+
{
|
34
34
|
var value;
|
35
|
-
|
36
|
-
|
35
|
+
var variable = queryParts[ i ].split( '=' );
|
36
|
+
var name = variable.shift();
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
38
|
+
if( variable.length > 0 )
|
39
|
+
{
|
40
|
+
value = decodeURIComponent( variable.shift() );
|
41
|
+
}
|
42
|
+
else
|
43
|
+
{
|
44
|
+
value = '';
|
45
|
+
}
|
46
46
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
47
|
+
if( decodeURIComponent( name ).substr( decodeURIComponent( name ).length - 2, 2 ) === '[]' )
|
48
|
+
{
|
49
|
+
name = decodeURIComponent( name );
|
50
|
+
}
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
52
|
+
if( name.substr( name.length - 2, 2 ) === '[]' )
|
53
|
+
{
|
54
|
+
name = name.substr( 0, name.length - 2 );
|
55
|
+
if( this.query[ name ] === undefined || !(this.query[ name ] instanceof Array) )
|
56
|
+
{
|
57
|
+
this.query[ name ] = [];
|
58
|
+
}
|
59
|
+
this.query[ name ].push( value );
|
60
|
+
}
|
61
|
+
else
|
62
|
+
{
|
63
|
+
this.query[ name ] = value;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
if( params.keep !== undefined && params.keep instanceof Array )
|
69
|
+
{
|
70
|
+
var filteredQuery = {};
|
71
|
+
for( var a = 0; a < params.keep.length; a++ )
|
72
|
+
{
|
73
|
+
if( this.query[ params.keep[a] ] !== undefined )
|
74
|
+
{
|
75
|
+
filteredQuery[ params.keep[a] ] = this.query[ params.keep[a] ];
|
76
|
+
}
|
77
|
+
}
|
78
|
+
this.query = filteredQuery;
|
79
|
+
}
|
80
80
|
}
|
81
81
|
|
82
82
|
UrlBuilder.prototype.add = function( params, value )
|
83
83
|
{
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
84
|
+
if( params instanceof Array )
|
85
|
+
{
|
86
|
+
for( var i = 0; i < params.length; i++ )
|
87
|
+
{
|
88
|
+
if( params[ i ].name !== undefined && params[ i ].value !== undefined )
|
89
|
+
{
|
90
|
+
var name = params[ i ].name;
|
91
|
+
if( name.substr( name.length - 2, 2 ) === '[]' )
|
92
|
+
{
|
93
|
+
name = name.substr( 0, name.length - 2 );
|
94
|
+
if( this.query[ name ] === undefined || !(this.query[ name ] instanceof Array) )
|
95
|
+
{
|
96
|
+
this.query[ name ] = [];
|
97
|
+
}
|
98
|
+
this.query[ name ].push( params[ i ].value );
|
99
|
+
}
|
100
|
+
else
|
101
|
+
{
|
102
|
+
this.query[ params[ i ].name ] = params[ i ].value;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
else if( params instanceof Object )
|
108
|
+
{
|
109
|
+
for( var a in params )
|
110
|
+
{
|
111
111
|
if (params.hasOwnProperty(a))
|
112
112
|
{
|
113
113
|
this.query[ a ] = params[ a ];
|
114
114
|
}
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
115
|
+
}
|
116
|
+
}
|
117
|
+
else if( typeof params === 'string' )
|
118
|
+
{
|
119
|
+
if( value === undefined )
|
120
|
+
{
|
121
|
+
var temp = new UrlBuilder( '?' + params );
|
122
|
+
for( var b in temp.query )
|
123
|
+
{
|
124
124
|
if (temp.query.hasOwnProperty(b))
|
125
125
|
{
|
126
126
|
this.query[ b ] = temp.query[b];
|
127
127
|
}
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
128
|
+
}
|
129
|
+
}
|
130
|
+
else
|
131
|
+
{
|
132
|
+
this.query[ params ] = value;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
return this;
|
136
136
|
};
|
137
137
|
|
138
138
|
UrlBuilder.prototype.removeAll = function( preserveParams )
|
@@ -144,30 +144,30 @@ UrlBuilder.prototype.removeAll = function( preserveParams )
|
|
144
144
|
this.remove(i);
|
145
145
|
}
|
146
146
|
}
|
147
|
-
|
147
|
+
return this;
|
148
148
|
};
|
149
149
|
|
150
150
|
UrlBuilder.prototype.remove = function( name )
|
151
151
|
{
|
152
|
-
|
153
|
-
|
152
|
+
delete this.query[ name ];
|
153
|
+
return this;
|
154
154
|
};
|
155
155
|
|
156
156
|
UrlBuilder.prototype.get = function( name )
|
157
157
|
{
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
158
|
+
if( this.query[ name ] !== undefined )
|
159
|
+
{
|
160
|
+
return this.query[ name ];
|
161
|
+
}
|
162
|
+
return null;
|
163
163
|
};
|
164
164
|
|
165
165
|
UrlBuilder.prototype.getUrl = function()
|
166
166
|
{
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
167
|
+
var query = '';
|
168
|
+
var isFirst = true;
|
169
|
+
for( var i in this.query )
|
170
|
+
{
|
171
171
|
if(this.query.hasOwnProperty(i))
|
172
172
|
{
|
173
173
|
if( !isFirst )
|
@@ -187,7 +187,7 @@ UrlBuilder.prototype.getUrl = function()
|
|
187
187
|
query += i + '=' + encodeURIComponent(this.query[ i ]);
|
188
188
|
}
|
189
189
|
}
|
190
|
-
|
190
|
+
}
|
191
191
|
|
192
|
-
|
192
|
+
return this.path + '?' + query;
|
193
193
|
};
|
@@ -0,0 +1,208 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
3
|
+
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
+
*/
|
5
|
+
|
6
|
+
body
|
7
|
+
{
|
8
|
+
/* Font */
|
9
|
+
/* Emoji fonts are added to visualise them nicely in Internet Explorer. */
|
10
|
+
font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
11
|
+
font-size: 12px;
|
12
|
+
|
13
|
+
/* Text color */
|
14
|
+
color: #333;
|
15
|
+
|
16
|
+
/* Remove the background color to make it transparent. */
|
17
|
+
background-color: #fff;
|
18
|
+
|
19
|
+
margin: 20px;
|
20
|
+
}
|
21
|
+
|
22
|
+
.cke_editable
|
23
|
+
{
|
24
|
+
font-size: 13px;
|
25
|
+
line-height: 1.6;
|
26
|
+
|
27
|
+
/* Fix for missing scrollbars with RTL texts. (#10488) */
|
28
|
+
word-wrap: break-word;
|
29
|
+
}
|
30
|
+
|
31
|
+
blockquote
|
32
|
+
{
|
33
|
+
font-style: italic;
|
34
|
+
font-family: Georgia, Times, "Times New Roman", serif;
|
35
|
+
padding: 2px 0;
|
36
|
+
border-style: solid;
|
37
|
+
border-color: #ccc;
|
38
|
+
border-width: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
.cke_contents_ltr blockquote
|
42
|
+
{
|
43
|
+
padding-left: 20px;
|
44
|
+
padding-right: 8px;
|
45
|
+
border-left-width: 5px;
|
46
|
+
}
|
47
|
+
|
48
|
+
.cke_contents_rtl blockquote
|
49
|
+
{
|
50
|
+
padding-left: 8px;
|
51
|
+
padding-right: 20px;
|
52
|
+
border-right-width: 5px;
|
53
|
+
}
|
54
|
+
|
55
|
+
a
|
56
|
+
{
|
57
|
+
color: #0782C1;
|
58
|
+
}
|
59
|
+
|
60
|
+
ol,ul,dl
|
61
|
+
{
|
62
|
+
/* IE7: reset rtl list margin. (#7334) */
|
63
|
+
*margin-right: 0px;
|
64
|
+
/* Preserved spaces for list items with text direction different than the list. (#6249,#8049)*/
|
65
|
+
padding: 0 40px;
|
66
|
+
}
|
67
|
+
|
68
|
+
h1,h2,h3,h4,h5,h6
|
69
|
+
{
|
70
|
+
font-weight: normal;
|
71
|
+
line-height: 1.2;
|
72
|
+
}
|
73
|
+
|
74
|
+
hr
|
75
|
+
{
|
76
|
+
border: 0px;
|
77
|
+
border-top: 1px solid #ccc;
|
78
|
+
}
|
79
|
+
|
80
|
+
img.right
|
81
|
+
{
|
82
|
+
border: 1px solid #ccc;
|
83
|
+
float: right;
|
84
|
+
margin-left: 15px;
|
85
|
+
padding: 5px;
|
86
|
+
}
|
87
|
+
|
88
|
+
img.left
|
89
|
+
{
|
90
|
+
border: 1px solid #ccc;
|
91
|
+
float: left;
|
92
|
+
margin-right: 15px;
|
93
|
+
padding: 5px;
|
94
|
+
}
|
95
|
+
|
96
|
+
pre
|
97
|
+
{
|
98
|
+
white-space: pre-wrap; /* CSS 2.1 */
|
99
|
+
word-wrap: break-word; /* IE7 */
|
100
|
+
-moz-tab-size: 4;
|
101
|
+
tab-size: 4;
|
102
|
+
}
|
103
|
+
|
104
|
+
.marker
|
105
|
+
{
|
106
|
+
background-color: Yellow;
|
107
|
+
}
|
108
|
+
|
109
|
+
span[lang]
|
110
|
+
{
|
111
|
+
font-style: italic;
|
112
|
+
}
|
113
|
+
|
114
|
+
figure
|
115
|
+
{
|
116
|
+
text-align: center;
|
117
|
+
outline: solid 1px #ccc;
|
118
|
+
background: rgba(0,0,0,0.05);
|
119
|
+
padding: 10px;
|
120
|
+
margin: 10px 20px;
|
121
|
+
display: inline-block;
|
122
|
+
}
|
123
|
+
|
124
|
+
figure > figcaption
|
125
|
+
{
|
126
|
+
text-align: center;
|
127
|
+
display: block; /* For IE8 */
|
128
|
+
}
|
129
|
+
|
130
|
+
a > img {
|
131
|
+
padding: 1px;
|
132
|
+
margin: 1px;
|
133
|
+
border: none;
|
134
|
+
outline: 1px solid #0782C1;
|
135
|
+
}
|
136
|
+
|
137
|
+
/* Widget Styles */
|
138
|
+
.code-featured
|
139
|
+
{
|
140
|
+
border: 5px solid red;
|
141
|
+
}
|
142
|
+
|
143
|
+
.math-featured
|
144
|
+
{
|
145
|
+
padding: 20px;
|
146
|
+
box-shadow: 0 0 2px rgba(200, 0, 0, 1);
|
147
|
+
background-color: rgba(255, 0, 0, 0.05);
|
148
|
+
margin: 10px;
|
149
|
+
}
|
150
|
+
|
151
|
+
.image-clean
|
152
|
+
{
|
153
|
+
border: 0;
|
154
|
+
background: none;
|
155
|
+
padding: 0;
|
156
|
+
}
|
157
|
+
|
158
|
+
.image-clean > figcaption
|
159
|
+
{
|
160
|
+
font-size: .9em;
|
161
|
+
text-align: right;
|
162
|
+
}
|
163
|
+
|
164
|
+
.image-grayscale
|
165
|
+
{
|
166
|
+
background-color: white;
|
167
|
+
color: #666;
|
168
|
+
}
|
169
|
+
|
170
|
+
.image-grayscale img, img.image-grayscale
|
171
|
+
{
|
172
|
+
filter: grayscale(100%);
|
173
|
+
}
|
174
|
+
|
175
|
+
.embed-240p
|
176
|
+
{
|
177
|
+
max-width: 426px;
|
178
|
+
max-height: 240px;
|
179
|
+
margin:0 auto;
|
180
|
+
}
|
181
|
+
|
182
|
+
.embed-360p
|
183
|
+
{
|
184
|
+
max-width: 640px;
|
185
|
+
max-height: 360px;
|
186
|
+
margin:0 auto;
|
187
|
+
}
|
188
|
+
|
189
|
+
.embed-480p
|
190
|
+
{
|
191
|
+
max-width: 854px;
|
192
|
+
max-height: 480px;
|
193
|
+
margin:0 auto;
|
194
|
+
}
|
195
|
+
|
196
|
+
.embed-720p
|
197
|
+
{
|
198
|
+
max-width: 1280px;
|
199
|
+
max-height: 720px;
|
200
|
+
margin:0 auto;
|
201
|
+
}
|
202
|
+
|
203
|
+
.embed-1080p
|
204
|
+
{
|
205
|
+
max-width: 1920px;
|
206
|
+
max-height: 1080px;
|
207
|
+
margin:0 auto;
|
208
|
+
}
|