@silexlabs/silex 3.0.0-alpha.140 → 3.0.0-alpha.141
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/client/client/config.d.ts +7 -0
- package/dist/client/client/grapesjs/index.d.ts +2 -2
- package/dist/client/js/main.js +43 -43
- package/dist/plugins/client/client/assetUrl.js +9 -0
- package/dist/plugins/client/client/assetUrl.js.map +1 -1
- package/dist/plugins/client/client/config.d.ts +7 -0
- package/dist/plugins/client/client/config.js +17 -1
- package/dist/plugins/client/client/config.js.map +1 -1
- package/dist/plugins/client/client/grapesjs/img.js +8 -3
- package/dist/plugins/client/client/grapesjs/img.js.map +1 -1
- package/dist/plugins/client/client/grapesjs/index.d.ts +2 -2
- package/dist/plugins/client/client/grapesjs/index.js +10 -6
- package/dist/plugins/client/client/grapesjs/index.js.map +1 -1
- package/package.json +1 -1
- package/src/ts/client/assetUrl.ts +9 -0
- package/src/ts/client/config.ts +18 -1
- package/src/ts/client/grapesjs/img.ts +8 -3
- package/src/ts/client/grapesjs/index.ts +12 -8
|
@@ -31,6 +31,13 @@ export declare class ClientConfig extends Config {
|
|
|
31
31
|
* debug mode
|
|
32
32
|
*/
|
|
33
33
|
debug: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Replaced elements
|
|
36
|
+
* This is a list of elements which support the object-fit and object-position CSS properties
|
|
37
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/Replaced_element
|
|
38
|
+
* When selected, Silex will show the object-fit and object-position properties in the style panel
|
|
39
|
+
*/
|
|
40
|
+
replacedElements: string[];
|
|
34
41
|
/**
|
|
35
42
|
* Grapesjs config
|
|
36
43
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Editor, EditorConfig } from 'grapesjs';
|
|
2
|
-
import {
|
|
3
|
-
export declare function getEditorConfig(
|
|
2
|
+
import { ClientConfig } from '../config';
|
|
3
|
+
export declare function getEditorConfig(config: ClientConfig): EditorConfig;
|
|
4
4
|
export declare function initEditor(config: EditorConfig): Promise<Editor>;
|
|
5
5
|
export declare function getEditor(): Editor;
|