Syntax.js - Documentation - Buttons

Below is the JSON format and properties that can be used for adding custom buttons.

Download Now

v2.5.0 - 29th Mar 2024
JSON Properties
Type: Name: Description:
string text States the text that should be shown on the button.
Object onClick States the custom event that should be triggered when the button is clicked (the code is passed to the event).
string className States a CSS class name to apply to the button (optional).