mjml
mjml copied to clipboard
Fix wrong const cmdPanel
Q | A |
---|---|
Bug fix? | Y |
New feature? | N |
Automated tests included? | N |
Related user documentation PR URL | N |
Related developer documentation PR URL | N |
Issues addressed (#s or URLs) | N |
BC breaks? | N |
Deprecations? | N |
Description:
Undo and Redo buttons are set in the wrong panel due to an error in this const :
const cmdPanel = pnm.getPanel('options');
With this correction, it's like https://github.com/artf/grapesjs-preset-newsletter
In Newsletter undo & redo buttons are within commands panel: https://github.com/artf/grapesjs-preset-newsletter/blob/master/src/buttons.js#L40
Ok I'll take a look once I release v0.1.16
Have you tested this locally? this commit seems to break the undo/redo buttons on the latest version
With the latest release this is not an issue anymore