jodit 4.0.0-beta.86 → 4.0.0-beta.88

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.
Files changed (104) hide show
  1. package/CHANGELOG.md +42 -8
  2. package/README.md +5 -5
  3. package/es2015/jodit.css +1 -1
  4. package/es2015/jodit.fat.min.js +2 -2
  5. package/es2015/jodit.js +46 -43
  6. package/es2015/jodit.min.js +2 -2
  7. package/es2015/plugins/debug/debug.js +1 -1
  8. package/es2015/plugins/debug/debug.min.js +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  12. package/es2018/jodit.css +1 -1
  13. package/es2018/jodit.fat.min.js +2 -2
  14. package/es2018/jodit.js +46 -43
  15. package/es2018/jodit.min.js +2 -2
  16. package/es2018/plugins/debug/debug.js +1 -1
  17. package/es2018/plugins/debug/debug.min.js +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  21. package/es2021/jodit.css +1 -1
  22. package/es2021/jodit.fat.min.js +2 -2
  23. package/es2021/jodit.js +43 -43
  24. package/es2021/jodit.min.js +2 -2
  25. package/es2021/plugins/debug/debug.js +1 -1
  26. package/es2021/plugins/debug/debug.min.js +1 -1
  27. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  29. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  30. package/es2021.en/jodit.css +1 -1
  31. package/es2021.en/jodit.fat.min.js +2 -2
  32. package/es2021.en/jodit.js +43 -43
  33. package/es2021.en/jodit.min.js +2 -2
  34. package/es2021.en/plugins/debug/debug.js +1 -1
  35. package/es2021.en/plugins/debug/debug.min.js +1 -1
  36. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  37. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  38. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  39. package/es5/jodit.css +2 -2
  40. package/es5/jodit.fat.min.js +2 -2
  41. package/es5/jodit.js +85 -69
  42. package/es5/jodit.min.css +2 -2
  43. package/es5/jodit.min.js +2 -2
  44. package/es5/plugins/debug/debug.js +1 -1
  45. package/es5/plugins/debug/debug.min.js +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  47. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  48. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  49. package/esm/core/constants.js +1 -1
  50. package/esm/core/selection/interface.d.ts +5 -0
  51. package/esm/core/selection/interface.js +6 -1
  52. package/esm/core/selection/style/commit-style.js +2 -0
  53. package/esm/core/ui/button/button/button.js +2 -1
  54. package/esm/core/ui/button/group/group.js +2 -1
  55. package/esm/core/ui/button/tooltip/tooltip.js +2 -1
  56. package/esm/core/ui/element.js +2 -1
  57. package/esm/core/ui/form/block/block.js +2 -1
  58. package/esm/core/ui/form/form.js +2 -1
  59. package/esm/core/ui/form/inputs/area/area.js +2 -1
  60. package/esm/core/ui/form/inputs/checkbox/checkbox.js +2 -1
  61. package/esm/core/ui/form/inputs/file/file.js +2 -1
  62. package/esm/core/ui/form/inputs/input/input.js +2 -1
  63. package/esm/core/ui/form/inputs/select/select.js +2 -1
  64. package/esm/core/ui/group/group.js +2 -1
  65. package/esm/core/ui/group/list.js +2 -1
  66. package/esm/core/ui/group/separator.js +2 -1
  67. package/esm/core/ui/group/spacer.js +2 -1
  68. package/esm/core/ui/icon.js +4 -1
  69. package/esm/core/view/view.js +2 -1
  70. package/esm/jodit.js +3 -11
  71. package/esm/modules/context-menu/context-menu.js +2 -1
  72. package/esm/modules/dialog/dialog.js +2 -1
  73. package/esm/modules/file-browser/file-browser.js +2 -1
  74. package/esm/modules/image-editor/image-editor.js +2 -1
  75. package/esm/modules/messages/message.js +2 -1
  76. package/esm/modules/messages/messages.js +2 -1
  77. package/esm/modules/status-bar/status-bar.js +2 -1
  78. package/esm/modules/toolbar/button/button.js +2 -1
  79. package/esm/modules/toolbar/button/content.js +2 -1
  80. package/esm/modules/toolbar/button/select/select.js +2 -1
  81. package/esm/modules/toolbar/collection/collection.js +2 -1
  82. package/esm/modules/toolbar/collection/editor-collection.js +2 -1
  83. package/esm/plugins/backspace/interface.d.ts +9 -8
  84. package/esm/plugins/resize-handler/resize-handler.js +2 -1
  85. package/esm/plugins/search/ui/search.js +2 -1
  86. package/esm/plugins/size/size.js +2 -1
  87. package/esm/plugins/speech-recognize/helpers/recognize-manager.js +2 -1
  88. package/esm/plugins/wrap-nodes/wrap-nodes.js +34 -30
  89. package/examples/arabic.lang.html +111 -64
  90. package/examples/assets/app.css +1 -3
  91. package/examples/color-picker.html +122 -72
  92. package/examples/custom-icons.html +204 -157
  93. package/examples/custom-toolbar.html +110 -63
  94. package/examples/example.default.html +4 -3
  95. package/examples/fullsize.html +107 -60
  96. package/examples/index.html +6 -5
  97. package/examples/inline-mode.html +193 -92
  98. package/examples/oneinstance.html +138 -90
  99. package/examples/theme.html +6 -5
  100. package/package.json +1 -1
  101. package/types/core/selection/interface.d.ts +5 -0
  102. package/types/plugins/backspace/interface.d.ts +9 -8
  103. package/examples/assets/prism.css +0 -200
  104. package/examples/assets/prism.js +0 -1254
