Created attachment 193798 [details] Word-wrapping in Styles pane. Scenario: Example: float: left; Clicking in the middle of the word 'float' Behaviour: Adds carriage return in middle of word, wrapping it down, removes left margin of panel style and nullifies effect of CSS declaration. Same goes if you clicked inside the word 'left'. Please see attached screenshot. Expected behaviour: New, empty, declaration added underneath, with marker set to far left.
<rdar://problem/13451261>
So you want pressing return anywhere in the line to add a newline without breaking the current line in the middle? I'm not sure about this. The new Styles sidebar is just a text editor with special markers. We want to allow developers to add and remove line breaks wherever they want. What you request is possible, I'm just not sure if it is the best or expected behavior for everyone.
Behaves as expected per Tim's comment. We are not going to change this editing model.