SnapEditor v1.9.0 Released!

We have just released SnapEditor v1.9.0.

You can check out the changes at https://snapeditor.com/versions.

Of note are the 2 major changes in this release.

Config Changes

What was “buttons” is now known as “toolbar” with and “item” key.

// This means this
var editor = new SnapEditor.InPlace(“editor”, {
  buttons: [“styleBlock”, “|”, “b”]
};

// Becomes this
var editor = new SnapEditor.InPlace(“editor”, {
  toolbar: {
    items: [“styleBlock”, “|”, “b”]
  }
};

For details, check out the configuration docs.

Custom Styles

We’ve added custom styles to SnapEditor. This means you can now include your own pre-defined classes into SnapEditor. The styles will show up in the dropdown menus in the toolbar. For details, check out the custom styles doc.

Questions or feedback about this release? Leave your comments below.