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