@jx3box/jx3box-editor 3.0.8 → 3.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -47,6 +47,7 @@
47
47
  "devDependencies": {
48
48
  "@babel/core": "^7.12.16",
49
49
  "@babel/eslint-parser": "^7.12.16",
50
+ "@tailwindcss/postcss": "^4.2.1",
50
51
  "@typescript-eslint/eslint-plugin": "^5.31.0",
51
52
  "@typescript-eslint/parser": "^5.31.0",
52
53
  "@vue/cli-plugin-babel": "~5.0.0",
@@ -54,6 +55,7 @@
54
55
  "@vue/cli-plugin-typescript": "~5.0.0",
55
56
  "@vue/cli-service": "~5.0.0",
56
57
  "@vue/eslint-config-typescript": "^11.0.0",
58
+ "autoprefixer": "^10.4.27",
57
59
  "babel-loader": "^8.2.5",
58
60
  "csslab": "^6.0.1",
59
61
  "eslint": "^7.32.0",
@@ -70,6 +72,7 @@
70
72
  "sass-loader": "^16.0.7",
71
73
  "serve": "^14.2.0",
72
74
  "style-resources-loader": "^1.5.0",
75
+ "tailwindcss": "^4.2.1",
73
76
  "typescript": "~4.5.5",
74
77
  "unplugin-vue-define-options": "^1.2.1",
75
78
  "url": "^0.11.0",
@@ -0,0 +1,5 @@
1
+ /* @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities; */
4
+
5
+ @import "tailwindcss";
@@ -80,11 +80,11 @@
80
80
  font-size: 13px;
81
81
  padding: 5px 0 10px 5px;
82
82
  border-bottom: 1px dotted #ddd;
83
- &:before {
84
- content: "";
85
- color: @primary;
86
- margin-right: 5px;
87
- font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
88
- }
83
+ // &:before {
84
+ // content: "";
85
+ // color: @primary;
86
+ // margin-right: 5px;
87
+ // font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
88
+ // }
89
89
  }
90
90
  }
@@ -3,10 +3,13 @@
3
3
  ul,
4
4
  ol {
5
5
  margin: 20px 0;
6
+ padding-left: 40px;
7
+ }
8
+ ul{
9
+ list-style: disc;
6
10
  }
7
- ul,
8
11
  ol {
9
- padding-left: 40px;
12
+ list-style: decimal;
10
13
  }
11
14
 
12
15
  /* 旧版checklist,无创建逻辑,仅作留存显示 */
@@ -19,7 +22,8 @@
19
22
  display: block;
20
23
  position: absolute;
21
24
  left: 0;
22
- top: 0.7em;
25
+ top: 50%;
26
+ transform: translateY(-50%);
23
27
  content: "";
24
28
  cursor: pointer;
25
29
  height: 1em;
@@ -38,6 +42,7 @@
38
42
  .tox-checklist > li{
39
43
  line-height: 2.2;
40
44
  margin:0 !important;
45
+ position: relative;
41
46
  }
42
47
  .tox-checklist > li:not(.tox-checklist--hidden) {
43
48
  list-style: none;
@@ -50,7 +55,8 @@
50
55
  cursor: pointer;
51
56
  height: 1em;
52
57
  margin-left: -1.5em;
53
- margin-top: 0.7em;
58
+ top:50%;
59
+ transform: translateY(-50%);
54
60
  position: absolute;
55
61
  width: 1em;
56
62
  }
@@ -11,5 +11,6 @@ app.use(ElementPlus);
11
11
 
12
12
  import '@jx3box/jx3box-common/css/font.css';
13
13
  import '@jx3box/jx3box-common/css/normalize.css';
14
+ import "../assets/css/tailwind.css";
14
15
 
15
16
  app.mount("#app");