Skip to content

Commit 96738f3

Browse files
committed
docs: bump CDN example version to 4.12.37 in getting-started/README
The cdnjs/unpkg snippets still pinned the stale 4.7.6. Update them to the current published version. Refs #1208
1 parent d3ed8bb commit 96738f3

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
Jodit.make('#editor', { nonce: 'r4nd0m' });
2626
```
2727

28+
#### :memo: Documentation
29+
30+
- **Getting started / CDN**: bumped the pinned Jodit version in the cdnjs/unpkg snippets in `README.md` and `docs/getting-started.md` from the stale `4.7.6` to `4.12.37`. Refs [#1208](https://github.com/xdan/jodit/issues/1208).
31+
2832
#### :house: Internal
2933

3034
- **Enter tests**: added a regression test asserting that pressing Enter with the caret at the bottom of a scrollable editing area scrolls to follow the cursor (and does not scroll when the caret line is already visible). Covers the scenario from [#1300](https://github.com/xdan/jodit/issues/1300), which works on the current version.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,19 @@ You can manually include additional plugins and languages as needed.
100100
```html
101101
<link
102102
rel="stylesheet"
103-
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.7.6/es2021/jodit.min.css"
103+
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.12.37/es2021/jodit.min.css"
104104
/>
105-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.7.6/es2021/jodit.min.js"></script>
105+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.12.37/es2021/jodit.min.js"></script>
106106
```
107107

108108
#### unpkg
109109

110110
```html
111111
<link
112112
rel="stylesheet"
113-
href="https://unpkg.com/jodit@4.7.6/es2021/jodit.min.css"
113+
href="https://unpkg.com/jodit@4.12.37/es2021/jodit.min.css"
114114
/>
115-
<script src="https://unpkg.com/jodit@4.7.6/es2021/jodit.min.js"></script>
115+
<script src="https://unpkg.com/jodit@4.12.37/es2021/jodit.min.js"></script>
116116
```
117117

118118
### Usage

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
```html
4646
<link
4747
rel="stylesheet"
48-
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.7.6/es2021/jodit.min.css"
48+
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.12.37/es2021/jodit.min.css"
4949
/>
50-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.7.6/es2021/jodit.min.js"></script>
50+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.12.37/es2021/jodit.min.js"></script>
5151
```
5252

5353
## Download archive

0 commit comments

Comments
 (0)