RTE: control text direction on the paragraph level (#11954)