@@ -4,170 +4,217 @@
4
4
  * License GNU General Public License version 2 or later;
5
5
  * Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
6
6
  -->
7
- <html>
8
- <head>
9
- <meta charset="UTF-8"/>
10
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
11
- <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
12
- <title>Jodit Example - Custom Icons</title>
13
- <link rel="icon" type="image/png" href="assets/icon.png" />
14
- </head>
15
- <body>
16
- <header>
17
- <nav>
18
- <ul class="container">
19
- <li><a href="https://xdsoft.net/jodit/">Jodit homepage</a></li>
20
- <li><a href="https://xdsoft.net/jodit/play.html">Playground</a></li>
21
- <li><a href="https://xdsoft.net/jodit/docs/">Documentation</a></li>
22
- <li><a href="https://github.com/xdan/jodit/">Github</a></li>
23
- <li><a href="https://github.com/xdan/jodit/blob/main/CHANGELOG.md">Changelog</a></li>
24
- <li>
25
- <a href="#examples">Examples</a>
26
- <ul id="examples"><!-- see app.js--></ul>
27
- </li>
28
- <li style="float:right"><a href="https://github.com/xdan/jodit/releases/latest">Download</a></li>
29
- </ul>
30
- </nav>
31
- </header>
32
- <div id="main_container" class="container">
33
- <div id="introduction">
34
- <h3>HTML</h3>
35
- <pre><code class="language-markup">
7
+ <html lang="en-US">
8
+ <head>
9
+ <meta charset="UTF-8" />
10
+ <meta
11
+ name="viewport"
12
+ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
13
+ />
14
+ <meta http-equiv="X-UA-Compatible" content="ie=edge" />
15
+ <title>Jodit Example - Custom Icons</title>
16
+ <link rel="icon" type="image/png" href="assets/icon.png" />
17
+ </head>
18
+ <body>
19
+ <header>
20
+ <nav>
21
+ <ul class="container">
22
+ <li>
23
+ <a href="https://xdsoft.net/jodit/">Jodit homepage</a>
24
+ </li>
25
+ <li>
26
+ <a href="https://xdsoft.net/jodit/play.html"
27
+ >Playground</a
28
+ >
29
+ </li>
30
+ <li>
31
+ <a href="https://xdsoft.net/jodit/docs/"
32
+ >Documentation</a
33
+ >
34
+ </li>
35
+ <li><a href="https://github.com/xdan/jodit/">Github</a></li>
36
+ <li>
37
+ <a
38
+ href="https://github.com/xdan/jodit/blob/main/CHANGELOG.md"
39
+ >Changelog</a
40
+ >
41
+ </li>
42
+ <li>
43
+ <a href="#examples">Examples</a>
44
+ <ul id="examples">
45
+ <!-- see app.js-->
46
+ </ul>
47
+ </li>
48
+ <li style="float: right">
49
+ <a href="https://github.com/xdan/jodit/releases/latest"
50
+ >Download</a
51
+ >
52
+ </li>
53
+ </ul>
54
+ </nav>
55
+ </header>
56
+ <div id="main_container" class="container">
57
+ <div id="introduction">
58
+ <h3>HTML</h3>
59
+ <pre><code class="language-markup">
36
60
  &lt;script src="https://use.fontawesome.com/c1f20c2bd7.js"&gt;&lt;/script&gt;
