@kaitify/core 0.0.2-beta.3 → 0.0.2-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.
package/lib/kaitify-core.es.js
CHANGED
|
@@ -37268,7 +37268,7 @@ class Editor {
|
|
|
37268
37268
|
* 是否深色模式
|
|
37269
37269
|
*/
|
|
37270
37270
|
isDark() {
|
|
37271
|
-
return
|
|
37271
|
+
return this.$el.hasAttribute("kaitify-dark");
|
|
37272
37272
|
}
|
|
37273
37273
|
/**
|
|
37274
37274
|
* 判断编辑器是否为空,这里的空指的是编辑器内只有一个段落,并且段落里只有占位符
|