Mafalda Papini

Results comments of Mafalda Papini

Not just something to undo-redo editing? I tryed in https://stackblitz.com/edit/ngx-wig-sample-plugins?file=src/app.ts adding this after edithtml `undo: { label: 'Undo', title: 'Undo', command: 'undo', styleClass: 'nw-button', }, redo: { label: 'Redo', title:...

Ok, to add custom buttons you can follow [this](https://stackblitz.com/edit/ngx-wig-sample-plugins?file=src%2Fapp.ts) example from documentation (I quite didn't understand your approach sorry) and add to the variable `MY_PLUGIN` your custom buttons, like: ```...

Ah, for the `command` you can pass a function or a command from [this list](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand)