@wangeditor-next/code-highlight 1.2.1 → 1.2.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.3](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/code-highlight@1.2.2...@wangeditor-next/code-highlight@1.2.3) (2024-08-25)
7
+
8
+ **Note:** Version bump only for package @wangeditor-next/code-highlight
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.2.2](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/code-highlight@1.2.1...@wangeditor-next/code-highlight@1.2.2) (2024-08-18)
15
+
16
+ **Note:** Version bump only for package @wangeditor-next/code-highlight
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.2.1](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/code-highlight@1.2.0...@wangeditor-next/code-highlight@1.2.1) (2024-06-22)
7
23
 
8
24
  **Note:** Version bump only for package @wangeditor-next/code-highlight
@@ -49,23 +65,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
49
65
 
50
66
 
51
67
 
52
- ## [1.0.3](https://github.com/wangeditor-team/wangEditor/compare/@wangeditor/code-highlight@1.0.2...@wangeditor/code-highlight@1.0.3) (2022-09-14)
68
+ ## [1.0.3](https://github.com/cycleccc/wangEditor/compare/@wangeditor/code-highlight@1.0.2...@wangeditor/code-highlight@1.0.3) (2022-09-14)
53
69
 
54
70
 
55
71
  ### Bug Fixes
56
72
 
57
- * 代码块 - 增加 lua groovy 语言 ([ef4f62a](https://github.com/wangeditor-team/wangEditor/commit/ef4f62a876e95995f7c8f6f41d8d44b2505dd5f6))
73
+ * 代码块 - 增加 lua groovy 语言 ([ef4f62a](https://github.com/cycleccc/wangEditor/commit/ef4f62a876e95995f7c8f6f41d8d44b2505dd5f6))
58
74
 
59
75
 
60
76
 
61
77
 
62
78
 
63
- ## [1.0.2](https://github.com/wangeditor-team/wangEditor/compare/@wangeditor/code-highlight@1.0.1...@wangeditor/code-highlight@1.0.2) (2022-06-02)
79
+ ## [1.0.2](https://github.com/cycleccc/wangEditor/compare/@wangeditor/code-highlight@1.0.1...@wangeditor/code-highlight@1.0.2) (2022-06-02)
64
80
 
65
81
 
66
82
  ### Bug Fixes
67
83
 
68
- * issue 4308 - 自定义字号、字体无法回显 ([ad38b8c](https://github.com/wangeditor-team/wangEditor/commit/ad38b8ce6dbcff1d65785c8d6701238ad351f562))
84
+ * issue 4308 - 自定义字号、字体无法回显 ([ad38b8c](https://github.com/cycleccc/wangEditor/commit/ad38b8ce6dbcff1d65785c8d6701238ad351f562))
69
85
 
70
86
 
71
87
 
@@ -76,18 +92,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
76
92
 
77
93
  ### Bug Fixes
78
94
 
79
- * 更新各包之间依赖版本 ([75c552c](https://github.com/wangeditor-team/wangEditor/commit/75c552cc8ed54765bebb86a7ec5329a7fc79e85f))
80
- * 修复 pnpm 安装 @wangeditor/editor 出现警告的问题 ([4087fbe](https://github.com/wangeditor-team/wangEditor/commit/4087fbee01c76bdd55e747a5e86c5e4a8d6a8353))
81
- * 移除了每个包下的 publishConfig directory 配置 ([16559f0](https://github.com/wangeditor-team/wangEditor/commit/16559f052545c111318be760e64291a521bdcc65))
82
- * 粘贴 <code> 代码块出错 ([fc44d9f](https://github.com/wangeditor-team/wangEditor/commit/fc44d9ff36cb9566d9dc5490b4be14f2e5bd3f3c))
83
- * rename es module filename ([1821d4e](https://github.com/wangeditor-team/wangEditor/commit/1821d4eef49e64efcb41b848849ca7a5e6472044))
84
- * table - elemToHtml ([e36e609](https://github.com/wangeditor-team/wangEditor/commit/e36e6092ef721723169afc8bf0560a47ac9f4dfc))
95
+ * 更新各包之间依赖版本 ([75c552c](https://github.com/cycleccc/wangEditor/commit/75c552cc8ed54765bebb86a7ec5329a7fc79e85f))
96
+ * 修复 pnpm 安装 @wangeditor/editor 出现警告的问题 ([4087fbe](https://github.com/cycleccc/wangEditor/commit/4087fbee01c76bdd55e747a5e86c5e4a8d6a8353))
97
+ * 移除了每个包下的 publishConfig directory 配置 ([16559f0](https://github.com/cycleccc/wangEditor/commit/16559f052545c111318be760e64291a521bdcc65))
98
+ * 粘贴 <code> 代码块出错 ([fc44d9f](https://github.com/cycleccc/wangEditor/commit/fc44d9ff36cb9566d9dc5490b4be14f2e5bd3f3c))
99
+ * rename es module filename ([1821d4e](https://github.com/cycleccc/wangEditor/commit/1821d4eef49e64efcb41b848849ca7a5e6472044))
100
+ * table - elemToHtml ([e36e609](https://github.com/cycleccc/wangEditor/commit/e36e6092ef721723169afc8bf0560a47ac9f4dfc))
85
101
 
86
102
 
87
103
  ### Features
88
104
 
89
- * code highlight ([42b2f8d](https://github.com/wangeditor-team/wangEditor/commit/42b2f8d192e2433593c11ad0b8424737f6cffb58))
90
- * i18n ([c11b244](https://github.com/wangeditor-team/wangEditor/commit/c11b2440f91b99d40bca18b675c66a22b6e160c9))
91
- * parse html ([2a5eace](https://github.com/wangeditor-team/wangEditor/commit/2a5eace00f33cded50b68e8164748ec2480213fd))
92
- * toHtml 机制 ([1c4d872](https://github.com/wangeditor-team/wangEditor/commit/1c4d8729f84aaab6a448f23064b34a20596305e9))
93
- * upload video ([ac8e6f8](https://github.com/wangeditor-team/wangEditor/commit/ac8e6f8b5258e593714676a6f6be359ba525833c))
105
+ * code highlight ([42b2f8d](https://github.com/cycleccc/wangEditor/commit/42b2f8d192e2433593c11ad0b8424737f6cffb58))
106
+ * i18n ([c11b244](https://github.com/cycleccc/wangEditor/commit/c11b2440f91b99d40bca18b675c66a22b6e160c9))
107
+ * parse html ([2a5eace](https://github.com/cycleccc/wangEditor/commit/2a5eace00f33cded50b68e8164748ec2480213fd))
108
+ * toHtml 机制 ([1c4d872](https://github.com/cycleccc/wangEditor/commit/1c4d8729f84aaab6a448f23064b34a20596305e9))
109
+ * upload video ([ac8e6f8](https://github.com/cycleccc/wangEditor/commit/ac8e6f8b5258e593714676a6f6be359ba525833c))
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 - present wangEditor-team
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2021 - present wangEditor-team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # wangEditor code highlight
2
-
3
- Code highlight module built in [wangEditor](https://www.wangeditor.com/) by default.
1
+ # wangEditor code highlight
2
+
3
+ Code highlight module built in [wangeditor-next](https://cycleccc.github.io/docs/) by default.
@@ -2,16 +2,10 @@
2
2
  * @description vdom utils fn
3
3
  * @author wangfupeng
4
4
  */
5
- import { VNode, VNodeStyle } from 'snabbdom';
5
+ import { VNode } from 'snabbdom';
6
6
  /**
7
7
  * 给 vnode 添加 className
8
8
  * @param vnode vnode
9
9
  * @param className css class
10
10
  */
11
11
  export declare function addVnodeClassName(vnode: VNode, className: string): void;
12
- /**
13
- * 给 vnode 添加样式
14
- * @param vnode vnode
15
- * @param newStyle { key: val }
16
- */
17
- export declare function addVnodeStyle(vnode: VNode, newStyle: VNodeStyle): void;