@univerjs-pro/docs-table
此 API 頁面目前提供英文內容。程式碼簽名與識別符不隨介面語言變更。
Enhanced table model integration for Univer Docs.
TypeScript
import { UniverDocsTablePlugin } from '@univerjs-pro/docs-table'univer.registerPlugin(UniverDocsTablePlugin, {})Entry Points
- Facade:
@univerjs-pro/docs-table/facade
IUniverDocsTableConfig
TypeScript
export interface IUniverDocsTableConfig {}Whole-table alignment
DocsTableSetTableAlignCommand sets an existing Traditional document table's align property. Its parameters are { unitId, tableId, value }, where value is TableAlignmentType.START, CENTER, or END from @univerjs/core. It supports undo/redo and saving; it does not change cell text alignment. Invalid targets, disabled documents, and Modern documents return false; setting the existing alignment returns true without a change. See the command example.
你覺得這篇文檔如何?