jodit 4.13.8 → 4.13.10
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 +12 -0
- package/README.md +27 -19
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +3 -3
- package/es2015/jodit.js +69 -5
- package/es2015/jodit.min.js +3 -3
- 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 +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.fat.min.js +3 -3
- package/es2018/jodit.min.js +3 -3
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +4 -3
- package/es2021/jodit.js +68 -5
- package/es2021/jodit.min.js +4 -3
- 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 +1 -1
- 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 +4 -3
- package/es2021.en/jodit.js +68 -5
- package/es2021.en/jodit.min.js +4 -3
- 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 +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +118 -14
- 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 +1 -1
- 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 +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/config.d.ts +10 -0
- package/esm/core/constants.js +1 -1
- package/esm/plugins/mobile/config.d.ts +10 -0
- package/esm/plugins/mobile/mobile.js +72 -4
- package/package.json +5 -1
- package/types/config.d.ts +10 -0
- package/types/plugins/mobile/config.d.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,18 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.13.10
|
|
13
|
+
|
|
14
|
+
#### :house: Internal
|
|
15
|
+
|
|
16
|
+
- **Repository**: added a `funding` field (and a GitHub Sponsor button) pointing to Jodit PRO, refreshed the README header, pinned all GitHub Actions to commit SHAs, and added Dependabot (actions + npm), a PR path-labeler, a first-interaction greeting, a surgical stale-issue bot and release-note categories. No runtime changes.
|
|
17
|
+
|
|
18
|
+
## 4.13.9
|
|
19
|
+
|
|
20
|
+
#### :bug: Bug Fix
|
|
21
|
+
|
|
22
|
+
- **Mobile / adaptive toolbar**: with a custom `buttons` list and the default `buttonsMD`/`buttonsSM`/`buttonsXS`, resizing the editor narrower surfaced buttons that were never requested — the breakpoint sets are group-based defaults independent of `buttons`. The responsive breakpoint set is now constrained to `buttons`: resizing only ever drops buttons, never adds ones outside `buttons`. Set `buttonsMD`/`buttonsSM`/`buttonsXS` explicitly if you want a different per-breakpoint set. The default configuration (where `buttons` is the full superset) is unchanged. Fixes [#1389](https://github.com/xdan/jodit/issues/1389).
|
|
23
|
+
|
|
12
24
|
## 4.13.8
|
|
13
25
|
|
|
14
26
|
#### :house: Internal
|
package/README.md
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img width="340" src="https://raw.githubusercontent.com/xdan/jodit/main/examples/assets/logo.png" alt="Jodit Editor">
|
|
3
|
+
<h1>Jodit Editor</h1>
|
|
4
|
+
<p>Pure-TypeScript WYSIWYG editor with a built-in file browser & image editor.</p>
|
|
5
|
+
<p>
|
|
6
|
+
<a href="https://xdsoft.net/jodit/"><img src="https://img.shields.io/badge/%E2%96%B6%20Live%20Demo-1F2937?style=for-the-badge" height="34" alt="Live Demo"></a>
|
|
7
|
+
|
|
8
|
+
<a href="https://xdsoft.net/jodit/pro/"><img src="https://img.shields.io/badge/Get%20Jodit%20PRO%20%E2%86%92-F5A623?style=for-the-badge" height="34" alt="Get Jodit PRO"></a>
|
|
9
|
+
</p>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<br>
|
|
2
13
|
|
|
3
|
-
# Jodit Editor
|
|
4
|
-
|
|
5
|
-
Jodit Editor is an excellent WYSIWYG editor written in pure TypeScript
|
|
6
|
-
without the use of additional libraries. It includes a file editor and image editor.
|
|
7
|
-
|
|
8
|
-
[](https://github.com/xdan/jodit/actions/workflows/tests.yml)
|
|
9
|
-
[](https://badge.fury.io/js/jodit)
|
|
10
|
-
[](https://www.npmjs.com/package/jodit)
|
|
11
|
-
[](https://www.npmjs.com/package/jodit-react)
|
|
12
|
-
|
|
13
|
-
- [Demo and Official site](https://xdsoft.net/jodit/)
|
|
14
|
-
- [PRO Version](https://xdsoft.net/jodit/pro/)
|
|
15
14
|
- [Builder](https://xdsoft.net/jodit/builder/)
|
|
16
15
|
- [Playground - Play with Options](https://xdsoft.net/jodit/play.html)
|
|
17
16
|
- [Documentation](https://xdsoft.net/jodit/docs/)
|
|
@@ -22,8 +21,6 @@ without the use of additional libraries. It includes a file editor and image edi
|
|
|
22
21
|
|
|
23
22
|
## Get Started
|
|
24
23
|
|
|
25
|
-
## How to Use
|
|
26
|
-
|
|
27
24
|
Download the latest [release](https://github.com/xdan/jodit/releases/latest) or via npm:
|
|
28
25
|
|
|
29
26
|
```sh
|
|
@@ -100,9 +97,9 @@ You can manually include additional plugins and languages as needed.
|
|
|
100
97
|
```html
|
|
101
98
|
<link
|
|
102
99
|
rel="stylesheet"
|
|
103
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.
|
|
100
|
+
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.13.9/es2021/jodit.min.css"
|
|
104
101
|
/>
|
|
105
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.
|
|
102
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.13.9/es2021/jodit.min.js"></script>
|
|
106
103
|
```
|
|
107
104
|
|
|
108
105
|
#### unpkg
|
|
@@ -110,9 +107,9 @@ You can manually include additional plugins and languages as needed.
|
|
|
110
107
|
```html
|
|
111
108
|
<link
|
|
112
109
|
rel="stylesheet"
|
|
113
|
-
href="https://unpkg.com/jodit@4.
|
|
110
|
+
href="https://unpkg.com/jodit@4.13.9/es2021/jodit.min.css"
|
|
114
111
|
/>
|
|
115
|
-
<script src="https://unpkg.com/jodit@4.
|
|
112
|
+
<script src="https://unpkg.com/jodit@4.13.9/es2021/jodit.min.js"></script>
|
|
116
113
|
```
|
|
117
114
|
|
|
118
115
|
### Usage
|
|
@@ -258,6 +255,11 @@ const editor = Jodit.make('#editor', {
|
|
|
258
255
|
});
|
|
259
256
|
```
|
|
260
257
|
|
|
258
|
+
> **Using Jodit in a commercial product?**
|
|
259
|
+
> Remove the "Powered by Jodit" mark and unlock 20+ premium plugins — Finder file manager, PDF & Word export, @mentions, AI Assistant and more. One-time license from $99.
|
|
260
|
+
>
|
|
261
|
+
> [**Compare plans →**](https://xdsoft.net/jodit/pro/)
|
|
262
|
+
|
|
261
263
|
## Browser Support
|
|
262
264
|
|
|
263
265
|
- Internet Explorer 11
|
|
@@ -266,6 +268,12 @@ const editor = Jodit.make('#editor', {
|
|
|
266
268
|
- Latest Safari
|
|
267
269
|
- Microsoft Edge
|
|
268
270
|
|
|
271
|
+
## Star History
|
|
272
|
+
|
|
273
|
+
<a href="https://star-history.com/#xdan/jodit&Date">
|
|
274
|
+
<img src="https://api.star-history.com/svg?repos=xdan/jodit&type=Date" alt="Star History Chart" width="640">
|
|
275
|
+
</a>
|
|
276
|
+
|
|
269
277
|
## License
|
|
270
278
|
|
|
271
279
|
MIT
|
package/es2015/jodit.css
CHANGED