#352 - Custom placeholders now support scripting

This commit is contained in:
Elio Struyf
2022-07-21 18:38:53 +03:00
parent 9445ce6d37
commit 7badfda41b
10 changed files with 70 additions and 19 deletions
+6
View File
@@ -0,0 +1,6 @@
export interface CustomPlaceholder {
id: string;
value?: string;
script?: string;
command?: string
}
+1 -1
View File
@@ -118,7 +118,7 @@ export interface CustomScript {
output?: "notification" | "editor";
outputType?: string;
type?: ScriptType;
command?: CommandType;
command?: CommandType | string;
}
export interface PreviewSettings {
+1
View File
@@ -1,6 +1,7 @@
export * from './BlockFieldData';
export * from './Choice';
export * from './ContentFolder';
export * from './CustomPlaceholder';
export * from './CustomTaxonomyData';
export * from './DashboardData';
export * from './DataFile';