-
Notifications
You must be signed in to change notification settings - Fork 5
Description
The Text direction button is available, but it does not fully apply the direction to the pasted text content.
When I paste text and then set Text direction to Right-to-Left, it only changes the paragraph/container.
The pasted text itself does not inherit the RTL direction, which causes incorrect display.
❌ Current behavior (wrong):
Only the paragraph becomes RTL, but the pasted text remains LTR.

✅ Expected behavior (correct):
When I select Right-to-Left, both the paragraph and the pasted text should be aligned and displayed in RTL.

Steps to reproduce:
Paste text into the editor.
Click the Text direction button and select Right-to-Left.
Notice that only the paragraph is RTL, while the pasted text direction remains unchanged.
Expected result:
The Text direction button should apply RTL/LTR properly to both the paragraph and the pasted text content.