overtype 1.1.3 → 1.1.4

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * OverType v1.1.3
2
+ * OverType v1.1.4
3
3
  * A lightweight markdown editor library with perfect WYSIWYG alignment
4
4
  * @license MIT
5
5
  * @author Demo User
@@ -2482,6 +2482,8 @@ var _OverType = class _OverType {
2482
2482
  while (currentDiv && currentDiv !== closeParent) {
2483
2483
  if (currentDiv.tagName === "DIV") {
2484
2484
  currentDiv.classList.add("code-block-line");
2485
+ const plainText = currentDiv.textContent;
2486
+ currentDiv.textContent = plainText;
2485
2487
  }
2486
2488
  currentDiv = currentDiv.nextElementSibling;
2487
2489
  if (!currentDiv)