@haluo/biz 0.1.21 → 0.1.22

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.
package/dist/haluo-biz.js CHANGED
@@ -5433,7 +5433,7 @@ const _sfc_main = {
5433
5433
  removeDefault(next, key) {
5434
5434
  const me = this;
5435
5435
  const cur = next[key];
5436
- if (!cur)
5436
+ if (!cur || cur.innerText !== "\n")
5437
5437
  return;
5438
5438
  const blockDefault = cur.classList.contains("halo-paragraph") || false;
5439
5439
  const isLasterBlock = next.classList.contains("halo-paragraph") || false;
@@ -5438,7 +5438,7 @@
5438
5438
  removeDefault(next, key) {
5439
5439
  const me = this;
5440
5440
  const cur = next[key];
5441
- if (!cur)
5441
+ if (!cur || cur.innerText !== "\n")
5442
5442
  return;
5443
5443
  const blockDefault = cur.classList.contains("halo-paragraph") || false;
5444
5444
  const isLasterBlock = next.classList.contains("halo-paragraph") || false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@haluo/biz",
3
3
  "description": "rich text",
4
- "version": "0.1.21",
4
+ "version": "0.1.22",
5
5
  "type": "module",
6
6
  "module": "./dist/haluo-biz.js",
7
7
  "main": "./dist/haluo-biz.umd.cjs",