Style tab getting un selected in edit dialog when it has spaces in style outputted
- February 24, 2016
- 3 replies
- 1797 views
Hi All,
I am trying to use style tab feature of AEM component, so that I can use the same component on my different pages with different look and feel.
Sometimes i want to create style which have spaces in between for example when the author choose "Hero - Branded" on the component div I want this style to apply - "hero-parallax home-hero" (Please refer to attached images
When author reopens the edit dialog the style gets selected to default. Problem is with style node which have space in them. Now only solution i can think of is to change all my style from hero-parallax home-hero to
hero-parallax_home-hero and refactor my css, which is a big pain.
Any better way, I also tried adding a property value similar to text on node but that did not helped.
Thanks!
Shehjad