37
61
  &lt;textarea id="editor">&lt;/textarea>
38
62
  </code></pre>
39
- <h3>JavaScript</h3>
40
- <pre><code class="language-javascript">
41
- const editor = Jodit.make('#editor', {
42
- events: {
43
- getIcon: function (name, control, clearName) {
44
- var code = clearName;
63
+ <h3>JavaScript</h3>
64
+ <pre><code class="language-javascript">
65
+ const editor = Jodit.make('#editor', {
66
+ getIcon: function (name, clearName) {
67
+ let code = clearName;
45
68
 
46
- switch (clearName) {
47
- case 'redo':
48
- code = 'rotate-right';
49
- break;
50
- case 'video':
51
- code = 'video-camera';
52
- break;
53
- case 'copyformat':
54
- code = 'clone';
55
- break;
56
- case 'about':
57
- code = 'question';
58
- break;
59
- case 'selectall':
60
- code = 'legal';
61
- break;
62
- case 'symbol':
63
- return '<span style="text-align: center;font-size:14px;">Ω</span>';
64
- case 'hr':
65
- code = 'minus';
66
- break;
67
- case 'left':
68
- case 'right':
69
- case 'justify':
70
- case 'center':
71
- code = 'align-' + name;
72
- break;
73
- case 'brush':
74
- code = 'tint';
75
- break;
76
- case 'fontsize':
77
- code = 'text-height';
78
- break;
79
- case 'ul':
80
- case 'ol':
81
- code = 'list-' + name;
82
- break;
83
- case 'source':
84
- code = 'code';
85
- break;
86
- }
69
+ switch (clearName) {
70
+ case 'redo':
71
+ code = 'rotate-right';
72
+ break;
73
+ case 'video':
74
+ code = 'video-camera';
75
+ break;
76
+ case 'copyformat':
77
+ code = 'clone';
78
+ break;
79
+ case 'about':
80
+ code = 'question';
81
+ break;
82
+ case 'selectall':
83
+ code = 'legal';
84
+ break;
85
+ case 'symbol':
86
+ return '<span style="text-align: center;font-size:14px;">Ω</span>';
87
+ case 'hr':
88
+ code = 'minus';
89
+ break;
90
+ case 'left':
91
+ case 'right':
92
+ case 'justify':
93
+ case 'center':
94
+ code = 'align-' + name;
95
+ break;
96
+ case 'brush':
97
+ code = 'tint';
98
+ break;
99
+ case 'fontsize':
100
+ code = 'text-height';
101
+ break;
102
+ case 'ul':
103
+ case 'ol':
104
+ code = 'list-' + name;
105
+ break;
106
+ case 'source':
107
+ code = 'code';
108
+ break;
109
+ }
87
110
 
88
- return '<i style="font-size:14px" class="fa fa-' + code + ' fa-xs"></i>';
89
- }
90
- }
91
- });
92
- editor.setEditorValue('&lt;p>start&lt;/p>')
111
+ return '<i style="font-size:14px" class="fa fa-' + code + ' fa-xs"></i>';
112
+ }
113
+ });
114
+ editor.setEditorValue('&lt;p>start&lt;/p>')
93
115
  </code></pre>
