grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

how to change the content

Open ionic666 opened this issue 8 years ago • 3 comments

hi ,Thank you for your advice on the previous question.but when i change the content ,there will be a extra table.can you tell me which method can just change the content? qq20180606-092912 qq20180606-092957

ionic666 avatar Jun 06 '18 01:06 ionic666

again @ionic666, components are children, so you're NOT replacing the component, you're just adding children. If you need for example to update attributes of the wrapper you do this selected.setAttributes({ property: 'value' })

artf avatar Jun 07 '18 22:06 artf

@artf sorry ,i just want to know which method can change the content in table.because i want to change the 'tr' and 'td' in 'table'

ionic666 avatar Jun 08 '18 01:06 ionic666

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 Sep 17 '19 13:09 lock[bot]