Skip to content

Text direction button does not affect pasted text correctly "bug" #162

@wolfkingal2000

Description

@wolfkingal2000

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.
Image

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions