-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
1,171 additions
and
1,286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,19 @@ Without webpack, you can use the ESM build of Jodit by importing it directly int | |
|
||
```html | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"autobind-decorator": "https://cdn.jsdelivr.net/npm/[email protected]/+esm", | ||
"jodit": "/node_modules/jodit/esm/index.js" | ||
} | ||
} | ||
{ | ||
"imports": { | ||
"autobind-decorator": "https://cdn.jsdelivr.net/npm/[email protected]/+esm", | ||
"jodit-pro": "https://cdn.jsdelivr.net/npm/[email protected]/esm/index.js", | ||
"jodit": "https://cdn.jsdelivr.net/npm/[email protected]/esm/index.js", | ||
"jodit/": "https://cdn.jsdelivr.net/npm/[email protected]/esm/" | ||
} | ||
} | ||
</script> | ||
<link rel="stylesheet" href="/node_modules/jodit/es2021.en/jodit.fat.min.css"> | ||
<script type="module"> | ||
import {Jodit} from 'jodit'; | ||
const editor = new Jodit('#root'); | ||
import { Jodit } from 'jodit'; | ||
//import { Jodit } from 'jodit-pro'; | ||
const editor = Jodit.make('#editor'); | ||
</script> | ||
``` |
Oops, something went wrong.