Brought back commit reverted in f20b36cb - without it text selection is lost inside nested editables (e.g. when applying inline styles).