grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

[QUESTIONS] Make a component that can't be removed.

Open krisnaw opened this issue 8 years ago • 3 comments

Hi there,

Is it possible to make a component that can't be removed or without remove the trach icon when it clicked?

Thanks, looking forwards.

krisnaw avatar Oct 08 '18 05:10 krisnaw

I think what you want is data-gjs-removable="false" add that as an attribute to your div like.

Hello World!

Skovmissen avatar Oct 08 '18 09:10 Skovmissen

Hi, @Skovmissen Thanks for your responses.

It's worked.

krisnaw avatar Oct 08 '18 09:10 krisnaw

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 08 '19 09:10 lock[bot]