94
- </div>
95
- <div class="result">
96
- <textarea id="area_editor"></textarea>
97
- </div>
98
- </div>
99
- <footer>
100
- <nav>
101
- <ul class="container">
102
- <li><a href="https://xdsoft.net/jodit/">Jodit homepage</a></li>
103
- <li><a href="https://xdsoft.net/jodit/play.html">Playground</a></li>
104
- <li><a href="https://xdsoft.net/jodit/docs/">Documentation</a></li>
105
- <li><a href="https://github.com/xdan/jodit/">Github</a></li>
106
- <li><a href="https://github.com/xdan/jodit/blob/main/CHANGELOG.md">Changelog</a></li>
107
- <li style="float:right"><a href="https://github.com/xdan/jodit/releases/latest">Download</a></li>
108
- </ul>
109
- </nav>
110
- </footer>
111
- </body>
112
- <link rel="stylesheet" href="./es2015/jodit.min.css"/>
113
- <link rel="stylesheet" href="assets/app.css"/>
114
- <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,700,700i" rel="stylesheet">
115
- <script src="https://use.fontawesome.com/c1f20c2bd7.js"></script>
116
+ </div>
117
+ <div class="result">
118
+ <textarea id="area_editor"></textarea>
119
+ </div>
120
+ </div>
121
+ <footer>
122
+ <nav>
123
+ <ul class="container">
124
+ <li>
125
+ <a href="https://xdsoft.net/jodit/">Jodit homepage</a>
126
+ </li>
127
+ <li>
128
+ <a href="https://xdsoft.net/jodit/play.html"
129
+ >Playground</a
130
+ >
131
+ </li>
132
+ <li>
133
+ <a href="https://xdsoft.net/jodit/docs/"
134
+ >Documentation</a
135
+ >
136
+ </li>
137
+ <li><a href="https://github.com/xdan/jodit/">Github</a></li>
138
+ <li>
139
+ <a
140
+ href="https://github.com/xdan/jodit/blob/main/CHANGELOG.md"
141
+ >Changelog</a
142
+ >
143
+ </li>
144
+ <li style="float: right">
145
+ <a href="https://github.com/xdan/jodit/releases/latest"
146
+ >Download</a
147
+ >
148
+ </li>
149
+ </ul>
150
+ </nav>
151
+ </footer>
152
+ </body>
153
+ <link rel="stylesheet" href="./es2015/jodit.min.css" />
154
+ <link rel="stylesheet" href="assets/app.css" />
155
+ <link
156
+ href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,700,700i"
157
+ rel="stylesheet"
158
+ />
159
+ <script src="https://use.fontawesome.com/c1f20c2bd7.js"></script>
116
160
 
117
- <script src="./es2015/jodit.min.js"></script>
118
- <script src="assets/prism.js"></script>
119
- <script src="assets/app.js"></script>
120
- <script>
121
- const editor = Jodit.make('#area_editor', {
122
- events: {
123
- getIcon: function (name, control, clearName) {
124
- var code = clearName;
161
+ <script src="./es2015/jodit.min.js"></script>
162
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.min.js"></script>
163
+ <script src="assets/app.js"></script>
164
+ <script>
165
+ const editor = Jodit.make('#area_editor', {
166
+ getIcon: (name, clearName) => {
167
+ let code = clearName || name;
125
168
 
126
- switch (clearName) {
127
- case 'redo':
128
- code = 'rotate-right';
129
- break;
130
- case 'video':
131
- code = 'video-camera';
132
- break;
133
- case 'copyformat':
134
- code = 'clone';
135
- break;
136
- case 'about':
137
- code = 'question';
138
- break;
139
- case 'selectall':
140
- code = 'legal';
141
- break;
142
- case 'symbol':
143
- return '<span style="text-align: center;font-size:14px;">Ω</span>';
144
- case 'hr':
145
- code = 'minus';
146
- break;
147
- case 'left':
148
- case 'right':
149
- case 'justify':
150
- case 'center':
151
- code = 'align-' + name;
152
- break;
153
- case 'brush':
154
- code = 'tint';
155
- break;
156
- case 'fontsize':
157
- code = 'text-height';
158
- break;
159
- case 'ul':
160
- case 'ol':
161
- code = 'list-' + name;
162
- break;
163
- case 'source':
164
- code = 'code';
165
- break;
166
- }
169
+ switch (clearName) {
170
+ case 'redo':
171
+ code = 'rotate-right';
172
+ break;
173
+ case 'video':
174
+ code = 'video-camera';
175
+ break;
176
+ case 'copyformat':
177
+ code = 'clone';
178
+ break;
179
+ case 'about':
180
+ code = 'question';
181
+ break;
182
+ case 'selectall':
183
+ code = 'legal';
184
+ break;
185
+ case 'symbol':
186
+ return '<span style="text-align: center;font-size:14px;">Ω</span>';
187
+ case 'hr':
188
+ code = 'minus';
189
+ break;
190
+ case 'left':
191
+ case 'right':
192
+ case 'justify':
193
+ case 'center':
194
+ code = 'align-' + name;
195
+ break;
196
+ case 'brush':
197
+ code = 'tint';
198
+ break;
199
+ case 'fontsize':
200
+ code = 'text-height';
201
+ break;
202
+ case 'ul':
203
+ case 'ol':
204
+ code = 'list-' + name;
205
+ break;
206
+ case 'source':
207
+ code = 'code';
208
+ break;
209
+ }
167
210
 
168
- return '<i style="font-size:14px" class="fa fa-' + code + ' fa-xs"></i>';
169
- }
170
- }
171
- });
172
- </script>
211
+ return (
212
+ '<i style="font-size:14px" class="fa fa-' +
213
+ code +
214
+ ' fa-xs"></i>'
215
+ );
216
+ }
217
+ });
218
+ </script>
219
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/themes/prism.min.css" />
173
220
  </html>
