jodit 4.0.0-beta.84 → 4.0.0-beta.86

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.
Files changed (168) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +85 -161
  3. package/es2015/jodit.css +320 -41
  4. package/es2015/jodit.fat.min.css +1 -1
  5. package/es2015/jodit.fat.min.js +2 -2
  6. package/es2015/jodit.js +2470 -2258
  7. package/es2015/jodit.min.css +1 -1
  8. package/es2015/jodit.min.js +2 -2
  9. package/es2015/plugins/debug/debug.js +9 -8
  10. package/es2015/plugins/debug/debug.min.js +2 -2
  11. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.js +37 -36
  13. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  14. package/es2018/jodit.css +320 -41
  15. package/es2018/jodit.fat.min.css +1 -1
  16. package/es2018/jodit.fat.min.js +2 -2
  17. package/es2018/jodit.js +2469 -2255
  18. package/es2018/jodit.min.css +1 -1
  19. package/es2018/jodit.min.js +2 -2
  20. package/es2018/plugins/debug/debug.js +9 -8
  21. package/es2018/plugins/debug/debug.min.js +2 -2
  22. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  23. package/es2018/plugins/speech-recognize/speech-recognize.js +37 -36
  24. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  25. package/es2021/jodit.css +320 -41
  26. package/es2021/jodit.fat.min.css +1 -1
  27. package/es2021/jodit.fat.min.js +2 -2
  28. package/es2021/jodit.js +2459 -2253
  29. package/es2021/jodit.min.css +1 -1
  30. package/es2021/jodit.min.js +2 -2
  31. package/es2021/plugins/debug/debug.js +9 -8
  32. package/es2021/plugins/debug/debug.min.js +2 -2
  33. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  34. package/es2021/plugins/speech-recognize/speech-recognize.js +37 -36
  35. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  36. package/es2021.en/jodit.css +320 -41
  37. package/es2021.en/jodit.fat.min.css +1 -1
  38. package/es2021.en/jodit.fat.min.js +2 -2
  39. package/es2021.en/jodit.js +2459 -2253
  40. package/es2021.en/jodit.min.css +1 -1
  41. package/es2021.en/jodit.min.js +2 -2
  42. package/es2021.en/plugins/debug/debug.js +9 -8
  43. package/es2021.en/plugins/debug/debug.min.js +2 -2
  44. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  45. package/es2021.en/plugins/speech-recognize/speech-recognize.js +37 -36
  46. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  47. package/es5/jodit.css +400 -103
  48. package/es5/jodit.fat.min.css +1 -1
  49. package/es5/jodit.fat.min.js +2 -2
  50. package/es5/jodit.js +2530 -2312
  51. package/es5/jodit.min.css +3 -3
  52. package/es5/jodit.min.js +2 -2
  53. package/es5/plugins/debug/debug.js +9 -8
  54. package/es5/plugins/debug/debug.min.js +2 -2
  55. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  56. package/es5/plugins/speech-recognize/speech-recognize.js +38 -36
  57. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  58. package/esm/core/component/component.d.ts +2 -2
  59. package/esm/core/constants.js +2 -2
  60. package/esm/core/dom/dom.js +2 -2
  61. package/esm/core/helpers/checker/is-marker.d.ts +3 -0
  62. package/esm/core/helpers/normalize/normalize-size.d.ts +1 -1
  63. package/esm/core/helpers/normalize/normalize-size.js +2 -2
  64. package/esm/core/helpers/string/trim.d.ts +1 -0
  65. package/esm/core/helpers/string/trim.js +5 -0
  66. package/esm/core/helpers/utils/attr.d.ts +3 -0
  67. package/esm/core/helpers/utils/css.js +1 -0
  68. package/esm/core/plugin/interface.d.ts +3 -0
  69. package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
  70. package/esm/core/selection/style/api/has-same-style.js +7 -4
  71. package/esm/core/selection/style/api/is-suit-element.d.ts +7 -2
  72. package/esm/core/selection/style/api/is-suit-element.js +21 -10
  73. package/esm/core/selection/style/transactions.d.ts +3 -0
  74. package/esm/core/selection/style/transactions.js +3 -3
  75. package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
  76. package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
  77. package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
  78. package/esm/core/ui/button/tooltip/tooltip.js +2 -2
  79. package/esm/core/ui/element.d.ts +1 -1
  80. package/esm/core/ui/form/block/block.d.ts +1 -1
  81. package/esm/core/ui/form/block/block.js +1 -1
  82. package/esm/core/ui/group/group.d.ts +0 -1
  83. package/esm/core/ui/group/group.js +0 -2
  84. package/esm/core/ui/group/list.d.ts +1 -0
  85. package/esm/core/ui/group/list.js +14 -2
  86. package/esm/core/ui/helpers/get-control-type.js +9 -2
  87. package/esm/core/ui/popup/popup.d.ts +12 -12
  88. package/esm/core/ui/popup/popup.js +46 -40
  89. package/esm/modules/file-browser/config.js +1 -1
  90. package/esm/modules/image-editor/config.d.ts +3 -0
  91. package/esm/modules/toolbar/button/button.d.ts +5 -5
  92. package/esm/modules/toolbar/button/button.js +25 -24
  93. package/esm/modules/toolbar/button/content.js +1 -1
  94. package/esm/modules/toolbar/button/index.d.ts +1 -0
  95. package/esm/modules/toolbar/button/index.js +1 -0
  96. package/esm/modules/toolbar/button/select/select.d.ts +15 -0
  97. package/esm/modules/toolbar/button/select/select.js +47 -0
  98. package/esm/modules/toolbar/collection/collection.d.ts +1 -0
  99. package/esm/modules/toolbar/collection/collection.js +4 -1
  100. package/esm/modules/toolbar/factory.d.ts +1 -0
  101. package/esm/modules/toolbar/factory.js +4 -0
  102. package/esm/plugins/bold/bold.js +1 -6
  103. package/esm/plugins/bold/interface.d.ts +3 -0
  104. package/esm/plugins/class-span/class-span.js +7 -7
  105. package/esm/plugins/color/config.js +2 -2
  106. package/esm/plugins/debug/debug.d.ts +1 -1
  107. package/esm/plugins/delete/interface.d.ts +3 -0
  108. package/esm/plugins/enter/interface.d.ts +3 -0
  109. package/esm/plugins/file/file.js +1 -1
  110. package/esm/plugins/font/config.js +63 -51
  111. package/esm/plugins/font/font.js +1 -1
  112. package/esm/plugins/format-block/config.d.ts +6 -0
  113. package/esm/plugins/format-block/config.js +52 -0
  114. package/esm/plugins/format-block/format-block.d.ts +1 -0
  115. package/esm/plugins/format-block/format-block.js +1 -68
  116. package/esm/plugins/fullsize/config.js +1 -1
  117. package/esm/plugins/iframe/iframe.js +11 -9
  118. package/esm/plugins/image/image.js +1 -1
  119. package/esm/plugins/image-processor/config.js +3 -0
  120. package/esm/plugins/inline-popup/config/items/cells.js +1 -1
  121. package/esm/plugins/justify/justify.js +8 -7
  122. package/esm/plugins/link/config.js +1 -1
  123. package/esm/plugins/mobile/config.js +3 -3
  124. package/esm/plugins/search/interface.d.ts +3 -0
  125. package/esm/plugins/select-cells/select-cells.d.ts +2 -0
  126. package/esm/plugins/symbols/config.js +1 -1
  127. package/esm/plugins/table/config.js +2 -1
  128. package/esm/plugins/video/config.js +1 -1
  129. package/esm/types/messages.d.ts +8 -0
  130. package/esm/types/popup.d.ts +3 -3
  131. package/esm/types/toolbar.d.ts +12 -8
  132. package/esm/typings.d.ts +0 -1
  133. package/package.json +1 -1
  134. package/types/core/component/component.d.ts +2 -2
  135. package/types/core/helpers/checker/is-marker.d.ts +3 -0
  136. package/types/core/helpers/normalize/normalize-size.d.ts +1 -1
  137. package/types/core/helpers/string/trim.d.ts +1 -0
  138. package/types/core/helpers/utils/attr.d.ts +3 -0
  139. package/types/core/plugin/interface.d.ts +3 -0
  140. package/types/core/selection/style/api/has-same-style.d.ts +1 -1
  141. package/types/core/selection/style/api/is-suit-element.d.ts +7 -2
  142. package/types/core/selection/style/transactions.d.ts +3 -0
  143. package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
  144. package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
  145. package/types/core/ui/button/tooltip/tooltip.d.ts +2 -2
  146. package/types/core/ui/element.d.ts +1 -1
  147. package/types/core/ui/form/block/block.d.ts +1 -1
  148. package/types/core/ui/group/group.d.ts +0 -1
  149. package/types/core/ui/group/list.d.ts +1 -0
  150. package/types/core/ui/popup/popup.d.ts +12 -12
  151. package/types/modules/image-editor/config.d.ts +3 -0
  152. package/types/modules/toolbar/button/button.d.ts +5 -5
  153. package/types/modules/toolbar/button/index.d.ts +1 -0
  154. package/types/modules/toolbar/button/select/select.d.ts +15 -0
  155. package/types/modules/toolbar/collection/collection.d.ts +1 -0
  156. package/types/modules/toolbar/factory.d.ts +1 -0
  157. package/types/plugins/bold/interface.d.ts +3 -0
  158. package/types/plugins/debug/debug.d.ts +1 -1
  159. package/types/plugins/delete/interface.d.ts +3 -0
  160. package/types/plugins/enter/interface.d.ts +3 -0
  161. package/types/plugins/format-block/config.d.ts +6 -0
  162. package/types/plugins/format-block/format-block.d.ts +1 -0
  163. package/types/plugins/search/interface.d.ts +3 -0
  164. package/types/plugins/select-cells/select-cells.d.ts +2 -0
  165. package/types/types/messages.d.ts +8 -0
  166. package/types/types/popup.d.ts +3 -3
  167. package/types/types/toolbar.d.ts +12 -8
  168. package/types/typings.d.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,47 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.0.0-beta.78
