@ -35,6 +35,7 @@ define(function() {
canvasS.left = '0';
canvasS.padding = '0';
canvasS.margin = '0';
editor.trigger('change:canvasOffset');
},
stop: function(editor, sender) {
@ -47,6 +48,7 @@ define(function() {
if(this.helper) {
this.helper.style.display = 'none';
}
};
});
@ -283,7 +283,7 @@ require(['config/require-config'], function() {
);
window.grapesEditor = editor;
window.editor = editor;
@ -25,6 +25,10 @@
* ```js
* var editor = grapesjs.init({...});
* ```
* Available events
* #run:{commandName}
* #stop:{commandName}
* #load - When the editor is loaded
*
* @module Editor
* @param {Object} config Configurations
@ -10,6 +10,7 @@ function(Backbone){
this.model.on('loaded', function(){
this.pn.active();
this.model.runDefault();
this.model.trigger('load');
}, this);
@ -2668,8 +2668,7 @@ $fontColorActive: #4f8ef7;
background-color: #444;
position: relative;
box-sizing: border-box;
height: 100%;
min-width: 1250px; }
height: 100%; }
.gjs-freezed {
opacity: 0.5;
@ -162,7 +162,6 @@ $fontV: 5;//random(1000)
position:relative;
min-width: 1250px;
.#{$app-prefix}freezed{
@include opacity(0.50);