@servicetitan/dte-unlayer 0.63.0 → 0.64.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 +3 -3
- package/dist/editor-core-source.d.ts.map +1 -1
- package/dist/editor-core-source.js +3 -3
- package/dist/editor-core-source.js.map +1 -1
- package/dist/unlayer.d.ts.map +1 -1
- package/dist/unlayer.js +5 -2
- package/dist/unlayer.js.map +1 -1
- package/package.json +1 -1
- package/src/editor-core-source.ts +3 -3
- package/src/unlayer.tsx +5 -2
package/src/unlayer.tsx
CHANGED
|
@@ -61,8 +61,8 @@ export interface EventDesignUpdated {
|
|
|
61
61
|
* to know correct schema version, open unlayer editor and check output design ('schema' property)
|
|
62
62
|
*/
|
|
63
63
|
export const versions = {
|
|
64
|
-
unlayer: '1.
|
|
65
|
-
schema:
|
|
64
|
+
unlayer: '1.9.0',
|
|
65
|
+
schema: 16,
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export const handlePreselectTool = (preselectToolSlug: string) => {
|
|
@@ -208,6 +208,9 @@ export const createUnlayerEditor = (
|
|
|
208
208
|
}, {} as Record<string, { name: string; value: string }>),
|
|
209
209
|
projectId: 5713,
|
|
210
210
|
version: latest ? undefined : versions.unlayer,
|
|
211
|
+
appearance: {
|
|
212
|
+
theme: 'classic_light',
|
|
213
|
+
},
|
|
211
214
|
tools: {
|
|
212
215
|
button: { enabled: false },
|
|
213
216
|
html: { enabled: false },
|