How to reset the margin and padding input value
Question
How to reset the margin and padding input value.
I have reset the input value but when user again click on upper arrow of margin box then it get the previous not the reset value.
Please let me know how to do that.
Answers (2)
Inputs are binded to the target (Components/Css Rules) so it doesn't make sense just changing the input, you have to update the target (eg. editor.getSelectedToStyle().addStyle({ 'margin-top': 0 }))
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.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1090
How to remove toolbar icons
Hi artf, Please let me know how we can remove the toolbar icons like when user click on image element then I don't want delete icon or othe...
Issue #1061
How we can show countdown traits
Hi artf, Please let us know how we get the countdown elements in edit mode means when we set the template html using editor.setComponents(t...
Issue #1706
[Question]: How to get href from rte?
I have this rte toolbar where you can type and click 'save' and it's going to create a link for the selected text. but the problem is that...
Issue #740
How to remove class from html
Hi @artf, We are updating the <i> tag class but it adds new class to this but previous class is not remove.please let us know how to remove...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.