Relative Content

Tag Archive for javascriptgrapesjs

Whitespace Issue in Custom GrapesJS Component Extension

I’ve extended the default button component in GrapesJS to allow for editable text within the button. However, I’m encountering difficulties with whitespace handling. When attempting to add whitespace within the editable button component, it does not display properly. Instead, the whitespace seems to be ignored or treated differently than regular text characters.