@ylzcc/editor 0.7.16 → 0.7.18
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 +26 -26
- package/dist/components/FloatingMenu/ActiveSelect/index.d.ts +1 -1
- package/dist/editor.es.js +1494 -1290
- package/dist/editor.umd.js +11 -11
- package/package.json +99 -99
- package/dist/utils/remark.d.ts +0 -2
package/README.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# 基于Tiptap
|
|
2
|
-
|
|
3
|
-
[Tiptap官方文档](https://tiptap.dev/docs)
|
|
4
|
-
[Tiptap中文文档](https://www.itxst.com/tiptap/)
|
|
5
|
-
[prosemirror文档](https://prosemirror.xheldon.com/docs)
|
|
6
|
-
|
|
7
|
-
## 开发环境
|
|
8
|
-
|
|
9
|
-
> 推荐使用npm
|
|
10
|
-
|
|
11
|
-
> npm i
|
|
12
|
-
> yarn
|
|
13
|
-
|
|
14
|
-
> npm start
|
|
15
|
-
> npm run dev
|
|
16
|
-
|
|
17
|
-
## 生产环境
|
|
18
|
-
|
|
19
|
-
> npm run build
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## 规范
|
|
23
|
-
|
|
24
|
-
1. 组件测试直接在app里面测试使用,所有暴露的组件通过index.t进行暴露,这个也是打包的入口
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
# 基于Tiptap
|
|
2
|
+
|
|
3
|
+
[Tiptap官方文档](https://tiptap.dev/docs)
|
|
4
|
+
[Tiptap中文文档](https://www.itxst.com/tiptap/)
|
|
5
|
+
[prosemirror文档](https://prosemirror.xheldon.com/docs)
|
|
6
|
+
|
|
7
|
+
## 开发环境
|
|
8
|
+
|
|
9
|
+
> 推荐使用npm
|
|
10
|
+
|
|
11
|
+
> npm i
|
|
12
|
+
> yarn
|
|
13
|
+
|
|
14
|
+
> npm start
|
|
15
|
+
> npm run dev
|
|
16
|
+
|
|
17
|
+
## 生产环境
|
|
18
|
+
|
|
19
|
+
> npm run build
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## 规范
|
|
23
|
+
|
|
24
|
+
1. 组件测试直接在app里面测试使用,所有暴露的组件通过index.t进行暴露,这个也是打包的入口
|
|
25
|
+
|
|
26
|
+
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import "./index.less";
|
|
3
3
|
type ActiveSelectProps = {
|
|
4
4
|
onClick?: () => void;
|
|
5
|
-
onFromLibraryClick?: (
|
|
5
|
+
onFromLibraryClick?: () => void;
|
|
6
6
|
};
|
|
7
7
|
declare const ActiveSelect: React.FC<ActiveSelectProps>;
|
|
8
8
|
export default ActiveSelect;
|