Issue #585Opened November 29, 2017by Deepak8130 reactions

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)

artfNovember 30, 20170 reactions

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 }))

lock[bot]September 18, 20190 reactions

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.