@steedos-widgets/ckeditor 3.6.11-beta.1 → 3.6.11-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/README.md
CHANGED
|
@@ -9,8 +9,28 @@ https://github.com/ckeditor/ckeditor
|
|
|
9
9
|
|
|
10
10
|
此资产包使用 CKEditor 企业版功能,使用此资产包需要先购买许可证。
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## 开发环境加载资产包
|
|
13
13
|
|
|
14
14
|
```
|
|
15
15
|
STEEDOS_PUBLIC_PAGE_ASSETURLS=http://127.0.0.1:8080/@steedos-widgets/amis-object/dist/assets-dev.json,http://127.0.0.1:8080/@steedos-widgets/ckeditor/dist/assets-dev.json
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 生产环境加载资产包
|
|
19
|
+
|
|
20
|
+
```shell
|
|
21
|
+
STEEDOS_WIDGETS_ADDITIONAL=@steedos-widgets/ckeditor
|
|
22
|
+
STEEDOS_WIDGETS_VERSION=3.6.11-beta.3
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 启用 ckeditor
|
|
26
|
+
|
|
27
|
+
创建富文本类型字段,配置字段 amis 属性,启用 ckeditor 或 ckeditor-commercial,如果是商业版,需要配置 licenseKey 。
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
{
|
|
31
|
+
"type": "ckeditor-commercial",
|
|
32
|
+
"config": {
|
|
33
|
+
"licenseKey": "UEg5WEh3R3ZaL2EwLzZBY1dHSGR5NGhMVCtNYUVHQStwZTFoM0VRVzNlN2h5YWRtcHJmWXk3RDZoU0hmLU1qQXlOREExTURNPQ=="
|
|
34
|
+
}
|
|
35
|
+
}
|
|
16
36
|
```
|
package/dist/assets.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
{
|
|
4
4
|
"package": "@steedos-widgets/ckeditor",
|
|
5
5
|
"urls": [
|
|
6
|
-
"https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.
|
|
7
|
-
"https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.
|
|
6
|
+
"https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.4/dist/ckeditor.umd.js",
|
|
7
|
+
"https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.4/dist/ckeditor.umd.css"
|
|
8
8
|
],
|
|
9
9
|
"library": "BuilderCKEditor"
|
|
10
10
|
}
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"npm": {
|
|
16
16
|
"package": "@steedos-widgets/ckeditor"
|
|
17
17
|
},
|
|
18
|
-
"url": "https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.
|
|
18
|
+
"url": "https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.4/dist/meta.js",
|
|
19
19
|
"urls": {
|
|
20
|
-
"default": "https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.
|
|
21
|
-
"design": "https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.
|
|
20
|
+
"default": "https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.4/dist/meta.js",
|
|
21
|
+
"design": "https://unpkg.com/@steedos-widgets/ckeditor@3.6.11-beta.4/dist/meta.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
]
|