13
+
14
+ - Update
15
+ ```
16
+ @types/karma ^6.3.3 → ^6.3.4
17
+ @types/node ^20.1.0 → ^20.5.0
18
+ @typescript-eslint/eslint-plugin ^5.59.2 → ^6.4.0
19
+ @typescript-eslint/parser ^5.59.2 → ^6.4.0
20
+ autoprefixer ^10.4.14 → ^10.4.15
21
+ core-js ^3.30.2 → ^3.32.0
22
+ css-loader ^6.7.3 → ^6.8.1
23
+ css-minimizer-webpack-plugin ^5.0.0 → ^5.0.1
24
+ eslint ^8.40.0 → ^8.47.0
25
+ eslint-config-prettier ^8.8.0 → ^9.0.0
26
+ eslint-plugin-import ^2.27.5 → ^2.28.0
27
+ eslint-plugin-prettier ^4.2.1 → ^5.0.0
28
+ glob ^10.2.2 → ^10.3.3
29
+ less ^4.1.3 → ^4.2.0
30
+ less-loader ^11.1.0 → ^11.1.3
31
+ lint-staged ^13.2.2 → ^14.0.0
32
+ mini-css-extract-plugin ^2.7.5 → ^2.7.6
33
+ node-jq ^2.3.5 → ^4.0.1
34
+ postcss >=8.4.23 → >=8.4.27
35
+ postcss-loader ^7.3.0 → ^7.3.3
36
+ prettier ^2.8.8 → ^3.0.1
37
+ style-loader ^3.3.2 → ^3.3.3
38
+ stylelint ^15.6.1 → ^15.10.2
39
+ stylelint-config-standard ^33.0.0 → ^34.0.0
40
+ stylelint-prettier ^3.0.0 → ^4.0.2
41
+ synchronous-promise 2.0.15 → 2.0.17
42
+ terser-webpack-plugin ^5.3.8 → ^5.3.9
43
+ ts-loader ^9.4.2 → ^9.4.4
44
+ tslib ^2.5.0 → ^2.6.1
45
+ typescript ^5.0.4 → ^5.1.6
46
+ webpack 5.82.0 → 5.88.2
47
+ webpack-cli ^5.1.0 → ^5.1.4
48
+ webpack-dev-middleware ^6.1.0 → ^6.1.1
49
+ webpack-dev-server ^4.15.0 → ^4.15.1
50
+ webpack-hot-middleware ^2.25.3 → ^2.25.4
51
+ ```
52
+
12
53
  ## 4.0.0-beta.77
