mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 03:19:52 +08:00
5b52349b96
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>
12 lines
625 B
TypeScript
12 lines
625 B
TypeScript
export { updateBlockType } from './block-type.js';
|
|
export { changeNoteDisplayMode } from './change-note-display-mode.js';
|
|
export { dedentBlock } from './dedent-block.js';
|
|
export { dedentBlockToRoot } from './dedent-block-to-root.js';
|
|
export { dedentBlocks } from './dedent-blocks.js';
|
|
export { dedentBlocksToRoot } from './dedent-blocks-to-root.js';
|
|
export { indentBlock } from './indent-block.js';
|
|
export { indentBlocks } from './indent-blocks.js';
|
|
export { selectBlock } from './select-block.js';
|
|
export { selectBlocksBetween } from './select-blocks-between.js';
|
|
export { updateBlockAlign } from './update-block-align.js';
|