scrivito_editors 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/app/assets/fonts/redactor-font.eot +0 -0
  4. data/app/assets/javascripts/redactor.js +844 -415
  5. data/app/assets/javascripts/scrivito_editors/date_editor.js.coffee +1 -1
  6. data/app/assets/javascripts/scrivito_editors/enum_editor.js.coffee +1 -1
  7. data/app/assets/javascripts/scrivito_editors/html_editor.js.coffee +1 -1
  8. data/app/assets/javascripts/scrivito_editors/image_editor.js.coffee +72 -0
  9. data/app/assets/javascripts/scrivito_editors/link_editor.js.coffee +124 -0
  10. data/app/assets/javascripts/scrivito_editors/linklist_editor.js.coffee +1 -1
  11. data/app/assets/javascripts/scrivito_editors/multienum_editor.js.coffee +1 -1
  12. data/app/assets/javascripts/scrivito_editors/reference_editor.js.coffee +1 -1
  13. data/app/assets/javascripts/scrivito_editors/referencelist_editor.js.coffee +1 -1
  14. data/app/assets/javascripts/scrivito_editors/slider_editor.js.coffee +1 -1
  15. data/app/assets/javascripts/scrivito_editors/string_editor.js.coffee +5 -3
  16. data/app/assets/javascripts/scrivito_editors/text_editor.js.coffee +2 -2
  17. data/app/assets/javascripts/scrivito_editors.js +2 -7
  18. data/app/assets/javascripts/scrivito_editors_addons.js +4 -0
  19. data/app/assets/javascripts/scrivito_editors_core.js +3 -0
  20. data/app/assets/stylesheets/redactor.css.erb +66 -53
  21. data/app/assets/stylesheets/scrivito_editors/editors/image_editor.css +7 -0
  22. data/app/assets/stylesheets/scrivito_editors/editors/link_editor.css +80 -0
  23. data/app/assets/stylesheets/scrivito_editors.css +2 -2
  24. data/lib/scrivito_editors/version.rb +1 -1
  25. metadata +23 -4
  26. data/app/assets/javascripts/jquery_additions/jquery_center.js.coffee +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 664c752683fce0e45ced59c64ddc88bbd8e2571d
4
- data.tar.gz: 80d4b66240203c032fc7a61ea323142eb40a6f16
3
+ metadata.gz: 8e575bd6b6630d8f371dcae393849aba6e297112
4
+ data.tar.gz: 61a44a43126f3d74ad178590d2a981403ad6ac43
5
5
  SHA512:
6
- metadata.gz: d4c34cea254c1c34308d3384e82830c6ede0acac50b0ed205795557b2b4115017cdd7a8dbe5d777ec985f621f0e525fffb6c84ced188cd371ceefae40fbdb425
7
- data.tar.gz: 09758ec3293500ba33c49913af4e21abbb1d605967be1214dcdb467d2953ed5574f986e149789fabe03688e1d0054b650750f020b2f025e72b7c1ddd9d9b642a
6
+ metadata.gz: 4be2ea874776864a122662d21f8bd392f1265e4c2d034dfbef6ec2efb2199c0b5619c6ce2903bc0b7eeab487481fa6b3095ef2f3c55cd40d8b55d29577c3b940
7
+ data.tar.gz: 85abc8b64dce2e89c0f98737c6d5e9a16c07146f8ae69d9b498dfcb8b1371db0592ebc4487945eed40839b14bc8157af4f0d2d64530f4c5ed71c33c0c741c7b6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ # v0.0.13
2
+ * Added `autosave` option to the string editor to prevent that on every input the content is saved
3
+ to the CMS. This is useful when setting a permalink for example, where intermediate strings
4
+ would trigger an error. When `data-autosave` is set to `false`, then only `enter` and the `blur`
5
+ event will save the string to the CMS.
6
+ * Added editor for new attribute type `link`. It lets you set the title and url of the link,
7
+ similar to how a linklist is edited. It can also handle an empty url, which effectively deletes
8
+ the link.
9
+ * Allow to select multiple editors on one cms field. You can now use
10
+ `data-editor="reference image"` for example, to activate both editors.
11
+ * Added image upload editor, that allows to drag & drop an image on an existing image. This
12
+ functionality was moved out of the Scrivito SDK.
13
+ * Updated Redactor to version 9.2.5.
14
+ * Removed unused `jQuery.center` addon.
15
+ * We separated the jQuery addons from the core editors functionality, which allows to only require
16
+ one, but not the other. Use `//= require 'scrivito_editors'` to require both,
17
+ `//= require 'scrivito_editors_core'` to only include the editor but not the addons and use
18
+ `//= require 'scrivito_addons'` if you only want the addons. (Thanks @cedrics)
19
+
1
20
  # v0.0.12
2
21
  * Rails no longer supports the `vendor` directory, so we moved the assets into the standard asset
3
22
  folder, so that they are integrated into the asset pipeline automatically.
Binary file