13
54
 
14
55
  ### :bug: Bug Fix
package/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  ![Jodit WYSIWYG editor](https://raw.githubusercontent.com/xdan/jodit/main/examples/assets/logo.png)
2
2
 
3
- # Jodit Editor 3
3
+ # Jodit Editor
4
4
 
5
- An excellent WYSIWYG editor written in pure TypeScript without the use of additional libraries. Its file editor and image editor.
5
+ Jodit Editor is an excellent WYSIWYG editor written in pure TypeScript
6
+ without the use of additional libraries. It includes a file editor and image editor.
6
7
 
7
8
  [![Build Status](https://github.com/xdan/jodit/workflows/Run%20tests/badge.svg)](https://github.com/xdan/jodit/actions/workflows/tests.yml)
8
9
  [![npm version](https://badge.fury.io/js/jodit.svg)](https://badge.fury.io/js/jodit)
@@ -11,7 +12,7 @@ An excellent WYSIWYG editor written in pure TypeScript without the use of additi
11
12
  - [Demo and Official site](https://xdsoft.net/jodit/)
12
13
  - [PRO Version](https://xdsoft.net/jodit/pro/)
13
14
  - [Builder](https://xdsoft.net/jodit/builder/)
14
- - [Playground - play with options](https://xdsoft.net/jodit/play.html)
15
+ - [Playground - Play with Options](https://xdsoft.net/jodit/play.html)
15
16
  - [Documentation](https://xdsoft.net/jodit/docs/)
16
17
  - [Download & Changes](https://github.com/xdan/jodit/releases)
17
18
  - [Changelog](https://github.com/xdan/jodit/blob/main/CHANGELOG.md)
@@ -20,84 +21,84 @@ An excellent WYSIWYG editor written in pure TypeScript without the use of additi
20
21
 
21
22
  ## Get Started
22
23
 
23
- ## How use
24
+ ## How to Use
24
25
 
25
- Download the latest [release](https://github.com/xdan/jodit/releases/latest) or
26
+ Download the latest [release](https://github.com/xdan/jodit/releases/latest) or via npm:
26
27
 
27
- ### INSTALL VIA NPM
28
-
29
- ```bash
28
+ ```sh
30
29
  npm install jodit
31
30
  ```
32
31
 
33
- You will get:
32
+ You will get the following files:
34
33
 
35
- - inside /esm: ESM version of the editor (compatible with e.g. webpack)
36
- - inside /(es5|es2015|es2018|es2021)/*.js: UMD bundled, not minified
37
- - inside /(es5|es2015|es2018|es2021)/*.min.js: UMD bundled, and minified
38
- - types/index.d.ts: this specifies the API of the editor (this is what is actually versioned, everything else is considered private and might break with any release).
34
+ - Inside `/esm`: ESM version of the editor (compatible with tools like webpack)
35
+ - Inside `/es5`, `/es2015`, `/es2018`, `/es2021`: UMD bundled files (not minified)
36
+ - Inside `/es5`, `/es2015`, `/es2018`, `/es2021` with `.min.js` extension: UMD bundled and minified files
37
+ - `types/index.d.ts`: This file specifies the API of the editor. It is versioned, while everything else is considered private and may change with each release.
39
38
 
40
- ### Include just two files
39
+ ### Include Jodit in Your Project
41
40
 
42
- ES5 Version
41
+ Include the following two files:
42
+
43
+ ES5 Version:
43
44
 
44
45
  ```html
45
46
  <link type="text/css" rel="stylesheet" href="es2015/jodit.min.css" />
46
47
  <script type="text/javascript" src="es2015/jodit.min.js"></script>
47
48
  ```
48
49
 
49
- es2021 Version (if your users use only modern browsers)
50
+ ES2021 Version (for modern browsers only):
50
51
 
51
52
  ```html
52
53
  <link type="text/css" rel="stylesheet" href="es2021/jodit.min.css" />
53
54
  <script type="text/javascript" src="es2021/jodit.min.js"></script>
54
55
  ```
55
56
 
56
- esm modules
57
+ ESM Modules:
57
58
 
58
59
  ```html
59
60
  <script type="importmap">
60
- {
61
- "imports": {
62
- "autobind-decorator": "https://unpkg.com/autobind-decorator@2.4.0/lib/esm/index.js"
63
- }
64
- }
61
+ {
62
+ "imports": {
63
+ "autobind-decorator": "https://unpkg.com/autobind-decorator@2.4.0/lib/esm/index.js"
64
+ }
65
+ }
65
66
  </script>
66
- <link rel="stylesheet" href="./node_modules/jodit/es2021/jodit.min.css"/>
67
+ <link rel="stylesheet" href="./node_modules/jodit/es2021/jodit.min.css" />
67
68
  <script type="module">
68
- import {Jodit} from "./node_modules/jodit/esm/index.js"
69
- Jodit.make('#editor', {
70
- width: 600,
71
- height: 400,
72
- });
69
+ import { Jodit } from './node_modules/jodit/esm/index.js';
70
+ Jodit.make('#editor', {
71
+ width: 600,
72
+ height: 400
73
+ });
73
74
  </script>
74
75
  ```
75
76
 
76
- ESM automatically connects only the basic set of plugins and only English.
77
- You can connect the necessary plugins and languages yourself:
77
+ The ESM modules automatically include only the basic set of plugins and the English language.
78
+ You can manually include additional plugins and languages as needed.
78
79
 
79
80
  ```html
80
81
  <script type="importmap">
81
- {
82
- "imports": {
83
- "autobind-decorator": "https://unpkg.com/autobind-decorator@2.4.0/lib/esm/index.js"
84
- }
85
- }
82
+ {
83
+ "imports": {
84
+ "autobind-decorator": "https://unpkg.com/autobind-decorator@2.4.0/lib/esm/index.js"
85
+ }
86
+ }
86
87
  </script>
87
- <link rel="stylesheet" href="./node_modules/jodit/es2021/jodit.min.css"/>
88
+ <link rel="stylesheet" href="./node_modules/jodit/es2021/jodit.min.css" />
88
89
  <script type="module">
89
- import {Jodit} from "./node_modules/jodit/esm/index.js"
90
- import "./node_modules/jodit/esm/plugins/add-new-line/add-new-line.js"
91
- import "./node_modules/jodit/esm/plugins/fullsize/fullsize.js"
92
- import de from "./node_modules/jodit/esm/langs/de.js"
93
-
94
- Jodit.langs.de = de;
95
-
96
- Jodit.make('#editor', {
97
- width: 600,
98
- height: 400,
99
- language: 'de'
100
- });
90
+ import { Jodit } from './node_modules/jodit/esm/index.js';
91
+ import './node_modules/jodit/esm/plugins/add-new-line/add-new-line.js';
92
+ import './node_modules/jodit/esm/plugins/fullsize/fullsize.js';
93
+ import de from './node_modules/jodit/esm/langs/de.js';
94
+
95
+ Jodit.langs.de = de;
96
+
97
+ Jodit.make('#editor', {
98
+ width: 600,
99
+ height: 400,
100
+ language: 'de'
101
+ });
101
102
  </script>
102
103
  ```
103
104
 
@@ -108,137 +109,36 @@ You can connect the necessary plugins and languages yourself:
108
109
  ```html
109
110
  <link
110
111
  rel="stylesheet"
111
- href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.84/es2021/jodit.min.css"
112
+ href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.86/es2021/jodit.min.css"
112
113
  />
113
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.84/es2021/jodit.min.js"></script>
114
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.86/es2021/jodit.min.js"></script>
114
115
  ```
115
116
 
116
117
  #### unpkg
117
118
 
118
-
119
119
  ```html
120
120
  <link
121
121
  rel="stylesheet"
122
- href="https://unpkg.com/jodit@4.0.0-beta.84/es2021/jodit.min.css"
122
+ href="https://unpkg.com/jodit@4.0.0-beta.86/es2021/jodit.min.css"
123
123
  />
124
- <script src="https://unpkg.com/jodit@4.0.0-beta.84/es2021/jodit.min.js"></script>
124
+ <script src="https://unpkg.com/jodit@4.0.0-beta.86/es2021/jodit.min.js"></script>
125
125
  ```
126
126
 
127
+ ### Usage
127
128
 
128
-
129
- ### USAGE
130
-
131
- And some `<textarea>` element
129
+ Add a <textarea> element to your HTML:
132
130
 
133
131
  ```html
134
132
  <textarea id="editor" name="editor"></textarea>
135
133
  ```
136
134
 
137
- After this, you can init Jodit plugin
135
+ Initialize Jodit on the textarea:
138
136
 
139
137
  ```javascript
140
138
  const editor = Jodit.make('#editor');
141
139
  editor.value = '<p>start</p>';
142
140
  ```
143
141
 
144
- with jQuery
145
-
146
- ```javascript
147
- $('textarea').each(function () {
148
- const editor = Jodit.make(this);
149
- editor.value = '<p>start</p>';
150
- });
151
- ```
152
-
153
- ## For contributors:
154
-
155
- ```bash
156
- git clone https://github.com/xdan/jodit.git
157
- cd jodit
158
- npm ci
159
- ```
160
-
161
- Run webpack Hot Reload server:
162
-
163
- ```bash
164
- npm start
165
- ```
166
-
167
- Demo will be available here
168
-
169
- ```
170
- http://localhost:2000/
171
- ```
172
-
173
- Build min files:
174
-
175
- ```bash
176
- make build
177
- ```
178
-
179
- Build without some plugins:
180
-
181
- ```bash
182
- make build es=es2021 uglify=true excludePlugins="about,source,bold,image,xpath,stat,class-span,color,clean-html,file,focus,enter,backspace,media,preview,pint,redo-undo,resize-cells,search,spellcheck,table"
183
- ```
184
-
185
- Build without some languages:
186
-
187
- ```bash
188
- make build es=es2021 uglify=true excludeLanguages="ru,ar,cs_cz,de,es,fa,fr,he,hu,id,it,ja,ko,nl,pl,pt_br,ru,tr,zh_cn,zh_tw"
189
- ```
190
-
191
- Run tests:
192
-
193
- ```bash
194
- make test browsers ChromeHeadless,IE,Firefox
195
- ```
196
-
197
- or
198
-
199
- ```bash
200
- make test
201
- ```
202
-
203
- or
204
-
205
- ```bash
206
- npm test
207
- ```
208
-
209
- For checking tests in browser, open URL:
210
-
211
- ```
212
- http://localhost:2000/test/test.html
213
- ```
214
-
215
- For testing FileBrowser and Uploader modules, need install [PHP Connector](https://github.com/xdan/jodit-connectors)
216
-
217
- ```bash
218
- composer create-project --no-dev jodit/connector
219
- ```
220
-
221
- Run test PHP server
222
-
223
- ```bash
224
- php -S localhost:8181 -t ./
225
- ```
226
-
227
- and set options for Jodit:
228
-
229
- ```javascript
230
- const editor = Jodit.make('#editor', {
231
- uploader: {
232
- url: 'http://localhost:8181/index-test.php?action=fileUpload'
233
- },
234
- filebrowser: {
235
- ajax: {
236
- url: 'http://localhost:8181/index-test.php'
237
- }
238
- }
239
- });
240
- ```
241
-
242
142
  ### Create plugin
243
143
 
244
144
  ```javascript
@@ -337,6 +237,35 @@ const editor = Jodit.make('.someselector', {
337
237
  });
338
238
  ```
339
239
 
240
+ ## FileBrowser and Uploader
241
+
242
+ For testing FileBrowser and Uploader modules, need install [PHP Connector](https://github.com/xdan/jodit-connectors)
243
+
244
+ ```bash
245
+ composer create-project --no-dev jodit/connector
246
+ ```
247
+
248
+ Run test PHP server
249
+
250
+ ```bash
251
+ php -S localhost:8181 -t ./
252
+ ```
253
+
254
+ and set options for Jodit:
255
+
256
+ ```javascript
257
+ const editor = Jodit.make('#editor', {
258
+ uploader: {
259
+ url: 'http://localhost:8181/index-test.php?action=fileUpload'
260
+ },
261
+ filebrowser: {
262
+ ajax: {
263
+ url: 'http://localhost:8181/index-test.php'
264
+ }
265
+ }
266
+ });
267
+ ```
268
+
340
269
  ## Browser Support
341
270
 
342
271
  - Internet Explorer 11
@@ -345,11 +274,6 @@ const editor = Jodit.make('.someselector', {
345
274
  - Latest Safari
346
275
  - Microsoft Edge
347
276
 
348
- ## Contributing
349
-
350
- This project is maintained by a community of developers. Contributions are welcome and appreciated. You can find Jodit on GitHub; feel free to start an issue or create a pull requests:
351
- https://github.com/xdan/jodit
352
-
353
277
  ## License
354
278
 
355
279
  MIT