jodit-react 4.0.29 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.2.9
4
+ * Version: v4.2.10
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
package/examples/app.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './app.css';
2
2
 
3
- import React from 'react';
3
+ import React, { StrictMode } from 'react';
4
4
  import Form from './components/Form';
5
5
 
6
6
  // For React < 18
@@ -10,4 +10,8 @@ import Form from './components/Form';
10
10
  import { createRoot } from 'react-dom/client';
11
11
  const container = document.getElementById('editor');
12
12
  const root = createRoot(container);
13
- root.render(<Form />);
13
+ root.render(
14
+ <StrictMode>
15
+ <Form />
16
+ </StrictMode>
17
+ );
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Jodit } from 'jodit/esm/index';
1
+ import { Jodit } from 'jodit/esm/index';
2
2
  import * as React from 'react';
3
3
 
4
4
  type DeepPartial<T> = T extends object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jodit-react",
3
- "version": "4.0.29",
3
+ "version": "4.1.2",
4
4
  "description": "Jodit is awesome and usefully wysiwyg editor with filebrowser",
5
5
  "main": "build/jodit-react.js",
6
6
  "author": "Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)s",
@@ -16,7 +16,7 @@
16
16
  "rte"
17
17
  ],
18
18
  "dependencies": {
19
- "jodit": "^4.2.9"
19
+ "jodit": "^4.2.10"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "react": "~0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",