redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

Spacing field values lost

Open htrex opened this issue 13 years ago • 15 comments

Try to save some values on a spacing fields, when the option page reloads you can see there are no saved values.

Another small bug of the spacing field is the order of default values in it's hint message, it should be top/right/bottom/left is top/bottom/left/right ....

htrex avatar Oct 30 '13 16:10 htrex

@htrex Working on spacing and dimension fields today. Please bear with me as I finish them up.

dovy avatar Oct 30 '13 16:10 dovy

I've pulled the supposed 3.0.4 version just after the "Readme update for Wordpress.org version push." and seeing the problem still.

htrex avatar Oct 31 '13 13:10 htrex

Yea, I am still working on it. Sorry. I'll post here once it's fixed.

dovy avatar Oct 31 '13 13:10 dovy

@htrex Try the newest build. Commit 3aa73fe007500960b528f3ad1360a1a252b5aa73 should have fixed the issue.

dovy avatar Nov 04 '13 05:11 dovy

Sorry, it's not completely fixed. It has lost die Units now, or better it does not add the unit directly behind the numerical values:

field_idxy: { margin-top: "2" margin-bottom: "2" units: "px" }

It should to be

field_idxy: { margin-top: "2px" margin-bottom: "2px" units: "px" }

FrankyG avatar Nov 04 '13 15:11 FrankyG

@dovy tested: the values are saved but the css output misses units, eg:

<style type="text/css" class="redux-spacing">#reboot-logo-std{margin-top:10px;margin-right:22;margin-bottom:5;margin-left:33;}</style>

it would also be nice to output all css code in a single