GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.36k stars 4.05k forks source link

BUG: v0.17.25 . Trait button in the custom component defining. #3763

Closed abolabo closed 3 years ago

abolabo commented 3 years ago

GrapesJS version

What browser are you using?

Firefox

Reproducible demo link

https://jsfiddle.net/abolabo/3g7j519h/19/

Describe the bug

Code works incorrect: traits: [ { type: "button", text: "click me", full: true, command: (editor) => console.log("trait command"), }, ],

I expecting

artf commented 3 years ago

Thanks @abolabo for the report, this issue was actually already fixed here #3735