@kaitify/core 0.0.1-beta.2 → 0.0.1-beta.3

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  #### 基于原生 JS 的富文本编辑器核心库
2
2
 
3
- > 具体使用方法请参阅:[@kaitify/core](https://www.so-better.cn/kaitify-core/)
3
+ > 具体使用方法请参阅:[@kaitify/core](https://www.so-better.cn/@kaitify/core/)
@@ -38234,7 +38234,7 @@ class Editor {
38234
38234
  if (!this.$el) {
38235
38235
  return "";
38236
38236
  }
38237
- return this.$el.innerText;
38237
+ return this.$el.innerText.trim();
38238
38238
  }
38239
38239
  /**
38240
38240
  * 配置编辑器,返回创建的编辑器