Skip to content

v1.2.0

Choose a tag to compare

@ego-lay-atman-bay ego-lay-atman-bay released this 01 Mar 03:38

Additions

  • New option elementOptions. When this option is set to true, options can be set on the element. The options are prefixed with sb-, for example <pre class="code" sb-style="snap-flat">block</pre>.
  • New icons, storage, brush, pipette, paintBucket (bucket), location, and eraser.

Changes

  • Set wrapSize below 0 to set it to the default.
  • All the ids in an svg are now appended by a random string. This is to keep the ids pointing to the id in the same svg, rather than the first svg.
  • Minor tweaks to the styles.

Bug fixes

  • Fixed define block showing dark text (with zebra coloring).

I also finally set up a documentation site. Currently the content needs work, but at least it's now set up. Anyone can contribute to the documentation.

https://snap-blocks.github.io/docs

Full Changelog: v1.1.1...v1.2.0