@lvce-editor/renderer-process 10.49.0 → 10.50.0

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.
@@ -1213,6 +1213,7 @@ var Video$1 = "video";
1213
1213
  var TextArea = "textarea";
1214
1214
  var Select = "select";
1215
1215
  var Option = "option";
1216
+ var Code$1 = "code";
1216
1217
 
1217
1218
  // src/parts/VirtualDomElements/VirtualDomElements.ts
1218
1219
  var Audio2 = 0;
@@ -1267,6 +1268,7 @@ var Video2 = 61;
1267
1268
  var TextArea2 = 62;
1268
1269
  var Select2 = 63;
1269
1270
  var Option2 = 64;
1271
+ var Code2 = 65;
1270
1272
 
1271
1273
  // src/parts/ElementTagMap/ElementTagMap.ts
1272
1274
  var getElementTag = type => {
@@ -1373,6 +1375,8 @@ var getElementTag = type => {
1373
1375
  return Select;
1374
1376
  case Option2:
1375
1377
  return Option;
1378
+ case Code2:
1379
+ return Code$1;
1376
1380
  default:
1377
1381
  throw new Error(`element tag not found ${type}`);
1378
1382
  }
@@ -1629,9 +1633,6 @@ var setText$3 = ($Element, value) => {
1629
1633
  $Element.nodeValue = value;
1630
1634
  };
1631
1635
  var removeChild = ($Element, index) => {
1632
- console.log("el", $Element.className);
1633
- console.log("index", index);
1634
- console.log("ch", $Element.children.length);
1635
1636
  const $Child = $Element.children[index];
1636
1637
  $Child.remove();
1637
1638
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.49.0",
3
+ "version": "10.50.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",