I am trying to add properties, for example " letter-spacing ". However I dont see them on the user interface.

Here are the steps I did
1. On admin/config/user-interface/sweaver I added letter-spacing in the allowed list
2. On admin/config/user-interface/sweaver/editor/properties I added new property with these options in the form.
2.a Machine-name: letter-spacing
2.b CSS property: letter-spacing
2.c Parent: Blank
2.d Suffix: px
2.e Type: Slider
2.f Slider MX & Min Values: 1, 72 resp
2.g Options: Blank

3. Then on admin/config/user-interface/sweaver/editor, I put that in "Other".

Am I doing anything wrong here? Something is missing in my ocnfiguration. I dont happen to see any chane on the front GUI.

Thanks a lot.

Comments

Anonymous’s picture

Assigned: Unassigned »
Status: Active » Closed (fixed)

You almost got it.

You created a property, you now need to tell Sweaver which types of content can use it. So go to admin/config/user-interface/sweaver/editor/types and then for each type add the option "letter-spacing".

This will make it almost work. But the property letter-spacing is usually set up to "normal", a value that the slider cannot understand. Therefore you will be getting a display bug when you try to use the slider.

I have planned for some time to implement the "letter-spacing" property into sweaver core. It will come in the next weeks.

denny84’s picture

Wow thanks a lot, that was indeed very close. Thanks again