Files
caikai-assets/types/wangeditor-types.d.ts
T
liujjandClaude Opus 5.5 2072c6780f
CI / build-and-test (push) Canceled after 0s
feat: 资产管理前端从管理端拆分为独立工程
以 ckcloudManage a44810c 为基础,只保留资产页面(台账、单据、基础数据、同步任务)、
登录/错误/个人资料等公共页面,以及资产单据“查看流程”用到的流程详情页;
统一登录应用编码默认 CK_ASSET,标题“资产管理”,本地端口 9090。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:44:26 -08:00

28 lines
534 B
TypeScript

import { SlateDescendant } from '@wangeditor-next/editor'
declare module 'slate' {
interface CustomTypes {
// 扩展 text
Text: {
text: string
bold?: boolean
italic?: boolean
code?: boolean
through?: boolean
underline?: boolean
sup?: boolean
sub?: boolean
color?: string
bgColor?: string
fontSize?: string
fontFamily?: string
}
// 扩展 Element 的 type 属性
Element: {
type: string
children: SlateDescendant[]
}
}
}