grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

How to prevent styling html components?

Open Skovmissen opened this issue 8 years ago • 3 comments

Im trying to create some templates, which should not be editable and styleable. So that when i drag in my blocks then should stay as defined. Is there a way to disable the style manger for certain components?

i know about data-gjs-removable="false", data-gjs-editable="false" But they do not do what im tryting to do.

Thanks.

Skovmissen avatar Oct 08 '18 09:10 Skovmissen

Try data-gjs-stylable="false".

cjpollard avatar Oct 08 '18 09:10 cjpollard

Yeah you should use data-gjs-stylable="false"

artf avatar Oct 10 '18 21:10 artf

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Oct 10 '19 22:10 lock[bot]