Skip to content

Commit

Permalink
Added getting-started.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Jan 5, 2024
1 parent 937f126 commit eb14d72
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Getting Started

via npm

```shell
npm install jodit
```

via yarn

```shell
yarn add jodit
```

cdnjs

```html
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.24/es2021/jodit.min.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.24/es2021/jodit.min.js"></script>
```

unpkg

```html
<link
rel="stylesheet"
href="https://unpkg.com/jodit@4.0.0-beta.24/es2021/jodit.min.css"
/>
<script src="https://unpkg.com/jodit@4.0.0-beta.24/es2021/jodit.min.js"></script>
```

Self-hosted · Download files

```html
<link rel="stylesheet" href="build/es2021/jodit.min.css" />
<script src="build/es2021/jodit.min.js"></script>
```

Usage

```html
<textarea id="editor"></textarea>
<script>
const editor = Jodit.make('#editor', {
buttons: ['bold', 'italic', 'underline', '|', 'ul', 'ol']
});
</script>
```

0 comments on commit eb14d72

Please sign in to comment.