Closed arretnet closed 4 years ago
BTW, forgot to say, the real one I need is number one, about n° 2 it's ok, sorry.
Best regards Patrice Coacolo
Hi found how to do: editor.on('component:deselected',(model) => {
const computed = getComputedStyle(model.view.el);
var width_=computed.width;
});
Hi, I use Grapesjs to create template to generate pdf in Wordpress.All is ok( wonderful appli) except I need to get the width of the selected element when its size change and I block on this, but sounds really simple. Best regards Patrice Coacolo