@kaitify/core 0.0.1-beta.3 → 0.0.1-beta.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.
@@ -38230,11 +38230,11 @@ class Editor {
38230
38230
  /**
38231
38231
  * 获取编辑器的纯文本内容
38232
38232
  */
38233
- getText() {
38233
+ getContent() {
38234
38234
  if (!this.$el) {
38235
38235
  return "";
38236
38236
  }
38237
- return this.$el.innerText.trim();
38237
+ return this.$el.textContent ?? "";
38238
38238
  }
38239
38239
  /**
38240
38240
  * 配置编辑器,返回创建的编辑器