feat(magic-notes): add rich table editing
Add native Quill table insertion and contextual row, column, and table actions. Preserve table-only drafts through composer validation, IPC, and storage, and document the saved behavior.\n\nRelease note: 魔法笔记支持插入和编辑表格,空单元格表格也可保存并在重新打开后恢复。
This commit is contained in:
@@ -154,7 +154,8 @@ const magicNoteAttributesSchema = z
|
||||
align: z.enum(['center', 'right', 'justify']).optional(),
|
||||
indent: z.number().int().min(1).max(8).optional(),
|
||||
size: z.enum(['small', 'large', 'huge']).optional(),
|
||||
color: z.enum(MAGIC_NOTE_TEXT_COLORS).optional()
|
||||
color: z.enum(MAGIC_NOTE_TEXT_COLORS).optional(),
|
||||
table: z.string().min(1).max(64).optional()
|
||||
})
|
||||
.strict()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user