suneditor 2.47.11 → 2.47.12
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/.nvmrc +1 -0
- package/package.json +1 -4
- package/src/lib/constructor.js +1 -1
- package/src/plugins/modules/_notice.js +1 -0
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
12
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "suneditor",
|
|
3
|
-
"version": "2.47.
|
|
3
|
+
"version": "2.47.12",
|
|
4
4
|
"description": "Vanilla JavaScript WYSIWYG web editor (2.x legacy version, actively maintained)",
|
|
5
5
|
"author": "JiHong.Lee",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"tag": "legacy"
|
|
10
10
|
},
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": "<13.0.0"
|
|
13
|
-
},
|
|
14
11
|
"sideEffects": [
|
|
15
12
|
"./src/assets/css/*.css"
|
|
16
13
|
],
|
package/src/lib/constructor.js
CHANGED
|
@@ -74,7 +74,7 @@ export default {
|
|
|
74
74
|
// enter line
|
|
75
75
|
const line_breaker = doc.createElement('DIV');
|
|
76
76
|
line_breaker.className = 'se-line-breaker';
|
|
77
|
-
line_breaker.innerHTML = '<button class="se-btn">' + options.icons.line_break + '</button>';
|
|
77
|
+
line_breaker.innerHTML = '<button type="button" class="se-btn">' + options.icons.line_break + '</button>';
|
|
78
78
|
const line_breaker_t = doc.createElement('DIV');
|
|
79
79
|
line_breaker_t.className += 'se-line-breaker-component';
|
|
80
80
|
const line_breaker_b = line_breaker_t.cloneNode(true);
|
|
@@ -24,6 +24,7 @@ export default {
|
|
|
24
24
|
|
|
25
25
|
notice_div.className = 'se-notice';
|
|
26
26
|
notice_button.className = 'close';
|
|
27
|
+
notice_button.setAttribute('type', 'button');
|
|
27
28
|
notice_button.setAttribute('aria-label', 'Close');
|
|
28
29
|
notice_button.setAttribute('title', core.lang.dialogBox.close);
|
|
29
30
|
notice_button.innerHTML = core.icons.cancel;
|