@@ -4,39 +4,63 @@
4
4
  * License GNU General Public License version 2 or later;
5
5
  * Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
6
6
  -->
7
- <html>
8
- <head>
9
- <meta charset="UTF-8"/>
10
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
11
- <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
12
- <title>Jodit Example</title>
13
- <link rel="icon" type="image/png" href="assets/icon.png" />
14
- </head>
15
- <body>
16
- <header>
17
- <nav>
18
- <ul class="container">
19
- <li><a href="https://xdsoft.net/jodit/">Jodit homepage</a></li>
20
- <li><a href="https://xdsoft.net/jodit/play.html">Playground</a></li>
21
- <li><a href="https://xdsoft.net/jodit/docs/">Documentation</a></li>
22
- <li><a href="https://github.com/xdan/jodit/">Github</a></li>
23
- <li><a href="https://github.com/xdan/jodit/blob/main/CHANGELOG.md">Changelog</a></li>
24
- <li>
25
- <a href="#examples">Examples</a>
26
- <ul id="examples"><!-- see app.js--></ul>
27
- </li>
28
- <li style="float:right"><a href="https://github.com/xdan/jodit/releases/latest">Download</a></li>
29
- </ul>
30
- </nav>
31
- </header>
32
- <div id="main_container" class="container">
33
- <div id="introduction">
34
- <h3>HTML</h3>
35
- <pre><code class="language-markup">
7
+ <html lang="en-US">
8
+ <head>
9
+ <meta charset="UTF-8" />
10
+ <meta
11
+ name="viewport"
12
+ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
13
+ />
14
+ <meta http-equiv="X-UA-Compatible" content="ie=edge" />
15
+ <title>Jodit Example</title>
16
+ <link rel="icon" type="image/png" href="assets/icon.png" />
17
+ </head>
18
+ <body>
19
+ <header>
20
+ <nav>
21
+ <ul class="container">
22
+ <li>
23
+ <a href="https://xdsoft.net/jodit/">Jodit homepage</a>
24
+ </li>
25
+ <li>
26
+ <a href="https://xdsoft.net/jodit/play.html"
27
+ >Playground</a
28
+ >
29
+ </li>
30
+ <li>
31
+ <a href="https://xdsoft.net/jodit/docs/"
32
+ >Documentation</a
33
+ >
34
+ </li>
35
+ <li><a href="https://github.com/xdan/jodit/">Github</a></li>
36
+ <li>
37
+ <a
38
+ href="https://github.com/xdan/jodit/blob/main/CHANGELOG.md"
39
+ >Changelog</a
40
+ >
41
+ </li>
42
+ <li>
43
+ <a href="#examples">Examples</a>
44
+ <ul id="examples">
45
+ <!-- see app.js-->
46
+ </ul>
47
+ </li>
48
+ <li style="float: right">
49
+ <a href="https://github.com/xdan/jodit/releases/latest"
50
+ >Download</a
51
+ >
52
+ </li>
53
+ </ul>
54
+ </nav>
55
+ </header>
56
+ <div id="main_container" class="container">
57
+ <div id="introduction">
58
+ <h3>HTML</h3>
59
+ <pre><code class="language-markup">
36
60
  &lt;textarea id="editor">&lt;/textarea>
37
61
  </code></pre>
38
- <h3>JavaScript</h3>
39
- <pre><code class="language-javascript">
62
+ <h3>JavaScript</h3>
63
+ <pre><code class="language-javascript">
40
64
  const editor = Jodit.make('#editor', {
41
65
  buttons: 'source,about,print,bold',
42
66
  buttonsMD: 'source,about,print',
@@ -44,37 +68,60 @@
44
68
  buttonsXS: 'source'
45
69
  });
