EHTMLEditorSelection - Fix the "Wrap Lines" action

Base is on blocks inside the selection and not on text that is actually
selected (that behaviour caused unwanted results).