Browse Source

Merge branch 'dev' of https://github.com/artf/grapesjs into dev

pull/4520/head
Artur Arseniev 4 years ago
parent
commit
8fac0b45be
  1. 2
      docs/modules/Selectors.md
  2. 2
      index.d.ts

2
docs/modules/Selectors.md

@ -29,7 +29,7 @@ const editor = grapesjs.init({
});
```
Check the full list of available options here: [Selector Manager Config](https://github.com/artf/grapesjs/blob/master/src/selector_manager/config/config.js)
Check the full list of available options here: [Selector Manager Config](https://github.com/artf/grapesjs/blob/master/src/selector_manager/config/config.ts)
## Initialization

2
index.d.ts

@ -175,7 +175,7 @@ declare namespace grapesjs {
* 'absolute' - Move components absolutely (design tools way)
* 'translate' - Use translate CSS from transform property
* To get more about this feature read: https://github.com/artf/grapesjs/issues/1936 */
dragMode?: boolean;
dragMode?: 'translate' | 'absolute';
/** When the editor is placed in a scrollable container (eg. modals) this might
* cause elements inside the canvas (eg. floating toolbars) to be misaligned.

Loading…
Cancel
Save