Hi,
I try out the new textarea buttons and it work on the basic textarea. Now I had a some custom block on my page, that use the textarea, but the custom buttons wont show.
index.js:
panel.plugin("symcon/textareaButtons", {
textareaButtons: {
tables: {
label: "Fix tabel",
icon: "check",
click: function () {
this.command("insert", (input, selection) => {
//execute the command
})
}
},}});
button.yml
name: Button
icon:
preview: fields
wysiwyg: true
fields:
text:
type: textarea
buttons:
- tables
Is it not available or did I miss something?