AFFiNE/tests/blocksuite/e2e
Xun Sun 5b52349b96
feat: implement textAlign property (#11790)
for paragraph blocks, image blocks, list blocks, and table blocks

Should fix #8617 and #11254.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added text alignment options (left, center, right) for paragraph,
list, image, note, and table blocks.
- Introduced alignment controls in toolbars and slash menus for easier
formatting.
- Enabled keyboard shortcuts for quick text alignment changes (supports
Mac and Windows).
- **Localization**
- Added English, Simplified Chinese, and Traditional Chinese
translations for new alignment commands and shortcuts.
- **Style**
  - Blocks now visually reflect selected text alignment in their layout.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: L-Sun <zover.v@gmail.com>
2025-09-26 07:23:28 +00:00
..
clipboard
code
cross-platform
database
edgeless
embed-synced-doc
fixtures
fragments
hotkey
image
latex
multiple-editors
selection
utils
attachment.spec.ts
bookmark.spec.ts
drag.spec.ts
format-bar.spec.ts feat: implement textAlign property (#11790) 2025-09-26 07:23:28 +00:00
link.spec.ts
linked-page.spec.ts
list.spec.ts
markdown.spec.ts
paragraph.spec.ts
quote.spec.ts
slash-menu.spec.ts feat: implement textAlign property (#11790) 2025-09-26 07:23:28 +00:00
worker.spec.ts
zero-width.spec.ts