xiaodao-editor 0.1.13 → 0.1.14
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.ZH.md +2 -0
- package/dist/block-editor.js +0 -2
- package/dist/block-editor.umd.cjs +1 -1
- package/dist/core/command/Keymap.d.ts +1 -1
- package/dist/core/types.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/README.ZH.md
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
基于 Vue 3 + TypeScript 的 Notion 风格**块编辑器**。以零运行时依赖的单一包形式提供:一个与框架无关的核心层 + 一个 Vue 视图层。每一种块类型(段落、标题、列表、代码块……)都由**扩展(extension)**提供,因此核心层永远不需要根据块类型做分支判断。
|
|
11
11
|
|
|
12
|
+

|
|
13
|
+
|
|
12
14
|
## 功能特性
|
|
13
15
|
|
|
14
16
|
- **11 种内置块类型** — 段落、h1–h6(标题)、无序列表、有序列表、待办事项、引用、代码块、**图片**、**分割线**、**表格**、**目录**(共 **13 个扩展**,另含 Keymap 与 History 两个行为扩展)
|
package/dist/block-editor.js
CHANGED
|
@@ -6536,7 +6536,6 @@ const Is = [
|
|
|
6536
6536
|
if (R === "color") {
|
|
6537
6537
|
const Ce = document.documentElement.clientWidth;
|
|
6538
6538
|
O.value = {
|
|
6539
|
-
left: 8,
|
|
6540
6539
|
bottom: ge,
|
|
6541
6540
|
right: Math.max(8, Ce - he.right)
|
|
6542
6541
|
};
|
|
@@ -6551,7 +6550,6 @@ const Is = [
|
|
|
6551
6550
|
if (R === "color") {
|
|
6552
6551
|
const Ce = document.documentElement.clientWidth;
|
|
6553
6552
|
O.value = {
|
|
6554
|
-
left: 8,
|
|
6555
6553
|
top: ge,
|
|
6556
6554
|
right: Math.max(8, Ce - he.right)
|
|
6557
6555
|
};
|