How "text" component works?
Hi,
I am trying to understand the "text" component, in that process i copied the "text" component from lib/foundation/components to app/geometrixx/components.
For testing purpose i removed tab2 node from text/dialog/items, and when i use that component (in the design mode enabled under paragraph system; grouped under General of side kick) i was not seeing the second tab 'Styles' for that component. I understand that since i removed the node entry i am not seeing it fine perfect. But my confusion starts when i again create a node under 'text/dialog/items' with the original properties, tab2 (node name) and its properties (jcr:primaryType as cq:Widget and xtype as componentstyles).
My question is how by setting the property here, i am seeing the second tab with name 'Styles' and two drop downs 'Space' and 'Text Syle', having options like 'None', 'Before', 'Afte'r, 'Before and After' for Space dropdown. 'Normal', 'Large', and 'Quote' for Text Style drop down box. Where is the jsp code to populate this? Please clarify. Attached the screen shot for better understanding.