jodit 4.6.1 → 4.6.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/.nvmrc +1 -1
- package/CHANGELOG.md +22 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2930 -2896
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +56 -56
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2837 -2803
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.css +1 -1
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +56 -56
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2838 -2804
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +56 -56
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2796 -2762
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +56 -56
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/415.fat.min.js +2 -2
- package/es5/415.js +69 -5
- package/es5/415.min.js +2 -2
- package/es5/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +3796 -3758
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +12 -12
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +59 -59
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/constants.d.ts +7 -0
- package/esm/core/constants.js +31 -11
- package/esm/core/helpers/utils/append-script.js +1 -1
- package/esm/core/plugin/helpers/load.js +2 -0
- package/esm/core/view/view.d.ts +4 -0
- package/esm/core/view/view.js +10 -1
- package/esm/langs/ar.d.ts +1 -0
- package/esm/langs/ar.js +4 -1
- package/esm/langs/cs_cz.js +2 -0
- package/esm/langs/de.d.ts +1 -0
- package/esm/langs/de.js +4 -1
- package/esm/langs/en.js +2 -0
- package/esm/langs/es.d.ts +1 -0
- package/esm/langs/es.js +4 -1
- package/esm/langs/fa.js +3 -1
- package/esm/langs/fi.d.ts +1 -0
- package/esm/langs/fi.js +3 -1
- package/esm/langs/fr.d.ts +4 -0
- package/esm/langs/fr.js +6 -1
- package/esm/langs/he.d.ts +1 -0
- package/esm/langs/he.js +3 -1
- package/esm/langs/hu.d.ts +1 -0
- package/esm/langs/hu.js +3 -1
- package/esm/langs/id.js +1 -0
- package/esm/langs/it.d.ts +1 -0
- package/esm/langs/it.js +3 -1
- package/esm/langs/ja.d.ts +1 -0
- package/esm/langs/ja.js +3 -1
- package/esm/langs/ko.js +1 -0
- package/esm/langs/mn.d.ts +1 -0
- package/esm/langs/mn.js +3 -1
- package/esm/langs/nl.d.ts +1 -0
- package/esm/langs/nl.js +3 -1
- package/esm/langs/no.d.ts +22 -0
- package/esm/langs/no.js +27 -1
- package/esm/langs/pl.d.ts +1 -0
- package/esm/langs/pl.js +3 -1
- package/esm/langs/pt_br.d.ts +1 -0
- package/esm/langs/pt_br.js +3 -1
- package/esm/langs/ru.js +1 -0
- package/esm/langs/sv.js +231 -0
- package/esm/langs/tr.d.ts +1 -0
- package/esm/langs/tr.js +3 -1
- package/esm/langs/ua.js +1 -0
- package/esm/langs/zh_cn.d.ts +1 -0
- package/esm/langs/zh_cn.js +3 -1
- package/esm/langs/zh_tw.d.ts +2 -0
- package/esm/langs/zh_tw.js +4 -1
- package/esm/modules/uploader/helpers/data-uri-to-blob.js +1 -1
- package/esm/plugins/clean-html/helpers/visitor/filters/try-remove-node.js +2 -2
- package/esm/types/view.d.ts +6 -1
- package/package.json +1 -1
- package/types/core/constants.d.ts +7 -0
- package/types/core/view/view.d.ts +4 -0
- package/types/langs/ar.d.ts +1 -0
- package/types/langs/de.d.ts +1 -0
- package/types/langs/es.d.ts +1 -0
- package/types/langs/fi.d.ts +1 -0
- package/types/langs/fr.d.ts +4 -0
- package/types/langs/he.d.ts +1 -0
- package/types/langs/hu.d.ts +1 -0
- package/types/langs/it.d.ts +1 -0
- package/types/langs/ja.d.ts +1 -0
- package/types/langs/mn.d.ts +1 -0
- package/types/langs/nl.d.ts +1 -0
- package/types/langs/no.d.ts +22 -0
- package/types/langs/pl.d.ts +1 -0
- package/types/langs/pt_br.d.ts +1 -0
- package/types/langs/tr.d.ts +1 -0
- package/types/langs/zh_cn.d.ts +1 -0
- package/types/langs/zh_tw.d.ts +2 -0
- package/types/types/view.d.ts +6 -1
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
23
|
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,28 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.6.2
|
|
13
|
+
|
|
14
|
+
#### :house: Internal
|
|
15
|
+
|
|
16
|
+
- When the option is turned on `extraPlugins`. If the plugin module does not find the desired plugin, then it tries to load it from the same folder where the plugin itself.
|
|
17
|
+
For example, if you connect the Jodit script from `./node_moudules/jodit/es2018/jodit.js` and you have a plugin `./node_moudules/jodit/es2018/plugins/my-plugin/`
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
Jodit.make ('#Editor', {
|
|
21
|
+
extraPlugins: ['my-plugin'] // Will Be Loaded from ./node_modules/jodit/plugins/my-plugin/my-plugin.js
|
|
22
|
+
});
|
|
23
|
+
`` `
|
|
24
|
+
|
|
25
|
+
But now if you connect Jodit from `./node_moudules/jodit/es2018/jodit.min.js`
|
|
26
|
+
then the plugin will be loaded from `./node_modules/jodit/es2018/plugins/my-plugin/my-plugin.min.js`
|
|
27
|
+
|
|
28
|
+
```js
|
|
29
|
+
Jodit.make ('#Editor', {
|
|
30
|
+
extraPlugins: ['my-plugin'] // Will Be Loaded from ./node_modules/jodit/plugins/my-plugin/my-plugin.min.js
|
|
31
|
+
});
|
|
32
|
+
`` `
|
|
33
|
+
|
|
12
34
|
## 4.6.1
|
|
13
35
|
|
|
14
36
|
#### :boom: Breaking Change
|
package/es2015/jodit.css
CHANGED