mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 18:40:00 +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>
16 lines
442 B
TypeScript
16 lines
442 B
TypeScript
export { type TextAlignConfig, textAlignConfigs } from './align';
|
|
export { type TextConversionConfig, textConversionConfigs } from './conversion';
|
|
export {
|
|
asyncGetRichText,
|
|
asyncSetInlineRange,
|
|
cleanSpecifiedTail,
|
|
focusTextModel,
|
|
getInlineEditorByModel,
|
|
getRichTextByModel,
|
|
getTextContentFromInlineRange,
|
|
onModelTextUpdated,
|
|
selectTextModel,
|
|
} from './dom';
|
|
export { RichText } from './rich-text';
|
|
export * from './utils';
|