getStylesForSelection
Returns the styles to apply for a given selection.
selection must have been obtained from componentSelection.
Returns the styles to apply for a given selection.
selection must have been obtained from componentSelection.