Browse Source

Build 0.16.12

pull/2732/head v0.16.12
Artur Arseniev 6 years ago
parent
commit
6b212059b4
  1. 24
      dist/grapes.js
  2. 4
      dist/grapes.min.js
  3. 2
      dist/grapes.min.js.map
  4. 2
      package-lock.json
  5. 2
      package.json

24
dist/grapes.js

@ -34264,6 +34264,28 @@ var compProt = _ComponentView__WEBPACK_IMPORTED_MODULE_2__["default"].prototype;
comps.trigger('resetNavigator');
}
},
getModelsFromEl: function getModelsFromEl(el) {
var result = [];
var children = (el || this.el).childNodes;
for (var index = 0; index < children.length; index++) {
var child = children[index];
var model = child.__cashData && child.__cashData.model;
if (model) {
model.components = this.getModelsFromEl(child);
if (model.get('content')) {
model.attributes.content = child.textContent;
} // TODO add attributes;
result.push(model);
}
}
return result;
},
/**
* Callback on input event
@ -38539,7 +38561,7 @@ var defaultConfig = {
editors: editors,
plugins: plugins,
// Will be replaced on build
version: '0.16.11',
version: '0.16.12',
/**
* Initialize the editor with passed options

4
dist/grapes.min.js

File diff suppressed because one or more lines are too long

2
dist/grapes.min.js.map

File diff suppressed because one or more lines are too long

2
package-lock.json

@ -1,6 +1,6 @@
{
"name": "grapesjs",
"version": "0.16.11",
"version": "0.16.12",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
package.json

@ -1,7 +1,7 @@
{
"name": "grapesjs",
"description": "Free and Open Source Web Builder Framework",
"version": "0.16.11",
"version": "0.16.12",
"author": "Artur Arseniev",
"license": "BSD-3-Clause",
"homepage": "http://grapesjs.com",

Loading…
Cancel
Save