Hi,
We just released SnapEditor v1.9.0.
There are a few bug fixes, but there are 2 major changes.
1. There has been a change to the config. What was "buttons" is now known as "toolbar" with an "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"]
}
};
2. We've added a new feature: custom styles! You can now include your own custom classes and they will appear in the dropdown menus from the toolbar. For details, check out the
custom styles docs.
As usual, if you have feedback, we'd love to hear it.
Cheers,
Wesley