Skip to content

Conversation

@mahdjalili
Copy link

  • Add RTL utilities with text direction detection based on first character
  • Add RTL CSS framework with utilities for text alignment, margins, padding
  • Extend text alignment to support justify and RTL-aware options
  • Add TextDirection enum and schema for text direction properties
  • Implement RTL support in rich text editor with automatic direction detection
  • Add RTL support to paragraph blocks with proper quote and placeholder styling
  • Add RTL support to list blocks with proper icon and content positioning
  • Add RTL support to page root with direction-aware text alignment
  • Create RTL test preset with Persian (Farsi) content for testing
  • Update all components to use first-character-based RTL detection

The implementation provides:

  • Automatic RTL detection based on first non-whitespace character
  • RTL-aware text alignment (left/right automatically mirror in RTL)
  • Proper CSS styling for RTL layouts using [dir='rtl'] selectors
  • Support for mixed LTR/RTL content
  • Comprehensive test page with Persian text examples

Closes: RTL support implementation

- Add RTL utilities with text direction detection based on first character
- Add RTL CSS framework with utilities for text alignment, margins, padding
- Extend text alignment to support justify and RTL-aware options
- Add TextDirection enum and schema for text direction properties
- Implement RTL support in rich text editor with automatic direction detection
- Add RTL support to paragraph blocks with proper quote and placeholder styling
- Add RTL support to list blocks with proper icon and content positioning
- Add RTL support to page root with direction-aware text alignment
- Create RTL test preset with Persian (Farsi) content for testing
- Update all components to use first-character-based RTL detection

The implementation provides:
- Automatic RTL detection based on first non-whitespace character
- RTL-aware text alignment (left/right automatically mirror in RTL)
- Proper CSS styling for RTL layouts using [dir='rtl'] selectors
- Support for mixed LTR/RTL content
- Comprehensive test page with Persian text examples

Closes: RTL support implementation
@vercel
Copy link

vercel bot commented Oct 27, 2025

@mahdjalili is attempting to deploy a commit to the toeverything Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
blocksuite Ready Ready Preview Comment Oct 27, 2025 11:03am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant