Fixes: #11954  RTE: control text direction on the paragraph level

Fix problem with focusing in IE