Plugin - Editable Text Custom Button

API Reference vce-plugin-editable-text-custom-button

HTML Attributes API

Name Description Type Required Default value
button-name Button name string ''
id-attribute-name Id attribute name string ''
translations Sets the translations object {tooltip: 'string'}

Method

Name Description Parameter
setupTinyMceEditor Makes tinyMCE available with this element TinymceEditor

Events

Event Description Returns
vce-plugin-editable-text-custom-button.click Fires on click

      {
      detail: { id:  this.idAttributeName,
                button: this.buttonName }
      }