Want to delete width attribute on table, td etc #4204
Unanswered
suchiitsme
asked this question in
Q&A
Replies: 1 comment 1 reply
-
width itself is an invalid attribute on the table element - putting it there has no impact on the rendering what-so-ever |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When we set width to a table element on StyleManager , its updating both style="width:px" and width="px". On import, On save too this is happening, even if the width attribute is not there, it is adding. I would like to remove the 'width' as attribute and keep only style="width:" property.
Tried with:
const attr = model.getAttributes();
delete attr.width;
But width again gets added when we save it using .runCommand('gjs-get-inlined-html').
Please let me know, how can I achieve this?
Beta Was this translation helpful? Give feedback.
All reactions