Skip to content

Commit

Permalink
New version 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed May 6, 2024
1 parent 969505f commit 314685b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion examples/decorators/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Jodit example decorators
## Use decorators

This example demonstrates how to use decorators to add custom functionality to the Jodit editor.

```typescript
import { Jodit } from 'jodit';
const { component } = Jodit.decorators;

@component
class UIButtonX extends Jodit.modules.UIElement {}
```
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jodit-examples",
"version": "1.0.5",
"version": "1.0.6",
"description": "Jodit Examples",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 314685b

Please sign in to comment.