46
70
  </code></pre>
47
- </div>
48
- <div class="result">
49
- <textarea id="area_editor"></textarea>
50
- </div>
51
- </div>
52
- <footer>
53
- <nav>
54
- <ul class="container">
55
- <li><a href="https://xdsoft.net/jodit/">Jodit homepage</a></li>
56
- <li><a href="https://xdsoft.net/jodit/play.html">Playground</a></li>
57
- <li><a href="https://xdsoft.net/jodit/docs/">Documentation</a></li>
58
- <li><a href="https://github.com/xdan/jodit/">Github</a></li>
59
- <li><a href="https://github.com/xdan/jodit/blob/main/CHANGELOG.md">Changelog</a></li>
60
- <li style="float:right"><a href="https://github.com/xdan/jodit/releases/latest">Download</a></li>
61
- </ul>
62
- </nav>
63
- </footer>
64
- </body>
65
- <link rel="stylesheet" href="./es2015/jodit.min.css"/>
66
- <link rel="stylesheet" href="assets/app.css"/>
67
- <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,700,700i" rel="stylesheet">
71
+ </div>
72
+ <div class="result">
73
+ <textarea id="area_editor"></textarea>
74
+ </div>
75
+ </div>
76
+ <footer>
77
+ <nav>
78
+ <ul class="container">
79
+ <li>
80
+ <a href="https://xdsoft.net/jodit/">Jodit homepage</a>
81
+ </li>
82
+ <li>
83
+ <a href="https://xdsoft.net/jodit/play.html"
84
+ >Playground</a
85
+ >
86
+ </li>
87
+ <li>
88
+ <a href="https://xdsoft.net/jodit/docs/"
89
+ >Documentation</a
90
+ >
91
+ </li>
92
+ <li><a href="https://github.com/xdan/jodit/">Github</a></li>
93
+ <li>
94
+ <a
95
+ href="https://github.com/xdan/jodit/blob/main/CHANGELOG.md"
96
+ >Changelog</a
97
+ >
98
+ </li>
99
+ <li style="float: right">
100
+ <a href="https://github.com/xdan/jodit/releases/latest"
101
+ >Download</a
102
+ >
103
+ </li>
104
+ </ul>
105
+ </nav>
106
+ </footer>
107
+ </body>
108
+ <link rel="stylesheet" href="./es2015/jodit.min.css" />
109
+ <link rel="stylesheet" href="assets/app.css" />
110
+ <link
111
+ href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,700,700i"
112
+ rel="stylesheet"
113
+ />
68
114
 
69
- <script src="./es2015/jodit.min.js"></script>
70
- <script src="assets/prism.js"></script>
71
- <script src="assets/app.js"></script>
72
- <script>
73
- const editor = Jodit.make('#area_editor', {
74
- buttons: 'source,about,print,bold',
75
- buttonsMD: 'source,about,print',
76
- buttonsSM: 'source,about',
77
- buttonsXS: 'source'
78
- });
79
- </script>
115
+ <script src="./es2015/jodit.min.js"></script>
116
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.min.js"></script>
117
+ <script src="assets/app.js"></script>
118
+ <script>
119
+ const editor = Jodit.make('#area_editor', {
120
+ buttons: 'source,about,print,bold',
121
+ buttonsMD: 'source,about,print',
122
+ buttonsSM: 'source,about',
123
+ buttonsXS: 'source'
124
+ });
125
+ </script>
126
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/themes/prism.min.css" />
80
127
  </html>
@@ -1,10 +1,10 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <!--
3
3
  * Jodit Editor (https://xdsoft.net/jodit/)
4
4
  * License GNU General Public License version 2 or later;
5
5
  * Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
6
6
  -->
7
- <html>
7
+ <html lang="en-US">
8
8
  <head>
9
9
  <meta charset="UTF-8" />
10
10
  <meta
@@ -111,11 +111,12 @@
111
111
  />
112
112
 
113
113
  <script src="./es2015/jodit.min.js"></script>
114
- <script src="assets/prism.js"></script>
114
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.min.js"></script>
115
115
  <script src="assets/app.js"></script>
116
116
  <script>
117
117
  const editor = Jodit.make('#area_editor', {
118
118
  //
119
119
  });
120
120
  </script>
121
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/themes/prism.min.css" />
121
122
  </html>