grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Missing Attributes

Open froderf opened this issue 7 years ago • 2 comments

When I drag a block into the canvas, some attributes of that block is missing

blocks: [
                  {
                    label: 'Container',
                    content: '<div data-gjs-test="true" class="container"></div>',

                  },//end of container
]

from the above example the "data-gjs-test" was removed after dragging the block into the canvas. I want it to remain . Thank you

froderf avatar Dec 24 '18 08:12 froderf

Those attributes were made to be removed, if you need them, probably you're doing something wrong...

artf avatar Dec 27 '18 13:12 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 Dec 27 '19 15:12 lock[bot]