Skip to content

Commit

Permalink
New version 3.13.1. Read more https://github.com/xdan/jodit/blob/mast…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Jan 27, 2022
2 parents ad8f266 + 64d5582 commit 513c68b
Show file tree
Hide file tree
Showing 19 changed files with 112,271 additions and 12 deletions.
53 changes: 48 additions & 5 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,49 @@
> - :house: [Internal]
> - :nail_care: [Polish]
## 3.13.1

#### :boom: Breaking Change

- `ObserveObject` removed
- Added `observable` function which makes object observable. In this case, the function returns the same object.

```js
const obj = {
a: 1,
b: {
c: 5
}
};

const obsObj = Jodit.modules.observable(obj);
console.log(obj === obsObj); // true
obsObj.on('change', () => {
console.log('Object changed');
});
obsObj.on('change.a', () => {
console.log('Key a changed');
});
obsObj.on('change.b.c', () => {
console.log('Key b.c changed');
});

obj.a = 6;
// Object changed
// Key a changed

obj.b = { c: 6 };
// Object changed

obj.b.c = 8;
// Object changed
// Key b.c changed
```

#### :bug: Bug Fix

- Fixed autotest in Chrome on Windows

## 3.12.5

#### :rocket: New Feature
Expand Down Expand Up @@ -993,11 +1036,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
- @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
modeClassName="select")
- ex: [
- { value: "", text: "" },
- { value: "val1", text: "text1" },
- { value: "val2", text: "text2" },
- { value: "val3", text: "text3" }
- ]
- { value: "", text: "" },
- { value: "val1", text: "text1" },
- { value: "val2", text: "text2" },
- { value: "val3", text: "text3" }
- ]
PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
##### New option `statusbar: boolean = true`
Expand Down
Loading

0 comments on commit 513c68b

Please sign in to comment.