Skip to content

Commit

Permalink
Bump v0.16.2
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Mar 9, 2020
1 parent a009696 commit e18a336
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 25 deletions.
27 changes: 8 additions & 19 deletions dist/grapes.js
Original file line number Diff line number Diff line change
Expand Up @@ -24844,6 +24844,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
return em.stopDefault(defComOptions);
};

var altMode = Object(underscore__WEBPACK_IMPORTED_MODULE_2__["includes"])(modes, mode);
selAll.forEach(function (sel) {
return sel.trigger('disable');
});
Expand All @@ -24870,13 +24871,12 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
});
ed.select(selAll);
sel.emitUpdate();
em.trigger("".concat(dom_components_model_Component__WEBPACK_IMPORTED_MODULE_5__["eventDrag"], ":end"), data);
}; // Dirty patch to prevent parent selection on drop
em.trigger("".concat(dom_components_model_Component__WEBPACK_IMPORTED_MODULE_5__["eventDrag"], ":end"), data); // Dirty patch to prevent parent selection on drop

(altMode || data.cancelled) && em.set('_cmpDrag', 1);
};

em.set('_cmpDrag', 1);

if (Object(underscore__WEBPACK_IMPORTED_MODULE_2__["includes"])(modes, mode)) {
if (altMode) {
// TODO move grabbing func in editor/canvas from the Sorter
dragger = ed.runCommand('core:component-drag', {
guidesInfo: 1,
Expand Down Expand Up @@ -27313,8 +27313,7 @@ var showOffsets;
methods[method](window, 'resize', this.onFrameUpdated);
em[method]('component:toggled', this.onSelect, this);
em[method]('change:componentHovered', this.onHovered, this);
em[method]('component:update', this.onComponentUpdate, this);
em[method]('component:resize', this.updateGlobalPos, this);
em[method]('component:resize component:styleUpdate', this.updateGlobalPos, this);
em[method]('change:canvasOffset', this.updateAttached, this);
em[method]('frame:updated', this.onFrameUpdated, this);
em.get('Canvas').getFrames().forEach(function (frame) {
Expand Down Expand Up @@ -27418,14 +27417,7 @@ var showOffsets;
this.elSelected = result;
this.updateToolsGlobal(); // This will hide some elements from the select component

this.updateToolsLocal(result); // if (el) {
// this.showFixedElementOffset(el);
// this.hideElementOffset();
// this.hideHighlighter();
// this.initResize(el);
// } else {
// this.editor.stopCommand('resize');
// }
this.updateToolsLocal(result);
}),
updateGlobalPos: function updateGlobalPos() {
var sel = this.getElSelected();
Expand Down Expand Up @@ -28008,9 +28000,6 @@ var showOffsets;
updateAttached: Object(underscore__WEBPACK_IMPORTED_MODULE_3__["debounce"])(function () {
this.updateToolsGlobal();
}),
onComponentUpdate: Object(underscore__WEBPACK_IMPORTED_MODULE_3__["debounce"])(function () {
this.onSelect();
}),

/**
* Returns element's data info
Expand Down Expand Up @@ -38470,7 +38459,7 @@ var defaultConfig = {
editors: editors,
plugins: plugins,
// Will be replaced on build
version: '0.16.1',
version: '0.16.2',

/**
* Initialize the editor with passed options
Expand Down
6 changes: 3 additions & 3 deletions dist/grapes.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/grapes.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grapesjs",
"description": "Free and Open Source Web Builder Framework",
"version": "0.16.1",
"version": "0.16.2",
"author": "Artur Arseniev",
"license": "BSD-3-Clause",
"homepage": "http://grapesjs.com",
Expand Down

0 comments on commit e18a336

Please sign in to comment.