1 | # Change log
|
2 | All notable changes to this project will be documented in this file.
|
3 |
|
4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6 |
|
7 | ## 4.1.0 - 2022-05-12
|
8 | ### Added
|
9 | - Added props for the events `SkinLoadError`, `ThemeLoadError`, `ModelLoadError`, `PluginLoadError`, `IconsLoadError` and `LanguageLoadError`.
|
10 |
|
11 | ### Fixed
|
12 | - Updated issue templates with updated codesandbox
|
13 | - Updated the readme with links to the TinyMCE 6 documentation
|
14 | - Updated the security issue reporting link to the TinyMCE 6 documentation
|
15 |
|
16 | ## 4.0.0 - 2022-04-08
|
17 | ### Changed
|
18 | - License changed to MIT (from Apache 2) this matches TinyMCE 6 license
|
19 | - Changed default cloudChannel to `'6'`.
|
20 |
|
21 | ### Removed
|
22 | - Removed `outputFormat` prop. If text output is required call `editor.getContent({ format: 'text' })` in any of the event callbacks.
|
23 |
|
24 | ## 3.14.0 - 2022-04-04
|
25 | ### Changed
|
26 | - Allow react version "^18.0.0"
|
27 |
|
28 | ### Fixed
|
29 | - Updated dependencies.
|
30 |
|
31 | ## 3.13.1 - 2022-01-20
|
32 | ### Fixed
|
33 | - Updated dependencies
|
34 | - Use `editor.mode.set(...)` when available instead of the deprecated `editor.setMode(..)` which will be removed in TinyMCE 6.
|
35 | - Addressed lint errors
|
36 |
|
37 | ## 3.13.0 - 2021-10-06
|
38 | ### Added
|
39 | - Added new `rollback` prop for changing the delay after which a rollback is performed (when value and editor content don't match) or disabling it completely.
|
40 |
|
41 | ## 3.12.8 - 2021-10-06
|
42 | ### Changed
|
43 | - Wait 10 seconds (increased from 1) for the target element to be in the DOM before giving up.
|
44 |
|
45 | ### Fixed
|
46 | - Updated dependencies.
|
47 |
|
48 | ## 3.12.7 - 2021-10-05
|
49 | ### Fixed
|
50 | - The integration will now initialize in a shadow dom.
|
51 | - Updated dependencies
|
52 |
|
53 | ## 3.12.6 - 2021-05-20
|
54 | ### Fixed
|
55 | - As the tinymce dependency is only used for types allow all versions after 5.5.1 when types were first added, but prefer the latest when unspecified.
|
56 |
|
57 | ## 3.12.5 - 2021-05-20
|
58 | ### Fixed
|
59 | - Fixed ignoring the `toolbar` prop when it contains a falsy value when it should only be ignored if it is undefined or null.
|
60 | - Ensure that the editor is initialized attached to a document.
|
61 | - Updated dependencies
|
62 |
|
63 | ## 3.12.4 - 2021-05-12
|
64 | ### Fixed
|
65 | - Allow use of react version "^16.7.0" as well as "^17.0.1" to correct the unintended breaking change introduced in release 3.9.
|
66 | - Updated dependencies
|
67 |
|
68 | ## 3.12.3 - 2021-04-30
|
69 | ### Fixed
|
70 | - Avoid trying to get a bookmark for an unfocused inline editor
|
71 | - Recreated the storybook examples in the new recommend format as the format we were using broke on an upgrade
|
72 | - Updated dependencies
|
73 |
|
74 | ## 3.12.2 - 2021-04-01
|
75 | ### Fixed
|
76 | - Slowed down the change rollback to 200 milliseconds to allow async frameworks a chance to set the value. #INT-2475
|
77 | - Fixed cursor position recording for rolling back formatting-only changes.
|
78 | - Updated dependencies
|
79 |
|
80 | ## 3.12.1 - 2021-03-30
|
81 | ### Fixed
|
82 | - Re-added change event as a trigger of `onEditorChange` so toggling formatting will be detected. #INT-2473
|
83 | - Defer evaluating browser capabilities until after the component has mounted to allow server side rendering. #INT-2472
|
84 |
|
85 | ## 3.12.0 - 2021-03-26
|
86 | ### Added
|
87 | - Storybook demo for a controlled component with a fixed value. INT-2352
|
88 | - Storybook demo for a controlled component with a maximum length. INT-2462
|
89 |
|
90 | ### Changed
|
91 | - When used as a controlled component the editor will rollback a change if it is not set via the `value` prop within a millisecond. INT-2352
|
92 |
|
93 | ## 3.11.1 - 2021-03-24
|
94 | ### Fixed
|
95 | - Stopped inline editor grabbing focus when the value is set
|
96 | - Caught exceptions thrown while trying to restore selection after setting content
|
97 |
|
98 | ## 3.11.0 - 2021-03-23
|
99 | ### Changed
|
100 | - Updates to `initialValue` after editor initialization will now be detected and applied and will result in a complete reset of undo state. #INT-2367
|
101 | - During `componentDidUpdate` the `value` prop will be applied if it is different to the current editor content even when it is not different to the previous value of the `value` prop. #INT-2372
|
102 |
|
103 | ### Fixed
|
104 | - Apply changes to `initialValue`, `value` and `disabled` which occur between editor setup and initialization that were previously ignored. #INT-2371
|
105 | - An attempt will be made to retain the cursor position when the `value` prop forces an update to the editor content. If the cursor position can not be found it will return to the start of the document as before. #INT-2370
|
106 | - Internal tracking of the current content is now always done in HTML so `outputFormat` should not cause any unexpected behavior. #INT-2369
|
107 |
|
108 | ### Deprecated
|
109 | - The `outputFormat` prop will be removed in a future release. If text output is required call `editor.getContent({ format: 'text' })` in any of the event callbacks. #INT-2368
|
110 |
|
111 | ## [3.10.4] - 2021-03-10
|
112 | ### Fixed
|
113 | - Check for editor changes on `"compositionend"` event to more accurately trigger `onEditorChange`. #INT-2348
|
114 | - Updated dependencies to latest available
|
115 |
|
116 | ## [3.10.3] - 2021-03-04
|
117 | ### Fixed
|
118 | - Updated dependencies to latest available
|
119 |
|
120 | ## [3.10.2] - 2021-02-20
|
121 | ## Fixed
|
122 | - Event handlers are registered at setup time so props like `onBeforeRenderUI` will now be called. #INT-2325
|
123 |
|
124 | ## [3.10.1] - 2021-02-01
|
125 | ### Fixed
|
126 | - Fixed CI build
|
127 |
|
128 | ## [3.10.0] - 2021-02-01
|
129 | ### Fixed
|
130 | - Fixed event binding to lookup handlers at call time instead of rebinding on every change.
|
131 |
|
132 | ## [3.9.0] - 2021-01-11
|
133 | ### Changed
|
134 | - Adopted beehive-flow branching and versioning process/tooling.
|
135 | - Changed the changelog formatting
|
136 | - Updated dependencies to latest available
|
137 |
|
138 | ## [3.8.4] - 2020-12-16
|
139 | ### Fixed
|
140 | - Updated dependencies to latest available
|
141 |
|
142 | ## [3.8.3] - 2020-12-08
|
143 | ### Changed
|
144 | - Updated TinyMCE types to 5.6 release.
|
145 |
|
146 | ### Fixed
|
147 | - Fixed event binding to only rebind handler on changes to the specific property instead of any property.
|
148 |
|
149 | ## [3.8.2] - 2020-12-03
|
150 | ### Fixed
|
151 | - Fixed external changes not generating undo levels
|
152 |
|
153 | ## [3.8.1] - 2020-10-22
|
154 | ### Fixed
|
155 | - Fixed an issue where the component would throw an error when unmounted while loading
|
156 |
|
157 | ## [3.8.0] - 2020-10-08
|
158 | ### Added
|
159 | - Added types from TinyMCE 5.5 release.
|
160 |
|
161 | ## [3.7.0] - 2020-09-28
|
162 | ### Added
|
163 | - Added `scriptLoading` prop with settings `async`, `defer` and `delay` to modify the loading behaviour of the TinyMCE script tag
|
164 |
|
165 | ## [3.6.1] - 2020-09-07
|
166 | ### Fixed
|
167 | - Upgraded dependencies to latest available.
|
168 |
|
169 | ## [3.6.0] - 2020-05-07
|
170 | ### Fixed
|
171 | - Fixed an issue that allowed events to be fired during `componentWillUnmount`
|
172 |
|
173 | ## [3.5.1] - 2020-04-30
|
174 | ### Fixed
|
175 | - Remove `util` module from dependencies by purging usage in code.
|
176 | - Upgraded jquery in dev dependencies in response to security alert.
|
177 |
|
178 | ## [3.5.0] - 2020-02-24
|
179 | ### Added
|
180 | - Added new `tinymceScriptSrc` prop for specifying an external version of TinyMCE to lazy load
|
181 |
|
182 | ## [3.4.0] - 2020-01-31
|
183 | ### Added
|
184 | - Added new `outputFormat` prop for specifying the format of the content emitted via the `onEditorChange` event
|
185 |
|
186 | ## [3.3.2] - 2019-08-29
|
187 | ### Fixed
|
188 | - Fixed an issue that caused `onEditorChange` to fire multiple times
|
189 |
|
190 | ## [3.3.1] - 2019-08-16
|
191 | ### Fixed
|
192 | - Changed referrer policy to origin to allow cloud caching
|
193 |
|
194 | ## [3.3.0] - 2019-07-29
|
195 | ### Fixed
|
196 | - Fixed an issue that made the editor ignore new event handlers provided through props
|
197 | - Removed use of deprecated lifecycle hooks `componentWillMount` and `componentWillReceiveProps`
|
198 |
|
199 | ## [3.2.0] - 2019-06-04
|
200 | ### Fixed
|
201 | - Changed the CDN URL to use `cdn.tiny.cloud`
|
202 |
|
203 | ## [3.1.1] - 2019-05-10
|
204 | ### Changed
|
205 | - Removed preinstall script
|
206 |
|
207 | ## [3.1.0] - 2019-05-10
|
208 | ### Changed
|
209 | - Added the editor as a second argument to `onEditorChange`
|
210 | - Exported Typescript prop types
|
211 |
|
212 | ## [3.0.1] - 2019-02-11
|
213 | ### Changed
|
214 | - Updated readme on cloud channels.
|
215 |
|
216 | ## [3.0.0] - 2019-02-11
|
217 | ### Changed
|
218 | - Changed default cloudChannel to `'5'`.
|
219 |
|
220 | ## [2.6.1] - 2019-02-07
|
221 | ### Fixed
|
222 | - Changed `react` and `react-dom` to be peerDependencies and devDependencies.
|
223 |
|
224 | ## [2.6.0] - 2019-02-07
|
225 | ### Fixed
|
226 | - Changed `react` and `react-dom` to be peerDependencies.
|
227 |
|
228 | ## [2.5.0] - 2019-01-24
|
229 | ### Changed
|
230 | - Loosened cloudChannel proptype to take any string to be able to use the locked version channels.
|
231 |
|
232 | ## [2.4.0] - 2018-11-02
|
233 | ### Added
|
234 | - Added `textareaName` prop that sets the name attribute on the textarea for use in forms.
|
235 |
|
236 | ## [2.3.0] - 2018-10-01
|
237 | ### Added
|
238 | - Added `disabled` prop that sets the editor into readonly mode.
|
239 |
|
240 | ## [2.2.6] - 2018-09-03
|
241 | ### Fixed
|
242 | - Fixed broken links in readme.
|
243 |
|
244 | ## [2.2.5] - 2018-04-23
|
245 | ### Fixed
|
246 | - Added a nullcheck in componentWillUnmount to check that tinymce is available before running remove.
|
247 |
|
248 | ## [2.2.4] - 2018-04-06
|
249 | ### Fixed
|
250 | - Removed onPreInit shorthand as it never worked.
|
251 |
|
252 | ## [2.2.3] - 2018-04-06
|
253 | ### Fixed
|
254 | - Fixed a bug with onInit not working.
|
255 |
|
256 | ## [2.2.2] - 2018-04-05
|
257 | ### Fixed
|
258 | - Fixed a bug with values set while the editor was initializing.
|
259 |
|
260 | ## [2.2.1] - 2018-04-03
|
261 | ### Fixed
|
262 | - No change, pushed to fix missing readme on npm.
|
263 |
|
264 | ## [2.2.0] - 2018-02-19
|
265 | ### Added
|
266 | - Added functionality so you can use the editor as a controlled component by setting the `value` property and using the `onEditorChange` event.
|
267 |
|
268 | ## [2.1.4] - 2018-02-16
|
269 | ### Fixed
|
270 | - Fixed bug where is wasn't possible to set inline in the init object, only on the shorthand.
|
271 |
|
272 | ## [2.1.3] - 2018-01-17
|
273 | ### Added
|
274 | - Added `plugins` and `toolbar` shorthands.
|
275 |
|
276 | ## [2.1.2] - 2018-01-08
|
277 | ### Changed
|
278 | - Use `target` on element instead of `selector` in init config.
|
279 |
|
280 | ## [2.1.1] - 2018-01-03
|
281 | ### Added
|
282 | - Fix so init setup callback gets called like it should.
|
283 |
|
284 | ## [2.1.0] - 2017-12-18
|
285 | ### Added
|
286 | - Added auto-loading of TinyMCE from TinyMCE Cloud
|
287 |
|
288 | ## [2.0.3] - 2017-11-22
|
289 | ### Fixed
|
290 | - Added check for `initialValue` prop to prevent javascript error that was shown when `tinymce.setContent` was called with undefined.
|
291 |
|
292 | ## [2.0.2] - 2017-11-22
|
293 | ### Fixed
|
294 | - Accidentally published 2.0.1 without building first, published this version to fix that and added prepare hook to prevent the same thing from happening again.
|
295 |
|
296 | ## [2.0.1] - 2017-11-21
|
297 | ### Added
|
298 | - Added description to package.json and improved readme wording.
|
299 |
|
300 | ## [2.0.0] - 2017-11-08
|
301 | ### Added
|
302 | - Add support for `tagName` prop when using editor inline to define what element you want to initialize the editor on.
|
303 | ### Changed
|
304 | - *BREAKING!* Switched `value` prop to `initialValue` to make it clearer what it actually does.
|
305 | ### Fixed
|
306 | - Only bind whitelisted events.
|
307 |
|
308 | ## [1.0.0] - 2017-11-07
|
309 | ### Added
|
310 | - Initial Release.
|