@textbus/platform-browser 3.0.0-alpha.42 → 3.0.0-alpha.43

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.
@@ -1282,6 +1282,7 @@ let Parser = Parser_1 = class Parser {
1282
1282
  }
1283
1283
  }
1284
1284
  readFormats(el, slot) {
1285
+ const index = slot.index;
1285
1286
  this.formatLoaders.filter(f => {
1286
1287
  return f.match(el);
1287
1288
  }).forEach(f => {
@@ -1292,6 +1293,7 @@ let Parser = Parser_1 = class Parser {
1292
1293
  value: v.value
1293
1294
  });
1294
1295
  });
1296
+ slot.retain(index);
1295
1297
  Array.from(el.childNodes).forEach(child => {
1296
1298
  this.readComponent(child, slot);
1297
1299
  });
package/bundles/index.js CHANGED
@@ -1284,6 +1284,7 @@ exports.Parser = Parser_1 = class Parser {
1284
1284
  }
1285
1285
  }
1286
1286
  readFormats(el, slot) {
1287
+ const index = slot.index;
1287
1288
  this.formatLoaders.filter(f => {
1288
1289
  return f.match(el);
1289
1290
  }).forEach(f => {
@@ -1294,6 +1295,7 @@ exports.Parser = Parser_1 = class Parser {
1294
1295
  value: v.value
1295
1296
  });
1296
1297
  });
1298
+ slot.retain(index);
1297
1299
  Array.from(el.childNodes).forEach(child => {
1298
1300
  this.readComponent(child, slot);
1299
1301
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/platform-browser",
3
- "version": "3.0.0-alpha.42",
3
+ "version": "3.0.0-alpha.43",
4
4
  "description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -48,5 +48,5 @@
48
48
  "bugs": {
49
49
  "url": "https://github.com/textbus/textbus.git/issues"
50
50
  },
51
- "gitHead": "5ac4dfb4ae18393afc93ffac9df4012d68adeffa"
51
+ "gitHead": "75fc95d17093c576420d66b9d3bc320db9bc3443"
52
52
  }