@servicetitan/dte-unlayer 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editor-core-source.d.ts +2 -2
- package/dist/editor-core-source.d.ts.map +1 -1
- package/dist/editor-core-source.js +2 -2
- package/dist/editor-core-source.js.map +1 -1
- package/dist/shared/const.d.ts +1 -0
- package/dist/shared/const.d.ts.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +2 -1
- package/dist/store.js.map +1 -1
- package/dist/unlayer-interface.d.ts +1 -0
- package/dist/unlayer-interface.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/editor-core-source.ts +2 -2
- package/src/shared/const.ts +1 -0
- package/src/store.ts +2 -1
- package/src/unlayer-interface.tsx +1 -0
package/src/shared/const.ts
CHANGED
package/src/store.ts
CHANGED
|
@@ -159,7 +159,7 @@ export class UnlayerStore {
|
|
|
159
159
|
|
|
160
160
|
if (tool.slug) {
|
|
161
161
|
delete data.design.counters[`u_content_custom_${tool.slug}`];
|
|
162
|
-
delete tool.values._meta;
|
|
162
|
+
delete tool.values._meta.htmlID;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
tool.type = realTool.type;
|
|
@@ -198,6 +198,7 @@ export class UnlayerStore {
|
|
|
198
198
|
schema: this.props.schema,
|
|
199
199
|
generics: this.props.generics,
|
|
200
200
|
genericConfigMode: this.props.genericConfigMode,
|
|
201
|
+
isSnapshotMode: this.props.isSnapshotMode,
|
|
201
202
|
};
|
|
202
203
|
|
|
203
204
|
this.sendMessage('--config', JSON.parse(JSON.stringify(data)));
|
|
@@ -55,6 +55,7 @@ export interface CreateUnlayerEditorProps {
|
|
|
55
55
|
tools: UnlayerEditorCustomTool[];
|
|
56
56
|
newSnapshot?: UnlayerEditorTwin;
|
|
57
57
|
toolTwins?: UnlayerEditorTwin[];
|
|
58
|
+
isSnapshotMode?: boolean;
|
|
58
59
|
dummyData?: any;
|
|
59
60
|
schema?: SchemaObject;
|
|
60
61
|
customCSS?: string | string[] | undefined;
|