feat: 让模板声明信任内容编辑语义
This commit is contained in:
1 parent
6d7fae95b3
commit
e3a4074d8e
12 files changed
+159
-13
No files matched your search
@@ -225,6 +225,12 @@ export interface TemplatePackageManifest {
|
||||
fields: readonly { key: string; binding: string; label: string; required?: boolean }[];
|
||||
}[];
|
||||
};
|
||||
trustContentTypes?: readonly {
|
||||
type: string;
|
||||
label: string;
|
||||
help?: string;
|
||||
placeholder?: string;
|
||||
}[];
|
||||
sampleContent?: Partial<Record<BrandTemplateKey, TemplateSampleContent>>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user