Subversion Repositories oidplus

Rev

Rev 1042 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
597 daniel-mar 1
# Changelog
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
 
1422 daniel-mar 9
## 5.10.8 - 2023-10-19
10
 
11
### Fixed
12
- Specific HTML content caused mXSS when using undo/redo. #TINY-10215
13
- Specific HTML content caused mXSS when using the `getContent` and `setContent` APIs with the `format: 'raw'` option, which also affected the `resetContent` API and the draft restoration feature of the Autosave plugin. #TINY-10236
14
- Notification messages containing HTML were not properly XSS sanitized before being displayed. #TINY-10286
15
 
1042 daniel-mar 16
## 5.10.7 - 2022-12-06
17
 
18
### Fixed
19
- HTML in messages for the `WindowManager.alert` and `WindowManager.confirm` APIs were not properly sanitized. #TINY-3548
20
 
1021 daniel-mar 21
## 5.10.6 - 2022-10-19
22
 
23
### Fixed
24
- The `name` and `id` attributes of some elements were incorrectly removed during serialization #TINY-8773
25
- Notifications would not properly reposition when toggling fullscreen mode #TINY-8701
26
- Toggling fullscreen mode with the `fullscreen` plugin now also fires the `ResizeEditor` event #TINY-8701
27
- The URL detection used for `autolink` and smart paste didn't work if a path segment contained valid characters such as `!` and `:` #TINY-8069
28
 
846 daniel-mar 29
## 5.10.5 - 2022-05-25
30
 
31
### Fixed
32
- Base64 data URIs were not extracted correctly during parsing when proceeded by `data:` text #TINY-8646
33
- Empty lines that were formatted in a ranged selection using the `format_empty_lines` option were not kept in the serialized content #TINY-8639
34
- The `s` element was missing from the default schema text inline elements #TINY-8639
35
- Some text inline elements specified via the schema were not removed when empty by default #TINY-8639
36
 
37
## 5.10.4 - 2022-04-27
38
 
39
### Fixed
40
- Inline toolbars flickered when switching between editors #TINY-8594
41
- Multiple inline toolbars were shown if focused too quickly #TINY-8503
42
 
759 daniel-mar 43
## 5.10.3 - 2022-02-09
44
 
45
### Fixed
46
- Alignment would sometimes be removed on parent elements when changing alignment on certain inline nodes, such as images #TINY-8308
47
- The `fullscreen` plugin would reset the scroll position when exiting fullscreen mode #TINY-8418
48
 
679 daniel-mar 49
## 5.10.2 - 2021-11-17
50
 
51
### Fixed
52
- Internal selectors were appearing in the style list when using the `importcss` plugin #TINY-8238
53
 
54
## 5.10.1 - 2021-11-03
55
 
56
### Fixed
57
- The iframe aria help text was not read by some screen readers #TINY-8171
58
- Clicking the `forecolor` or `backcolor` toolbar buttons would do nothing until selecting a color #TINY-7836
59
- Crop functionality did not work in the `imagetools` plugin when the editor was rendered in a shadow root #TINY-6387
60
- Fixed an exception thrown on Safari when closing the `searchreplace` plugin dialog #TINY-8166
61
- The `autolink` plugin did not convert URLs to links when starting with a bracket #TINY-8091
62
- The `autolink` plugin incorrectly created nested links in some cases #TINY-8091
63
- Tables could have an incorrect height set on rows when rendered outside of the editor #TINY-7699
64
- In certain circumstances, the table of contents plugin would incorrectly add an extra empty list item #TINY-4636
65
- The insert table grid menu displayed an incorrect size when re-opening the grid #TINY-6532
66
- The word count plugin was treating the zero width space character (`​`) as a word #TINY-7484
67
 
68
## 5.10.0 - 2021-10-11
69
 
70
### Added
71
- Added a new `URI.isDomSafe(uri)` API to check if a URI is considered safe to be inserted into the DOM #TINY-7998
72
- Added the `ESC` key code constant to the `VK` API #TINY-7917
73
- Added a new `deprecation_warnings` setting for turning off deprecation console warning messages #TINY-8049
74
 
75
### Improved
76
- The `element` argument of the `editor.selection.scrollIntoView()` API is now optional, and if it is not provided the current selection will be scrolled into view #TINY-7291
77
 
78
### Changed
79
- The deprecated `scope` attribute is no longer added to `td` cells when converting a row to a header row #TINY-7731
80
- The number of `col` elements is normalized to match the number of columns in a table after a table action #TINY-8011
81
 
82
### Fixed
83
- Fixed a regression that caused block wrapper formats to apply and remove incorrectly when using a collapsed selection with multiple words #TINY-8036
84
- Resizing table columns in some scenarios would resize the column to an incorrect position #TINY-7731
85
- Inserting a table where the parent element had padding would cause the table width to be incorrect #TINY-7991
86
- The resize backdrop element did not have the `data-mce-bogus="all"` attribute set to prevent it being included in output #TINY-7854
87
- Resize handles appeared on top of dialogs and menus when using an inline editor #TINY-3263
88
- Fixed the `autoresize` plugin incorrectly scrolling to the top of the editor content in some cases when changing content #TINY-7291
89
- Fixed the `editor.selection.scrollIntoView()` type signature, as it incorrectly required an `Element` instead of `HTMLElement` #TINY-7291
90
- Table cells that were both row and column headers did not retain the correct state when converting back to a regular row or column #TINY-7709
91
- Clicking beside a non-editable element could cause the editor to incorrectly scroll to the top of the content #TINY-7062
92
- Clicking in a table cell, with a non-editable element in an adjacent cell, incorrectly caused the non-editable element to be selected #TINY-7736
93
- Split toolbar buttons incorrectly had nested `tabindex="-1"` attributes #TINY-7879
94
- Fixed notifications rendering in the wrong place initially and when the page was scrolled #TINY-7894
95
- Fixed an exception getting thrown when the number of `col` elements didn't match the number of columns in a table #TINY-7041 #TINY-8011
96
- The table selection state could become incorrect after selecting a noneditable table cell #TINY-8053
97
- As of Mozilla Firefox 91, toggling fullscreen mode with `toolbar_sticky` enabled would cause the toolbar to disappear #TINY-7873
98
- Fixed URLs not cleaned correctly in some cases in the `link` and `image` plugins #TINY-7998
99
- Fixed the `image` and `media` toolbar buttons incorrectly appearing to be in an inactive state in some cases #TINY-3463
100
- Fixed the `editor.selection.selectorChanged` API not firing if the selector matched the current selection when registered in some cases #TINY-3463
101
- Inserting content into a `contenteditable="true"` element that was contained within a `contenteditable="false"` element would move the selection to an incorrect location #TINY-7842
102
- Dragging and dropping `contenteditable="false"` elements could result in the element being placed in an unexpected location #TINY-7917
103
- Pressing the Escape key would not cancel a drag action that started on a `contenteditable="false"` element within the editor #TINY-7917
104
- `video` and `audio` elements were unable to be played when the `media` plugin live embeds were enabled in some cases #TINY-7674
105
- Pasting images would throw an exception if the clipboard `items` were not files (for example, screenshots taken from gnome-software). Patch contributed by cedric-anne #TINY-8079
106
 
107
### Deprecated
108
- Several APIs have been deprecated. See the release notes section for information #TINY-8023 #TINY-8063
109
- Several Editor settings have been deprecated. See the release notes section for information #TINY-8086
110
- The Table of Contents and Image Tools plugins will be classified as Premium plugins in the next major release #TINY-8087
111
- Word support in the `paste` plugin has been deprecated and will be removed in the next major release #TINY-8087
112
 
637 daniel-mar 113
## 5.9.2 - 2021-09-08
114
 
115
### Fixed
116
- Fixed an exception getting thrown when disabling events and setting content #TINY-7956
679 daniel-mar 117
- Delete operations could behave incorrectly if the selection crossed a table boundary #TINY-7596
637 daniel-mar 118
 
119
## 5.9.1 - 2021-08-27
120
 
121
### Fixed
122
- Published TinyMCE types failed to compile in strict mode #TINY-7915
123
- The `TableModified` event sometimes didn't fire when performing certain table actions #TINY-7916
124
 
125
## 5.9.0 - 2021-08-26
126
 
127
### Added
128
- Added a new `mceFocus` command that focuses the editor. Equivalent to using `editor.focus()` #TINY-7373
129
- Added a new `mceTableToggleClass` command which toggles the provided class on the currently selected table #TINY-7476
130
- Added a new `mceTableCellToggleClass` command which toggles the provided class on the currently selected table cells #TINY-7476
131
- Added a new `tablecellvalign` toolbar button and menu item for vertical table cell alignment #TINY-7477
132
- Added a new `tablecellborderwidth` toolbar button and menu item to change table cell border width #TINY-7478
133
- Added a new `tablecellborderstyle` toolbar button and menu item to change table cell border style #TINY-7478
134
- Added a new `tablecaption` toolbar button and menu item to toggle captions on tables #TINY-7479
135
- Added a new `mceTableToggleCaption` command that toggles captions on a selected table #TINY-7479
136
- Added a new `tablerowheader` toolbar button and menu item to toggle the header state of row cells #TINY-7478
137
- Added a new `tablecolheader` toolbar button and menu item to toggle the header state of column cells #TINY-7482
138
- Added a new `tablecellbordercolor` toolbar button and menu item to select table cell border colors, with an accompanying setting `table_border_color_map` to customize the available values #TINY-7480
139
- Added a new `tablecellbackgroundcolor` toolbar button and menu item to select table cell background colors, with an accompanying setting `table_background_color_map` to customize the available values #TINY-7480
140
- Added a new `language` menu item and toolbar button to add `lang` attributes to content, with an accompanying `content_langs` setting to specify the languages available #TINY-6149
141
- A new `lang` format is now available that can be used with `editor.formatter`, or applied with the `Lang` editor command #TINY-6149
142
- Added a new `language` icon for the `language` toolbar button #TINY-7670
143
- Added a new `table-row-numbering` icon #TINY-7327
144
- Added new plugin commands: `mceEmoticons` (Emoticons), `mceWordCount` (Word Count), and `mceTemplate` (Template) #TINY-7619
145
- Added a new `iframe_aria_text` setting to set the iframe title attribute #TINY-1264
146
- Added a new DomParser `Node.children()` API to return all the children of a `Node` #TINY-7756
147
 
148
### Improved
149
- Sticky toolbars can now be offset from the top of the page using the new `toolbar_sticky_offset` setting #TINY-7337
150
- Fancy menu items now accept an `initData` property to allow custom initialization data #TINY-7480
151
- Improved the load time of the `fullpage` plugin by using the existing editor schema rather than creating a new one #TINY-6504
152
- Improved the performance when UI components are rendered #TINY-7572
153
- The context toolbar no longer unnecessarily repositions to the top of large elements when scrolling #TINY-7545
154
- The context toolbar will now move out of the way when it overlaps with the selection, such as in table cells #TINY-7192
155
- The context toolbar now uses a short animation when transitioning between different locations #TINY-7740
156
- `Env.browser` now uses the User-Agent Client Hints API where it is available #TINY-7785
157
- Icons with a `-rtl` suffix in their name will now automatically be used when the UI is rendered in right-to-left mode #TINY-7782
158
- The `formatter.match` API now accepts an optional `similar` parameter to check if the format partially matches #TINY-7712
159
- The `formatter.formatChanged` API now supports providing format variables when listening for changes #TINY-7713
160
- The formatter will now fire `FormatApply` and `FormatRemove` events for the relevant actions #TINY-7713
161
- The `autolink` plugin link detection now permits custom protocols #TINY-7714
162
- The `autolink` plugin valid link detection has been improved #TINY-7714
163
 
164
### Changed
165
- Changed the load order so content CSS is loaded before the editor is populated with content #TINY-7249
166
- Changed the `emoticons`, `wordcount`, `code`, `codesample`, and `template` plugins to open dialogs using commands #TINY-7619
167
- The context toolbar will no longer show an arrow when it overlaps the content, such as in table cells #TINY-7665
168
- The context toolbar will no longer overlap the statusbar for toolbars using `node` or `selection` positions #TINY-7666
169
 
170
### Fixed
171
- The `editor.fire` API was incorrectly mutating the original `args` provided #TINY-3254
172
- Unbinding an event handler did not take effect immediately while the event was firing #TINY-7436
173
- Binding an event handler incorrectly took effect immediately while the event was firing #TINY-7436
174
- Unbinding a native event handler inside the `remove` event caused an exception that blocked editor removal #TINY-7730
175
- The `SetContent` event contained the incorrect `content` when using the `editor.selection.setContent()` API #TINY-3254
176
- The editor content could be edited after calling `setProgressState(true)` in iframe mode #TINY-7373
177
- Tabbing out of the editor after calling `setProgressState(true)` behaved inconsistently in iframe mode #TINY-7373
178
- Flash of unstyled content while loading the editor because the content CSS was loaded after the editor content was rendered #TINY-7249
179
- Partially transparent RGBA values provided in the `color_map` setting were given the wrong hex value #TINY-7163
180
- HTML comments with mismatched quotes were parsed incorrectly under certain circumstances #TINY-7589
181
- The editor could crash when inserting certain HTML content #TINY-7756
182
- Inserting certain HTML content into the editor could result in invalid HTML once parsed #TINY-7756
183
- Links in notification text did not show the correct mouse pointer #TINY-7661
184
- Using the Tab key to navigate into the editor on Microsoft Internet Explorer 11 would incorrectly focus the toolbar #TINY-3707
185
- The editor selection could be placed in an incorrect location when undoing or redoing changes in a document containing `contenteditable="false"` elements #TINY-7663
186
- Menus and context menus were not closed when clicking into a different editor #TINY-7399
187
- Context menus on Android were not displayed when more than one HTML element was selected #TINY-7688
188
- Disabled nested menu items could still be opened #TINY-7700
189
- The nested menu item chevron icon was not fading when the menu item was disabled #TINY-7700
190
- `imagetools` buttons were incorrectly enabled for remote images without `imagetools_proxy` set #TINY-7772
191
- Only table content would be deleted when partially selecting a table and content outside the table #TINY-6044
192
- The table cell selection handling was incorrect in some cases when dealing with nested tables #TINY-6298
193
- Removing a table row or column could result in the cursor getting placed in an invalid location #TINY-7695
194
- Pressing the Tab key to navigate through table cells did not skip noneditable cells #TINY-7705
195
- Clicking on a noneditable table cell did not show a visual selection like other noneditable elements #TINY-7724
196
- Some table operations would incorrectly cause table row attributes and styles to be lost #TINY-6666
197
- The selection was incorrectly lost when using the `mceTableCellType` and `mceTableRowType` commands #TINY-6666
198
- The `mceTableRowType` was reversing the order of the rows when converting multiple header rows back to body rows #TINY-6666
199
- The table dialog did not always respect the `table_style_with_css` option #TINY-4926
200
- Pasting into a table with multiple cells selected could cause the content to be pasted in the wrong location #TINY-7485
201
- The `TableModified` event was not fired when pasting cells into a table #TINY-6939
202
- The table paste column before and after icons were not flipped in RTL mode #TINY-7851
203
- Fixed table corruption when deleting a `contenteditable="false"` cell #TINY-7891
204
- The `dir` attribute was being incorrectly applied to list items #TINY-4589
205
- Applying selector formats would sometimes not apply the format correctly to elements in a list #TINY-7393
206
- For formats that specify an attribute or style that should be removed, the formatter `match` API incorrectly returned `false` #TINY-6149
207
- The type signature on the `formatter.matchNode` API had the wrong return type (was `boolean` but should have been `Formatter | undefined`) #TINY-6149
208
- The `formatter.formatChanged` API would ignore the `similar` parameter if another callback had already been registered for the same format #TINY-7713
209
- The `formatter.formatChanged` API would sometimes not run the callback the first time the format was removed #TINY-7713
210
- Base64 encoded images with spaces or line breaks in the data URI were not displayed correctly. Patch contributed by RoboBurned
211
 
212
### Deprecated
213
- The `bbcode`, `fullpage`, `legacyoutput`, and `spellchecker` plugins have been deprecated and marked for removal in the next major release #TINY-7260
214
 
215
## 5.8.2 - 2021-06-23
216
 
217
### Fixed
218
- Fixed an issue when pasting cells from tables containing `colgroup`s into tables without `colgroup`s #TINY-6675
219
- Fixed an issue that could cause an invalid toolbar button state when multiple inline editors were on a single page #TINY-6297
220
 
597 daniel-mar 221
## 5.8.1 - 2021-05-20
222
 
223
### Fixed
224
- An unexpected exception was thrown when switching to readonly mode and adjusting the editor width #TINY-6383
225
- Content could be lost when the `pagebreak_split_block` setting was enabled #TINY-3388
226
- The `list-style-type: none;` style on nested list items was incorrectly removed when clearing formatting #TINY-6264
227
- URLs were not always detected when pasting over a selection. Patch contributed by jwcooper #TINY-6997
228
- Properties on the `OpenNotification` event were incorrectly namespaced #TINY-7486
229
 
230
## 5.8.0 - 2021-05-06
231
 
232
### Added
233
- Added the `PAGE_UP` and `PAGE_DOWN` key code constants to the `VK` API #TINY-4612
234
- The editor resize handle can now be controlled using the keyboard #TINY-4823
235
- Added a new `fixed_toolbar_container_target` setting which renders the toolbar in the specified `HTMLElement`. Patch contributed by pvrobays
236
 
237
### Improved
238
- The `inline_boundaries` feature now supports the `home`, `end`, `pageup`, and `pagedown` keys #TINY-4612
239
- Updated the `formatter.matchFormat` API to support matching formats with variables in the `classes` property #TINY-7227
240
- Added HTML5 `audio` and `video` elements to the default alignment formats #TINY-6633
241
- Added support for alpha list numbering to the list properties dialog #TINY-6891
242
 
243
### Changed
244
- Updated the `image` dialog to display the class list dropdown as full-width if the caption checkbox is not present #TINY-6400
245
- Renamed the "H Align" and "V Align" input labels in the Table Cell Properties dialog to "Horizontal align" and "Vertical align" respectively #TINY-7285
246
 
247
### Deprecated
248
- The undocumented `setIconStroke` Split Toolbar Button API has been deprecated and will be removed in a future release #TINY-3551
249
 
250
### Fixed
251
- Fixed a bug where it wasn't possible to align nested list items #TINY-6567
252
- The RGB fields in the color picker dialog were not staying in sync with the color palette and hue slider #TINY-6952
253
- The color preview box in the color picker dialog was not correctly displaying the saturation and value of the chosen color #TINY-6952
254
- The color picker dialog will now show an alert if it is submitted with an invalid hex color code #TINY-2814
255
- Fixed a bug where the `TableModified` event was not fired when adding a table row with the Tab key #TINY-7006
256
- Added missing `images_file_types` setting to the exported TypeScript types #GH-6607
257
- Fixed a bug where lists pasted from Word with Roman numeral markers were not displayed correctly. Patch contributed by aautio #GH-6620
258
- The `editor.insertContent` API was incorrectly handling nested `span` elements with matching styles #TINY-6263
259
- The HTML5 `small` element could not be removed when clearing text formatting #TINY-6633
260
- The Oxide button text transform variable was incorrectly using `capitalize` instead of `none`. Patch contributed by dakur #GH-6341
261
- Fix dialog button text that was using title-style capitalization #TINY-6816
262
- Table plugin could perform operations on tables containing the inline editor #TINY-6625
263
- Fixed Tab key navigation inside table cells with a ranged selection #TINY-6638
264
- The foreground and background toolbar button color indicator is no longer blurry #TINY-3551
265
- Fixed a regression in the `tinymce.create()` API that caused issues when multiple objects were created #TINY-7358
266
- Fixed the `LineHeight` command causing the `change` event to be fired inconsistently #TINY-7048
267
 
268
## 5.7.1 - 2021-03-17
269
 
270
### Fixed
271
- Fixed the `help` dialog incorrectly linking to the changelog of TinyMCE 4 instead of TinyMCE 5 #TINY-7031
272
- Fixed a bug where error messages were displayed incorrectly in the image dialog #TINY-7099
273
- Fixed an issue where URLs were not correctly filtered in some cases #TINY-7025
274
- Fixed a bug where context menu items with names that contained uppercase characters were not displayed #TINY-7072
275
- Fixed context menu items lacking support for the `disabled` and `shortcut` properties #TINY-7073
276
- Fixed a regression where the width and height were incorrectly set when embedding content using the `media` dialog #TINY-7074
277
 
278
## 5.7.0 - 2021-02-10
279
 
280
### Added
281
- Added IPv6 address support to the URI API. Patch contributed by dev7355608 #GH-4409
282
- Added new `structure` and `style` properties to the `TableModified` event to indicate what kinds of modifications were made #TINY-6643
283
- Added `video` and `audio` live embed support for the `media` plugin #TINY-6229
284
- Added the ability to resize `video` and `iframe` media elements #TINY-6229
285
- Added a new `font_css` setting for adding fonts to both the editor and the parent document #TINY-6199
286
- Added a new `ImageUploader` API to simplify uploading image data to the configured `images_upload_url` or `images_upload_handler` #TINY-4601
287
- Added an Oxide variable to define the container background color in fullscreen mode #TINY-6903
288
- Added Oxide variables for setting the toolbar background colors for inline and sticky toolbars #TINY-6009
289
- Added a new `AfterProgressState` event that is fired after `editor.setProgressState` calls complete #TINY-6686
290
- Added support for `table_column_resizing` when inserting or deleting columns #TINY-6711
291
 
292
### Changed
293
- Changed table and table column copy behavior to retain an appropriate width when pasted #TINY-6664
294
- Changed the `lists` plugin to apply list styles to all text blocks within a selection #TINY-3755
295
- Changed the `advlist` plugin to log a console error message when the `list` plugin isn't enabled #TINY-6585
296
- Changed the z-index of the `setProgressState(true)` throbber so it does not hide notifications #TINY-6686
297
- Changed the type signature for `editor.selection.getRng()` incorrectly returning `null` #TINY-6843
298
- Changed some `SaxParser` regular expressions to improve performance #TINY-6823
299
- Changed `editor.setProgressState(true)` to close any open popups #TINY-6686
300
 
301
### Fixed
302
- Fixed `codesample` highlighting performance issues for some languages #TINY-6996
303
- Fixed an issue where cell widths were lost when merging table cells #TINY-6901
304
- Fixed `col` elements incorrectly transformed to `th` elements when converting columns to header columns #TINY-6715
305
- Fixed a number of table operations not working when selecting 2 table cells on Mozilla Firefox #TINY-3897
306
- Fixed a memory leak by backporting an upstream Sizzle fix #TINY-6859
307
- Fixed table `width` style was removed when copying #TINY-6664
308
- Fixed focus lost while typing in the `charmap` or `emoticons` dialogs when the editor is rendered in a shadow root #TINY-6904
309
- Fixed corruption of base64 URLs used in style attributes when parsing HTML #TINY-6828
310
- Fixed the order of CSS precedence of `content_style` and `content_css` in the `preview` and `template` plugins. `content_style` now has precedence #TINY-6529
311
- Fixed an issue where the image dialog tried to calculate image dimensions for an empty image URL #TINY-6611
312
- Fixed an issue where `scope` attributes on table cells would not change as expected when merging or unmerging cells #TINY-6486
313
- Fixed the plugin documentation links in the `help` plugin #DOC-703
314
- Fixed events bound using `DOMUtils` not returning the correct result for `isDefaultPrevented` in some cases #TINY-6834
315
- Fixed the "Dropped file type is not supported" notification incorrectly showing when using an inline editor #TINY-6834
316
- Fixed an issue with external styles bleeding into TinyMCE #TINY-6735
317
- Fixed an issue where parsing malformed comments could cause an infinite loop #TINY-6864
318
- Fixed incorrect return types on `editor.selection.moveToBookmark` #TINY-6504
319
- Fixed the type signature for `editor.selection.setCursorLocation()` incorrectly allowing a node with no `offset` #TINY-6843
320
- Fixed incorrect behavior when editor is destroyed while loading stylesheets #INT-2282
321
- Fixed figure elements incorrectly splitting from a valid parent element when editing the image within #TINY-6592
322
- Fixed inserting multiple rows or columns in a table cloning from the incorrect source row or column #TINY-6906
323
- Fixed an issue where new lines were not scrolled into view when pressing Shift+Enter or Shift+Return #TINY-6964
324
- Fixed an issue where list elements would not be removed when outdenting using the Enter or Return key #TINY-5974
325
- Fixed an issue where file extensions with uppercase characters were treated as invalid #TINY-6940
326
- Fixed dialog block messages were not passed through TinyMCE's translation system #TINY-6971
327
 
328
## 5.6.2 - 2020-12-08
329
 
330
### Fixed
331
- Fixed a UI rendering regression when the document body is using `display: flex` #TINY-6783
332
 
333
## 5.6.1 - 2020-11-25
334
 
335
### Fixed
336
- Fixed the `mceTableRowType` and `mceTableCellType` commands were not firing the `newCell` event #TINY-6692
337
- Fixed the HTML5 `s` element was not recognized when editing or clearing text formatting #TINY-6681
338
- Fixed an issue where copying and pasting table columns resulted in invalid HTML when using colgroups #TINY-6684
339
- Fixed an issue where the toolbar would render with the wrong width for inline editors in some situations #TINY-6683
340
 
341
## 5.6.0 - 2020-11-18
342
 
343
### Added
344
- Added new `BeforeOpenNotification` and `OpenNotification` events which allow internal notifications to be captured and modified before display #TINY-6528
345
- Added support for `block` and `unblock` methods on inline dialogs #TINY-6487
346
- Added new `TableModified` event which is fired whenever changes are made to a table #TINY-6629
347
- Added new `images_file_types` setting to determine which image file formats will be automatically processed into `img` tags on paste when using the `paste` plugin #TINY-6306
348
- Added support for `images_file_types` setting in the image file uploader to determine which image file extensions are valid for upload #TINY-6224
349
- Added new `format_empty_lines` setting to control if empty lines are formatted in a ranged selection #TINY-6483
350
- Added template support to the `autocompleter` for customizing the autocompleter items #TINY-6505
351
- Added new user interface `enable`, `disable`, and `isDisabled` methods #TINY-6397
352
- Added new `closest` formatter API to get the closest matching selection format from a set of formats #TINY-6479
353
- Added new `emojiimages` emoticons database that uses the twemoji CDN by default #TINY-6021
354
- Added new `emoticons_database` setting to configure which emoji database to use #TINY-6021
355
- Added new `name` field to the `style_formats` setting object to enable specifying a name for the format #TINY-4239
356
 
357
### Changed
358
- Changed `readonly` mode to allow hyperlinks to be clickable #TINY-6248
359
 
360
### Fixed
361
- Fixed the `change` event not firing after a successful image upload #TINY-6586
362
- Fixed the type signature for the `entity_encoding` setting not accepting delimited lists #TINY-6648
363
- Fixed layout issues when empty `tr` elements were incorrectly removed from tables #TINY-4679
364
- Fixed image file extensions lost when uploading an image with an alternative extension, such as `.jfif` #TINY-6622
365
- Fixed a security issue where URLs in attributes weren't correctly sanitized #TINY-6518
366
- Fixed `DOMUtils.getParents` incorrectly including the shadow root in the array of elements returned #TINY-6540
367
- Fixed an issue where the root document could be scrolled while an editor dialog was open inside a shadow root #TINY-6363
368
- Fixed `getContent` with text format returning a new line when the editor is empty #TINY-6281
369
- Fixed table column and row resizers not respecting the `data-mce-resize` attribute #TINY-6600
370
- Fixed inserting a table via the `mceInsertTable` command incorrectly creating 2 undo levels #TINY-6656
371
- Fixed nested tables with `colgroup` elements incorrectly always resizing the inner table #TINY-6623
372
- Fixed the `visualchars` plugin causing the editor to steal focus when initialized #TINY-6282
373
- Fixed `fullpage` plugin altering text content in `editor.getContent()` #TINY-6541
374
- Fixed `fullscreen` plugin not working correctly with multiple editors and shadow DOM #TINY-6280
375
- Fixed font size keywords such as `medium` not displaying correctly in font size menus #TINY-6291
376
- Fixed an issue where some attributes in table cells were not copied over to new rows or columns #TINY-6485
377
- Fixed incorrectly removing formatting on adjacent spaces when removing formatting on a ranged selection #TINY-6268
378
- Fixed the `Cut` menu item not working in the latest version of Mozilla Firefox #TINY-6615
379
- Fixed some incorrect types in the new TypeScript declaration file #TINY-6413
380
- Fixed a regression where a fake offscreen selection element was incorrectly created for the editor root node #TINY-6555
381
- Fixed an issue where menus would incorrectly collapse in small containers #TINY-3321
382
- Fixed an issue where only one table column at a time could be converted to a header #TINY-6326
383
- Fixed some minor memory leaks that prevented garbage collection for editor instances #TINY-6570
384
- Fixed resizing a `responsive` table not working when using the column resize handles #TINY-6601
385
- Fixed incorrectly calculating table `col` widths when resizing responsive tables #TINY-6646
386
- Fixed an issue where spaces were not preserved in pre-blocks when getting text content #TINY-6448
387
- Fixed a regression that caused the selection to be difficult to see in tables with backgrounds #TINY-6495
388
- Fixed content pasted multiple times in the editor when using Microsoft Internet Explorer 11. Patch contributed by mattford #GH-4905
389
 
390
## 5.5.1 - 2020-10-01
391
 
392
### Fixed
393
- Fixed pressing the down key near the end of a document incorrectly raising an exception #TINY-6471
394
- Fixed incorrect Typescript types for the `Tools` API #TINY-6475
395
 
396
## 5.5.0 - 2020-09-29
397
 
398
### Added
399
- Added a TypeScript declaration file to the bundle output for TinyMCE core #TINY-3785
400
- Added new `table_column_resizing` setting to control how table columns are resized when using the resize bars #TINY-6001
401
- Added the ability to remove images on a failed upload using the `images_upload_handler` failure callback #TINY-6011
402
- Added `hasPlugin` function to the editor API to determine if a plugin exists or not #TINY-766
403
- Added new `ToggleToolbarDrawer` command and query state handler to allow the toolbar drawer to be programmatically toggled and the toggle state to be checked #TINY-6032
404
- Added the ability to use `colgroup` elements in tables #TINY-6050
405
- Added a new setting `table_use_colgroups` for toggling whether colgroups are used in new tables #TINY-6050
406
- Added the ability to delete and navigate HTML media elements without the `media` plugin #TINY-4211
407
- Added `fullscreen_native` setting to the `fullscreen` plugin to enable use of the entire monitor #TINY-6284
408
- Added table related oxide variables to the Style API for more granular control over table cell selection appearance #TINY-6311
409
- Added new `toolbar_persist` setting to control the visibility of the inline toolbar #TINY-4847
410
- Added new APIs to allow for programmatic control of the inline toolbar visibility #TINY-4847
411
- Added the `origin` property to the `ObjectResized` and `ObjectResizeStart` events, to specify which handle the resize was performed on #TINY-6242
412
- Added new StyleSheetLoader `unload` and `unloadAll` APIs to allow loaded stylesheets to be removed #TINY-3926
413
- Added the `LineHeight` query command and action to the editor #TINY-4843
414
- Added the `lineheight` toolbar and menu items, and added `lineheight` to the default format menu #TINY-4843
415
- Added a new `contextmenu_avoid_overlap` setting to allow context menus to avoid overlapping matched nodes #TINY-6036
416
- Added new listbox dialog UI component for rendering a dropdown that allows nested options #TINY-2236
417
- Added back the ability to use nested items in the `image_class_list`, `link_class_list`, `link_list`, `table_class_list`, `table_cell_class_list`, and `table_row_class_list` settings #TINY-2236
418
 
419
### Changed
420
- Changed how CSS manipulates table cells when selecting multiple cells to achieve a semi-transparent selection #TINY-6311
421
- Changed the `target` property on fired events to use the native event target. The original target for an open shadow root can be obtained using `event.getComposedPath()` #TINY-6128
422
- Changed the editor to clean-up loaded CSS stylesheets when all editors using the stylesheet have been removed #TINY-3926
423
- Changed `imagetools` context menu icon for accessing the `image` dialog to use the `image` icon #TINY-4141
424
- Changed the `editor.insertContent()` and `editor.selection.setContent()` APIs to retain leading and trailing whitespace #TINY-5966
425
- Changed the `table` plugin `Column` menu to include the cut, copy and paste column menu items #TINY-6374
426
- Changed the default table styles in the content CSS files to better support the styling options available in the `table` dialog #TINY-6179
427
 
428
### Deprecated
429
- Deprecated the `Env.experimentalShadowDom` flag #TINY-6128
430
 
431
### Fixed
432
- Fixed tables with no borders displaying with the default border styles in the `preview` dialog #TINY-6179
433
- Fixed loss of whitespace when inserting content after a non-breaking space #TINY-5966
434
- Fixed the `event.getComposedPath()` function throwing an exception for events fired from the editor #TINY-6128
435
- Fixed notifications not appearing when the editor is within a ShadowRoot #TINY-6354
436
- Fixed focus issues with inline dialogs when the editor is within a ShadowRoot #TINY-6360
437
- Fixed the `template` plugin previews missing some content styles #TINY-6115
438
- Fixed the `media` plugin not saving the alternative source url in some situations #TINY-4113
439
- Fixed an issue where column resizing using the resize bars was inconsistent between fixed and relative table widths #TINY-6001
440
- Fixed an issue where dragging and dropping within a table would select table cells #TINY-5950
441
- Fixed up and down keyboard navigation not working for inline `contenteditable="false"` elements #TINY-6226
442
- Fixed dialog not retrieving `close` icon from icon pack #TINY-6445
443
- Fixed the `unlink` toolbar button not working when selecting multiple links #TINY-4867
444
- Fixed the `link` dialog not showing the "Text to display" field in some valid cases #TINY-5205
445
- Fixed the `DOMUtils.split()` API incorrectly removing some content #TINY-6294
446
- Fixed pressing the escape key not focusing the editor when using multiple toolbars #TINY-6230
447
- Fixed the `dirty` flag not being correctly set during an `AddUndo` event #TINY-4707
448
- Fixed `editor.selection.setCursorLocation` incorrectly placing the cursor outside `pre` elements in some circumstances #TINY-4058
449
- Fixed an exception being thrown when pressing the enter key inside pre elements while `br_in_pre` setting is false #TINY-4058
450
 
451
## 5.4.2 - 2020-08-17
452
 
453
### Fixed
454
- Fixed the editor not resizing when resizing the browser window in fullscreen mode #TINY-3511
455
- Fixed clicking on notifications causing inline editors to hide #TINY-6058
456
- Fixed an issue where link URLs could not be deleted or edited in the link dialog in some cases #TINY-4706
457
- Fixed a regression where setting the `anchor_top` or `anchor_bottom` options to `false` was not working #TINY-6256
458
- Fixed the `anchor` plugin not supporting the `allow_html_in_named_anchor` option #TINY-6236
459
- Fixed an exception thrown when removing inline formats that contained additional styles or classes #TINY-6288
460
- Fixed an exception thrown when positioning the context toolbar on Internet Explorer 11 in some edge cases #TINY-6271
461
- Fixed inline formats not removed when more than one `removeformat` format rule existed #TINY-6216
462
- Fixed an issue where spaces were sometimes removed when removing formating on nearby text #TINY-6251
463
- Fixed the list toolbar buttons not showing as active when a list is selected #TINY-6286
464
- Fixed an issue where the UI would sometimes not be shown or hidden when calling the show or hide API methods on the editor #TINY-6048
465
- Fixed the list type style not retained when copying list items #TINY-6289
466
- Fixed the Paste plugin converting tabs in plain text to a single space character. A `paste_tab_spaces` option has been included for setting the number of spaces used to replace a tab character #TINY-6237
467
 
468
## 5.4.1 - 2020-07-08
469
 
470
### Fixed
471
- Fixed the Search and Replace plugin incorrectly including zero-width caret characters in search results #TINY-4599
472
- Fixed dragging and dropping unsupported files navigating the browser away from the editor #TINY-6027
473
- Fixed undo levels not created on browser handled drop or paste events #TINY-6027
474
- Fixed content in an iframe element parsing as DOM elements instead of text content #TINY-5943
475
- Fixed Oxide checklist styles not showing when printing #TINY-5139
476
- Fixed bug with `scope` attribute not being added to the cells of header rows #TINY-6206
477
 
478
## 5.4.0 - 2020-06-30
479
 
480
### Added
481
- Added keyboard navigation support to menus and toolbars when the editor is in a ShadowRoot #TINY-6152
482
- Added the ability for menus to be clicked when the editor is in an open shadow root #TINY-6091
483
- Added the `Editor.ui.styleSheetLoader` API for loading stylesheets within the Document or ShadowRoot containing the editor UI #TINY-6089
484
- Added the `StyleSheetLoader` module to the public API #TINY-6100
485
- Added Oxide variables for styling the `select` element and headings in dialog content #TINY-6070
486
- Added icons for `table` column and row cut, copy, and paste toolbar buttons #TINY-6062
487
- Added all `table` menu items to the UI registry, so they can be used by name in other menus #TINY-4866
488
- Added new `mceTableApplyCellStyle` command to the `table` plugin #TINY-6004
489
- Added new `table` cut, copy, and paste column editor commands and menu items #TINY-6006
490
- Added font related Oxide variables for secondary buttons, allowing for custom styling #TINY-6061
491
- Added new `table_header_type` setting to control how table header rows are structured #TINY-6007
492
- Added new `table_sizing_mode` setting to replace the `table_responsive_width` setting, which has now been deprecated #TINY-6051
493
- Added new `mceTableSizingMode` command for changing the sizing mode of a table #TINY-6000
494
- Added new `mceTableRowType`, `mceTableColType`, and `mceTableCellType` commands and value queries #TINY-6150
495
 
496
### Changed
497
- Changed `advlist` toolbar buttons to only show a dropdown list if there is more than one option #TINY-3194
498
- Changed `mceInsertTable` command and `insertTable` API method to take optional header rows and columns arguments #TINY-6012
499
- Changed stylesheet loading, so that UI skin stylesheets can load in a ShadowRoot if required #TINY-6089
500
- Changed the DOM location of menus so that they display correctly when the editor is in a ShadowRoot #TINY-6093
501
- Changed the table plugin to correctly detect all valid header row structures #TINY-6007
502
 
503
### Fixed
504
- Fixed tables with no defined width being converted to a `fixed` width table when modifying the table #TINY-6051
505
- Fixed the `autosave` `isEmpty` API incorrectly detecting non-empty content as empty #TINY-5953
506
- Fixed table `Paste row after` and `Paste row before` menu items not disabled when nothing was available to paste #TINY-6006
507
- Fixed a selection performance issue with large tables on Microsoft Internet Explorer and Edge #TINY-6057
508
- Fixed filters for screening commands from the undo stack to be case-insensitive #TINY-5946
509
- Fixed `fullscreen` plugin now removes all classes when the editor is closed #TINY-4048
510
- Fixed handling of mixed-case icon identifiers (names) for UI elements #TINY-3854
511
- Fixed leading and trailing spaces lost when using `editor.selection.getContent({ format: 'text' })` #TINY-5986
512
- Fixed an issue where changing the URL with the quicklink toolbar caused unexpected undo behavior #TINY-5952
513
- Fixed an issue where removing formatting within a table cell would cause Internet Explorer 11 to scroll to the end of the table #TINY-6049
514
- Fixed an issue where the `allow_html_data_urls` setting was not correctly applied #TINY-5951
515
- Fixed the `autolink` feature so that it no longer treats a string with multiple "@" characters as an email address #TINY-4773
516
- Fixed an issue where removing the editor would leave unexpected attributes on the target element #TINY-4001
517
- Fixed the `link` plugin now suggest `mailto:` when the text contains an '@' and no slashes (`/`) #TINY-5941
518
- Fixed the `valid_children` check of custom elements now allows a wider range of characters in names #TINY-5971
519
 
520
## 5.3.2 - 2020-06-10
521
 
522
### Fixed
523
- Fixed a regression introduced in 5.3.0, where `images_dataimg_filter` was no-longer called #TINY-6086
524
 
525
## 5.3.1 - 2020-05-27
526
 
527
### Fixed
528
- Fixed the image upload error alert also incorrectly closing the image dialog #TINY-6020
529
- Fixed editor content scrolling incorrectly on focus in Firefox by reverting default content CSS html and body heights added in 5.3.0 #TINY-6019
530
 
531
## 5.3.0 - 2020-05-21
532
 
533
### Added
534
- Added html and body height styles to the default oxide content CSS #TINY-5978
535
- Added `uploadUri` and `blobInfo` to the data returned by `editor.uploadImages()` #TINY-4579
536
- Added a new function to the `BlobCache` API to lookup a blob based on the base64 data and mime type #TINY-5988
537
- Added the ability to search and replace within a selection #TINY-4549
538
- Added the ability to set the list start position for ordered lists and added new `lists` context menu item #TINY-3915
539
- Added `icon` as an optional config option to the toggle menu item API #TINY-3345
540
- Added `auto` mode for `toolbar_location` which positions the toolbar and menu bar at the bottom if there is no space at the top #TINY-3161
541
 
542
### Changed
543
- Changed the default `toolbar_location` to `auto` #TINY-3161
544
- Changed toggle menu items and choice menu items to have a dedicated icon with the checkmark displayed on the far right side of the menu item #TINY-3345
545
- Changed the `link`, `image`, and `paste` plugins to use Promises to reduce the bundle size #TINY-4710
546
- Changed the default icons to be lazy loaded during initialization #TINY-4729
547
- Changed the parsing of content so base64 encoded urls are converted to blob urls #TINY-4727
548
- Changed context toolbars so they concatenate when more than one is suitable for the current selection #TINY-4495
549
- Changed inline style element formats (strong, b, em, i, u, strike) to convert to a span on format removal if a `style` or `class` attribute is present #TINY-4741
550
 
551
### Fixed
552
- Fixed the `selection.setContent()` API not running parser filters #TINY-4002
553
- Fixed formats incorrectly applied or removed when table cells were selected #TINY-4709
554
- Fixed the `quickimage` button not restricting the file types to images #TINY-4715
555
- Fixed search and replace ignoring text in nested contenteditable elements #TINY-5967
556
- Fixed resize handlers displaying in the wrong location sometimes for remote images #TINY-4732
557
- Fixed table picker breaking in Firefox on low zoom levels #TINY-4728
558
- Fixed issue with loading or pasting contents with large base64 encoded images on Safari #TINY-4715
559
- Fixed supplementary special characters being truncated when inserted into the editor. Patch contributed by mlitwin. #TINY-4791
560
- Fixed toolbar buttons not set to disabled when the editor is in readonly mode #TINY-4592
561
- Fixed the editor selection incorrectly changing when removing caret format containers #TINY-3438
562
- Fixed bug where title, width, and height would be set to empty string values when updating an image and removing those attributes using the image dialog #TINY-4786
563
- Fixed `ObjectResized` event firing when an object wasn't resized #TINY-4161
564
- Fixed `ObjectResized` and `ObjectResizeStart` events incorrectly fired when adding or removing table rows and columns #TINY-4829
565
- Fixed the placeholder not hiding when pasting content into the editor #TINY-4828
566
- Fixed an issue where the editor would fail to load if local storage was disabled #TINY-5935
567
- Fixed an issue where an uploaded image would reuse a cached image with a different mime type #TINY-5988
568
- Fixed bug where toolbars and dialogs would not show if the body element was replaced (e.g. with Turbolinks). Patch contributed by spohlenz #GH-5653
569
- Fixed an issue where multiple formats would be removed when removing a single format at the end of lines or on empty lines #TINY-1170
570
- Fixed zero-width spaces incorrectly included in the `wordcount` plugin character count #TINY-5991
571
- Fixed a regression introduced in 5.2.0 whereby the desktop `toolbar_mode` setting would incorrectly override the mobile default setting #TINY-5998
572
- Fixed an issue where deleting all content in a single cell table would delete the entire table #TINY-1044
573
 
574
## 5.2.2 - 2020-04-23
575
 
576
### Fixed
577
- Fixed an issue where anchors could not be inserted on empty lines #TINY-2788
578
- Fixed text decorations (underline, strikethrough) not consistently inheriting the text color #TINY-4757
579
- Fixed `format` menu alignment buttons inconsistently applying to images #TINY-4057
580
- Fixed the floating toolbar drawer height collapsing when the editor is rendered in modal dialogs or floating containers #TINY-4837
581
- Fixed `media` embed content not processing safely in some cases #TINY-4857
582
 
583
## 5.2.1 - 2020-03-25
584
 
585
### Fixed
586
- Fixed the "is decorative" checkbox in the image dialog clearing after certain dialog events #FOAM-11
587
- Fixed possible uncaught exception when a `style` attribute is removed using a content filter on `setContent` #TINY-4742
588
- Fixed the table selection not functioning correctly in Microsoft Edge 44 or higher #TINY-3862
589
- Fixed the table resize handles not functioning correctly in Microsoft Edge 44 or higher #TINY-4160
590
- Fixed the floating toolbar drawer disconnecting from the toolbar when adding content in inline mode #TINY-4725 #TINY-4765
591
- Fixed `readonly` mode not returning the appropriate boolean value #TINY-3948
592
- Fixed the `forced_root_block_attrs` setting not applying attributes to new blocks consistently #TINY-4564
593
- Fixed the editor incorrectly stealing focus during initialization in Microsoft Internet Explorer #TINY-4697
594
- Fixed dialogs stealing focus when opening an alert or confirm dialog using an `onAction` callback #TINY-4014
595
- Fixed inline dialogs incorrectly closing when clicking on an opened alert or confirm dialog #TINY-4012
596
- Fixed the context toolbar overlapping the menu bar and toolbar #TINY-4586
597
- Fixed notification and inline dialog positioning issues when using `toolbar_location: 'bottom'` #TINY-4586
598
- Fixed the `colorinput` popup appearing offscreen on mobile devices #TINY-4711
599
- Fixed special characters not being found when searching by "whole words only" #TINY-4522
600
- Fixed an issue where dragging images could cause them to be duplicated #TINY-4195
601
- Fixed context toolbars activating without the editor having focus #TINY-4754
602
- Fixed an issue where removing the background color of text did not always work #TINY-4770
603
- Fixed an issue where new rows and columns in a table did not retain the style of the previous row or column #TINY-4788
604
 
605
## 5.2.0 - 2020-02-13
606
 
607
### Added
608
- Added the ability to apply formats to spaces #TINY-4200
609
- Added new `toolbar_location` setting to allow for positioning the menu and toolbar at the bottom of the editor #TINY-4210
610
- Added new `toolbar_groups` setting to allow a custom floating toolbar group to be added to the toolbar when using `floating` toolbar mode #TINY-4229
611
- Added new `link_default_protocol` setting to `link` and `autolink` plugin to allow a protocol to be used by default #TINY-3328
612
- Added new `placeholder` setting to allow a placeholder to be shown when the editor is empty #TINY-3917
613
- Added new `tinymce.dom.TextSeeker` API to allow searching text across different DOM nodes #TINY-4200
614
- Added a drop shadow below the toolbar while in sticky mode and introduced Oxide variables to customize it when creating a custom skin #TINY-4343
615
- Added `quickbars_image_toolbar` setting to allow for the image quickbar to be turned off #TINY-4398
616
- Added iframe and img `loading` attribute to the default schema. Patch contributed by ataylor32. #GH-5112
617
- Added new `getNodeFilters`/`getAttributeFilters` functions to the `editor.serializer` instance #TINY-4344
618
- Added new `a11y_advanced_options` setting to allow additional accessibility options to be added #FOAM-11
619
- Added new accessibility options and behaviours to the image dialog using `a11y_advanced_options` #FOAM-11
620
- Added the ability to use the window `PrismJS` instance for the `codesample` plugin instead of the bundled version to allow for styling custom languages #TINY-4504
621
- Added error message events that fire when a resource loading error occurs #TINY-4509
622
 
623
### Changed
624
- Changed the default schema to disallow `onchange` for select elements #TINY-4614
625
- Changed default `toolbar_mode` value from false to `wrap`. The value false has been deprecated #TINY-4617
626
- Changed `toolbar_drawer` setting to `toolbar_mode`. `toolbar_drawer` has been deprecated #TINY-4416
627
- Changed iframe mode to set selection on content init if selection doesn't exist #TINY-4139
628
- Changed table related icons to align them with the visual style of the other icons #TINY-4341
629
- Changed and improved the visual appearance of the color input field #TINY-2917
630
- Changed fake caret container to use `forced_root_block` when possible #TINY-4190
631
- Changed the `requireLangPack` API to wait until the plugin has been loaded before loading the language pack #TINY-3716
632
- Changed the formatter so `style_formats` are registered before the initial content is loaded into the editor #TINY-4238
633
- Changed media plugin to use https protocol for media urls by default #TINY-4577
634
- Changed the parser to treat CDATA nodes as bogus HTML comments to match the HTML parsing spec. A new `preserve_cdata` setting has been added to preserve CDATA nodes if required #TINY-4625
635
 
636
### Fixed
637
- Fixed incorrect parsing of malformed/bogus HTML comments #TINY-4625
638
- Fixed `quickbars` selection toolbar appearing on non-editable elements #TINY-4359
639
- Fixed bug with alignment toolbar buttons sometimes not changing state correctly #TINY-4139
640
- Fixed the `codesample` toolbar button not toggling when selecting code samples other than HTML #TINY-4504
641
- Fixed content incorrectly scrolling to the top or bottom when pressing enter if when the content was already in view #TINY-4162
642
- Fixed `scrollIntoView` potentially hiding elements behind the toolbar #TINY-4162
643
- Fixed editor not respecting the `resize_img_proportional` setting due to legacy code #TINY-4236
644
- Fixed flickering floating toolbar drawer in inline mode #TINY-4210
645
- Fixed an issue where the template plugin dialog would be indefinitely blocked on a failed template load #TINY-2766
646
- Fixed the `mscontrolselect` event not being unbound on IE/Edge #TINY-4196
647
- Fixed Confirm dialog footer buttons so only the "Yes" button is highlighted #TINY-4310
648
- Fixed `file_picker_callback` functionality for Image, Link and Media plugins #TINY-4163
649
- Fixed issue where floating toolbar drawer sometimes would break if the editor is resized while the drawer is open #TINY-4439
650
- Fixed incorrect `external_plugins` loading error message #TINY-4503
651
- Fixed resize handler was not hidden for ARIA purposes. Patch contributed by Parent5446. #GH-5195
652
- Fixed an issue where content could be lost if a misspelled word was selected and spellchecking was disabled #TINY-3899
653
- Fixed validation errors in the CSS where certain properties had the wrong default value #TINY-4491
654
- Fixed an issue where forced root block attributes were not applied when removing a list #TINY-4272
655
- Fixed an issue where the element path isn't being cleared when there are no parents #TINY-4412
656
- Fixed an issue where width and height in svg icons containing `rect` elements were overridden by the CSS reset #TINY-4408
657
- Fixed an issue where uploading images with `images_reuse_filename` enabled and that included a query parameter would generate an invalid URL #TINY-4638
658
- Fixed the `closeButton` property not working when opening notifications #TINY-4674
659
- Fixed keyboard flicker when opening a context menu on mobile #TINY-4540
660
- Fixed issue where plus icon svg contained strokes #TINY-4681
661
 
662
## 5.1.6 - 2020-01-28
663
 
664
### Fixed
665
- Fixed `readonly` mode not blocking all clicked links #TINY-4572
666
- Fixed legacy font sizes being calculated inconsistently for the `FontSize` query command value #TINY-4555
667
- Fixed changing a tables row from `Header` to `Body` incorrectly moving the row to the bottom of the table #TINY-4593
668
- Fixed the context menu not showing in certain cases with hybrid devices #TINY-4569
669
- Fixed the context menu opening in the wrong location when the target is the editor body #TINY-4568
670
- Fixed the `image` plugin not respecting the `automatic_uploads` setting when uploading local images #TINY-4287
671
- Fixed security issue related to parsing HTML comments and CDATA #TINY-4544
672
 
673
## 5.1.5 - 2019-12-19
674
 
675
### Fixed
676
- Fixed the UI not working with hybrid devices that accept both touch and mouse events #TNY-4521
677
- Fixed the `charmap` dialog initially focusing the first tab of the dialog instead of the search input field #TINY-4342
678
- Fixed an exception being raised when inserting content if the caret was directly before or after a `contenteditable="false"` element #TINY-4528
679
- Fixed a bug with pasting image URLs when paste as text is enabled #TINY-4523
680
 
681
## 5.1.4 - 2019-12-11
682
 
683
### Fixed
684
- Fixed dialog contents disappearing when clicking a checkbox for right-to-left languages #TINY-4518
685
- Fixed the `legacyoutput` plugin registering legacy formats after editor initialization, causing legacy content to be stripped on the initial load #TINY-4447
686
- Fixed search and replace not cycling through results when searching using special characters #TINY-4506
687
- Fixed the `visualchars` plugin converting HTML-like text to DOM elements in certain cases #TINY-4507
688
- Fixed an issue with the `paste` plugin not sanitizing content in some cases #TINY-4510
689
- Fixed HTML comments incorrectly being parsed in certain cases #TINY-4511
690
 
691
## 5.1.3 - 2019-12-04
692
 
693
### Fixed
694
- Fixed sticky toolbar not undocking when fullscreen mode is activated #TINY-4390
695
- Fixed the "Current Window" target not applying when updating links using the link dialog #TINY-4063
696
- Fixed disabled menu items not highlighting when focused #TINY-4339
697
- Fixed touch events passing through dialog collection items to the content underneath on Android devices #TINY-4431
698
- Fixed keyboard navigation of the Help dialog's Keyboard Navigation tab #TINY-4391
699
- Fixed search and replace dialog disappearing when finding offscreen matches on iOS devices #TINY-4350
700
- Fixed performance issues where sticky toolbar was jumping while scrolling on slower browsers #TINY-4475
701
 
702
## 5.1.2 - 2019-11-19
703
 
704
### Fixed
705
- Fixed desktop touch devices using `mobile` configuration overrides #TINY-4345
706
- Fixed unable to disable the new scrolling toolbar feature #TINY-4345
707
- Fixed touch events passing through any pop-up items to the content underneath on Android devices #TINY-4367
708
- Fixed the table selector handles throwing JavaScript exceptions for non-table selections #TINY-4338
709
- Fixed `cut` operations not removing selected content on Android devices when the `paste` plugin is enabled #TINY-4362
710
- Fixed inline toolbar not constrained to the window width by default #TINY-4314
711
- Fixed context toolbar split button chevrons pointing right when they should be pointing down #TINY-4257
712
- Fixed unable to access the dialog footer in tabbed dialogs on small screens #TINY-4360
713
- Fixed mobile table selectors were hard to select with touch by increasing the size #TINY-4366
714
- Fixed mobile table selectors moving when moving outside the editor #TINY-4366
715
- Fixed inline toolbars collapsing when using sliding toolbars #TINY-4389
716
- Fixed block textpatterns not treating NBSPs as spaces #TINY-4378
717
- Fixed backspace not merging blocks when the last element in the preceding block was a `contenteditable="false"` element #TINY-4235
718
- Fixed toolbar buttons that only contain text labels overlapping on mobile devices #TINY-4395
719
- Fixed quickbars quickimage picker not working on mobile #TINY-4377
720
- Fixed fullscreen not resizing in an iOS WKWebView component #TINY-4413
721
 
722
## 5.1.1 - 2019-10-28
723
 
724
### Fixed
725
- Fixed font formats containing spaces being wrapped in `"` entities instead of single quotes #TINY-4275
726
- Fixed alert and confirm dialogs losing focus when clicked #TINY-4248
727
- Fixed clicking outside a modal dialog focusing on the document body #TINY-4249
728
- Fixed the context toolbar not hiding when scrolled out of view #TINY-4265
729
 
730
## 5.1.0 - 2019-10-17
731
 
732
### Added
733
- Added touch selector handles for table selections on touch devices #TINY-4097
734
- Added border width field to Table Cell dialog #TINY-4028
735
- Added touch event listener to media plugin to make embeds playable #TINY-4093
736
- Added oxide styling options to notifications and tweaked the default variables #TINY-4153
737
- Added additional padding to split button chevrons on touch devices, to make them easier to interact with #TINY-4223
738
- Added new platform detection functions to `Env` and deprecated older detection properties #TINY-4184
739
- Added `inputMode` config field to specify inputmode attribute of `input` dialog components #TINY-4062
740
- Added new `inputMode` property to relevant plugins/dialogs #TINY-4102
741
- Added new `toolbar_sticky` setting to allow the iframe menubar/toolbar to stick to the top of the window when scrolling #TINY-3982
742
 
743
### Changed
744
- Changed default setting for `toolbar_drawer` to `floating` #TINY-3634
745
- Changed mobile phones to use the `silver` theme by default #TINY-3634
746
- Changed some editor settings to default to `false` on touch devices:
747
  - `menubar`(phones only) #TINY-4077
748
  - `table_grid` #TINY-4075
749
  - `resize` #TINY-4157
750
  - `object_resizing` #TINY-4157
751
- Changed toolbars and context toolbars to sidescroll on mobile #TINY-3894 #TINY-4107
752
- Changed context menus to render as horizontal menus on touch devices #TINY-4107
753
- Changed the editor to use the `VisualViewport` API of the browser where possible #TINY-4078
754
- Changed visualblocks toolbar button icon and renamed `paragraph` icon to `visualchars` #TINY-4074
755
- Changed Oxide default for `@toolbar-button-chevron-color` to follow toolbar button icon color #TINY-4153
756
- Changed the `urlinput` dialog component to use the `url` type attribute #TINY-4102
757
 
758
### Fixed
759
- Fixed Safari desktop visual viewport fires resize on fullscreen breaking the restore function #TINY-3976
760
- Fixed scroll issues on mobile devices #TINY-3976
761
- Fixed context toolbar unable to refresh position on iOS12 #TINY-4107
762
- Fixed ctrl+left click not opening links on readonly mode and the preview dialog #TINY-4138
763
- Fixed Slider UI component not firing `onChange` event on touch devices #TINY-4092
764
- Fixed notifications overlapping instead of stacking #TINY-3478
765
- Fixed inline dialogs positioning incorrectly when the page is scrolled #TINY-4018
766
- Fixed inline dialogs and menus not repositioning when resizing #TINY-3227
767
- Fixed inline toolbar incorrectly stretching to the full width when a width value was provided #TINY-4066
768
- Fixed menu chevrons color to follow the menu text color #TINY-4153
769
- Fixed table menu selection grid from staying black when using dark skins, now follows border color #TINY-4153
770
- Fixed Oxide using the wrong text color variable for menubar button focused state #TINY-4146
771
- Fixed the autoresize plugin not keeping the selection in view when resizing #TINY-4094
772
- Fixed textpattern plugin throwing exceptions when using `forced_root_block: false` #TINY-4172
773
- Fixed missing CSS fill styles for toolbar button icon active state #TINY-4147
774
- Fixed an issue where the editor selection could end up inside a short ended element (such as `br`) #TINY-3999
775
- Fixed browser selection being lost in inline mode when opening split dropdowns #TINY-4197
776
- Fixed backspace throwing an exception when using `forced_root_block: false` #TINY-4099
777
- Fixed floating toolbar drawer expanding outside the bounds of the editor #TINY-3941
778
- Fixed the autocompleter not activating immediately after a `br` or `contenteditable=false` element #TINY-4194
779
- Fixed an issue where the autocompleter would incorrectly close on IE 11 in certain edge cases #TINY-4205
780
 
781
## 5.0.16 - 2019-09-24
782
 
783
### Added
784
- Added new `referrer_policy` setting to add the `referrerpolicy` attribute when loading scripts or stylesheets #TINY-3978
785
- Added a slight background color to dialog tab links when focused to aid keyboard navigation #TINY-3877
786
 
787
### Fixed
788
- Fixed media poster value not updating on change #TINY-4013
789
- Fixed openlink was not registered as a toolbar button #TINY-4024
790
- Fixed failing to initialize if a script tag was used inside a SVG #TINY-4087
791
- Fixed double top border showing on toolbar without menubar when toolbar_drawer is enabled #TINY-4118
792
- Fixed unable to drag inline dialogs to the bottom of the screen when scrolled #TINY-4154
793
- Fixed notifications appearing on top of the toolbar when scrolled in inline mode #TINY-4159
794
- Fixed notifications displaying incorrectly on IE 11 #TINY-4169
795
 
796
## 5.0.15 - 2019-09-02
797
 
798
### Added
799
- Added a dark `content_css` skin to go with the dark UI skin #TINY-3743
800
 
801
### Changed
802
- Changed the enabled state on toolbar buttons so they don't get the hover effect #TINY-3974
803
 
804
### Fixed
805
- Fixed missing CSS active state on toolbar buttons #TINY-3966
806
- Fixed `onChange` callback not firing for the colorinput dialog component #TINY-3968
807
- Fixed context toolbars not showing in fullscreen mode #TINY-4023
808
 
809
## 5.0.14 - 2019-08-19
810
 
811
### Added
812
- Added an API to reload the autocompleter menu with additional fetch metadata #MENTIONS-17
813
 
814
### Fixed
815
- Fixed missing toolbar button border styling options #TINY-3965
816
- Fixed image upload progress notification closing before the upload is complete #TINY-3963
817
- Fixed inline dialogs not closing on escape when no dialog component is in focus #TINY-3936
818
- Fixed plugins not being filtered when defaulting to mobile on phones #TINY-3537
819
- Fixed toolbar more drawer showing the content behind it when transitioning between opened and closed states #TINY-3878
820
- Fixed focus not returning to the dialog after pressing the "Replace all" button in the search and replace dialog #TINY-3961
821
 
822
### Removed
823
- Removed Oxide variable `@menubar-select-disabled-border-color` and replaced it with `@menubar-select-disabled-border` #TINY-3965
824
 
825
## 5.0.13 - 2019-08-06
826
 
827
### Changed
828
- Changed modal dialogs to prevent dragging by default and added new `draggable_modal` setting to restore dragging #TINY-3873
829
- Changed the nonbreaking plugin to insert nbsp characters wrapped in spans to aid in filtering. This can be disabled using the `nonbreaking_wrap` setting #TINY-3647
830
- Changed backspace behaviour in lists to outdent nested list items when the cursor is at the start of the list item #TINY-3651
831
 
832
### Fixed
833
- Fixed sidebar growing beyond editor bounds in IE 11 #TINY-3937
834
- Fixed issue with being unable to keyboard navigate disabled toolbar buttons #TINY-3350
835
- Fixed issues with backspace and delete in nested contenteditable true and false elements #TINY-3868
836
- Fixed issue with losing keyboard navigation in dialogs due to disabled buttons #TINY-3914
837
- Fixed `MouseEvent.mozPressure is deprecated` warning in Firefox #TINY-3919
838
- Fixed `default_link_target` not being respected when `target_list` is disabled #TINY-3757
839
- Fixed mobile plugin filter to only apply to the mobile theme, rather than all mobile platforms #TINY-3405
840
- Fixed focus switching to another editor during mode changes #TINY-3852
841
- Fixed an exception being thrown when clicking on an uninitialized inline editor #TINY-3925
842
- Fixed unable to keyboard navigate to dialog menu buttons #TINY-3933
843
- Fixed dialogs being able to be dragged outside the window viewport #TINY-3787
844
- Fixed inline dialogs appearing above modal dialogs #TINY-3932
845
 
846
## 5.0.12 - 2019-07-18
847
 
848
### Added
849
- Added ability to utilize UI dialog panels inside other panels #TINY-3305
850
- Added help dialog tab explaining keyboard navigation of the editor #TINY-3603
851
 
852
### Changed
853
- Changed the "Find and Replace" design to an inline dialog #TINY-3054
854
 
855
### Fixed
856
- Fixed issue where autolink spacebar event was not being fired on Edge #TINY-3891
857
- Fixed table selection missing the background color #TINY-3892
858
- Fixed removing shortcuts not working for function keys #TINY-3871
859
- Fixed non-descriptive UI component type names #TINY-3349
860
- Fixed UI registry components rendering as the wrong type when manually specifying a different type #TINY-3385
861
- Fixed an issue where dialog checkbox, input, selectbox, textarea and urlinput components couldn't be disabled #TINY-3708
862
- Fixed the context toolbar not using viable screen space in inline/distraction free mode #TINY-3717
863
- Fixed the context toolbar overlapping the toolbar in various conditions #TINY-3205
864
- Fixed IE11 edge case where items were being inserted into the wrong location #TINY-3884
865
 
866
## 5.0.11 - 2019-07-04
867
 
868
### Fixed
869
- Fixed packaging errors caused by a rollup treeshaking bug (https://github.com/rollup/rollup/issues/2970) #TINY-3866
870
- Fixed the customeditor component not able to get data from the dialog api #TINY-3866
871
- Fixed collection component tooltips not being translated #TINY-3855
872
 
873
## 5.0.10 - 2019-07-02
874
 
875
### Added
876
- Added support for all HTML color formats in `color_map` setting #TINY-3837
877
 
878
### Changed
879
- Changed backspace key handling to outdent content in appropriate circumstances #TINY-3685
880
- Changed default palette for forecolor and backcolor to include some lighter colors suitable for highlights #TINY-2865
881
- Changed the search and replace plugin to cycle through results #TINY-3800
882
 
883
### Fixed
884
- Fixed inconsistent types causing some properties to be unable to be used in dialog components #TINY-3778
885
- Fixed an issue in the Oxide skin where dialog content like outlines and shadows were clipped because of overflow hidden #TINY-3566
886
- Fixed the search and replace plugin not resetting state when changing the search query #TINY-3800
887
- Fixed backspace in lists not creating an undo level #TINY-3814
888
- Fixed the editor to cancel loading in quirks mode where the UI is not supported #TINY-3391
889
- Fixed applying fonts not working when the name contained spaces and numbers #TINY-3801
890
- Fixed so that initial content is retained when initializing on list items #TINY-3796
891
- Fixed inefficient font name and font size current value lookup during rendering #TINY-3813
892
- Fixed mobile font copied into the wrong folder for the oxide-dark skin #TINY-3816
893
- Fixed an issue where resizing the width of tables would produce inaccurate results #TINY-3827
894
- Fixed a memory leak in the Silver theme #TINY-3797
895
- Fixed alert and confirm dialogs using incorrect markup causing inconsistent padding #TINY-3835
896
- Fixed an issue in the Table plugin with `table_responsive_width` not enforcing units when resizing #TINY-3790
897
- Fixed leading, trailing and sequential spaces being lost when pasting plain text #TINY-3726
898
- Fixed exception being thrown when creating relative URIs #TINY-3851
899
- Fixed focus is no longer set to the editor content during mode changes unless the editor already had focus #TINY-3852
900
 
901
## 5.0.9 - 2019-06-26
902
 
903
### Fixed
904
- Fixed print plugin not working in Firefox #TINY-3834
905
 
906
## 5.0.8 - 2019-06-18
907
 
908
### Added
909
- Added back support for multiple toolbars #TINY-2195
910
- Added support for .m4a files to the media plugin #TINY-3750
911
- Added new base_url and suffix editor init options #TINY-3681
912
 
913
### Fixed
914
- Fixed incorrect padding for select boxes with visible values #TINY-3780
915
- Fixed selection incorrectly changing when programmatically setting selection on contenteditable false elements #TINY-3766
916
- Fixed sidebar background being transparent #TINY-3727
917
- Fixed the build to remove duplicate iife wrappers #TINY-3689
918
- Fixed bogus autocompleter span appearing in content when the autocompleter menu is shown #TINY-3752
919
- Fixed toolbar font size select not working with legacyoutput plugin #TINY-2921
920
- Fixed the legacyoutput plugin incorrectly aligning images #TINY-3660
921
- Fixed remove color not working when using the legacyoutput plugin #TINY-3756
922
- Fixed the font size menu applying incorrect sizes when using the legacyoutput plugin #TINY-3773
923
- Fixed scrollIntoView not working when the parent window was out of view #TINY-3663
924
- Fixed the print plugin printing from the wrong window in IE11 #TINY-3762
925
- Fixed content CSS loaded over CORS not loading in the preview plugin with content_css_cors enabled #TINY-3769
926
- Fixed the link plugin missing the default "None" option for link list #TINY-3738
927
- Fixed small dot visible with menubar and toolbar disabled in inline mode #TINY-3623
928
- Fixed space key properly inserts a nbsp before/after block elements #TINY-3745
929
- Fixed native context menu not showing with images in IE11 #TINY-3392
930
- Fixed inconsistent browser context menu image selection #TINY-3789
931
 
932
## 5.0.7 - 2019-06-05
933
 
934
### Added
935
- Added new toolbar button and menu item for inserting tables via dialog #TINY-3636
936
- Added new API for adding/removing/changing tabs in the Help dialog #TINY-3535
937
- Added highlighting of matched text in autocompleter items #TINY-3687
938
- Added the ability for autocompleters to work with matches that include spaces #TINY-3704
939
- Added new `imagetools_fetch_image` callback to allow custom implementations for cors loading of images #TINY-3658
940
- Added `'http'` and `https` options to `link_assume_external_targets` to prepend `http://` or `https://` prefixes when URL does not contain a protocol prefix. Patch contributed by francoisfreitag. #GH-4335
941
 
942
### Changed
943
- Changed annotations navigation to work the same as inline boundaries #TINY-3396
944
- Changed tabpanel API by adding a `name` field and changing relevant methods to use it #TINY-3535
945
 
946
### Fixed
947
- Fixed text color not updating all color buttons when choosing a color #TINY-3602
948
- Fixed the autocompleter not working with fragmented text #TINY-3459
949
- Fixed the autosave plugin no longer overwrites window.onbeforeunload #TINY-3688
950
- Fixed infinite loop in the paste plugin when IE11 takes a long time to process paste events. Patch contributed by lRawd. #GH-4987
951
- Fixed image handle locations when using `fixed_toolbar_container`. Patch contributed by t00. #GH-4966
952
- Fixed the autoresize plugin not firing `ResizeEditor` events #TINY-3587
953
- Fixed editor in fullscreen mode not extending to the bottom of the screen #TINY-3701
954
- Fixed list removal when pressing backspace after the start of the list item #TINY-3697
955
- Fixed autocomplete not triggering from compositionend events #TINY-3711
956
- Fixed `file_picker_callback` could not set the caption field on the insert image dialog #TINY-3172
957
- Fixed the autocompleter menu showing up after a selection had been made #TINY-3718
958
- Fixed an exception being thrown when a file or number input has focus during initialization. Patch contributed by t00 #GH-2194
959
 
960
## 5.0.6 - 2019-05-22
961
 
962
### Added
963
- Added `icons_url` editor settings to enable icon packs to be loaded from a custom url #TINY-3585
964
- Added `image_uploadtab` editor setting to control the visibility of the upload tab in the image dialog #TINY-3606
965
- Added new api endpoints to the wordcount plugin and improved character count logic #TINY-3578
966
 
967
### Changed
968
- Changed plugin, language and icon loading errors to log in the console instead of a notification #TINY-3585
969
 
970
### Fixed
971
- Fixed the textpattern plugin not working with fragmented text #TINY-3089
972
- Fixed various toolbar drawer accessibility issues and added an animation #TINY-3554
973
- Fixed issues with selection and ui components when toggling readonly mode #TINY-3592
974
- Fixed so readonly mode works with inline editors #TINY-3592
975
- Fixed docked inline toolbar positioning when scrolled #TINY-3621
976
- Fixed initial value not being set on bespoke select in quickbars and toolbar drawer #TINY-3591
977
- Fixed so that nbsp entities aren't trimmed in white-space: pre-line elements #TINY-3642
978
- Fixed `mceInsertLink` command inserting spaces instead of url encoded characters #GH-4990
979
- Fixed text content floating on top of dialogs in IE11 #TINY-3640
980
 
981
## 5.0.5 - 2019-05-09
982
 
983
### Added
984
- Added menu items to match the forecolor/backcolor toolbar buttons #TINY-2878
985
- Added default directionality based on the configured language #TINY-2621
986
- Added styles, icons and tests for rtl mode #TINY-2621
987
 
988
### Fixed
989
- Fixed autoresize not working with floating elements or when media elements finished loading #TINY-3545
990
- Fixed incorrect vertical caret positioning in IE 11 #TINY-3188
991
- Fixed submenu anchoring hiding overflowed content #TINY-3564
992
 
993
### Removed
994
- Removed unused and hidden validation icons to avoid displaying phantom tooltips #TINY-2329
995
 
996
## 5.0.4 - 2019-04-23
997
 
998
### Added
999
- Added back URL dialog functionality, which is now available via `editor.windowManager.openUrl()` #TINY-3382
1000
- Added the missing throbber functionality when calling `editor.setProgressState(true)` #TINY-3453
1001
- Added function to reset the editor content and undo/dirty state via `editor.resetContent()` #TINY-3435
1002
- Added the ability to set menu buttons as active #TINY-3274
1003
- Added `editor.mode` API, featuring a custom editor mode API #TINY-3406
1004
- Added better styling to floating toolbar drawer #TINY-3479
1005
- Added the new premium plugins to the Help dialog plugins tab #TINY-3496
1006
- Added the linkchecker context menu items to the default configuration #TINY-3543
1007
 
1008
### Fixed
1009
- Fixed image context menu items showing on placeholder images #TINY-3280
1010
- Fixed dialog labels and text color contrast within notifications/alert banners to satisfy WCAG 4.5:1 contrast ratio for accessibility #TINY-3351
1011
- Fixed selectbox and colorpicker items not being translated #TINY-3546
1012
- Fixed toolbar drawer sliding mode to correctly focus the editor when tabbing via keyboard navigation #TINY-3533
1013
- Fixed positioning of the styleselect menu in iOS while using the mobile theme #TINY-3505
1014
- Fixed the menubutton `onSetup` callback to be correctly executed when rendering the menu buttons #TINY-3547
1015
- Fixed `default_link_target` setting to be correctly utilized when creating a link #TINY-3508
1016
- Fixed colorpicker floating marginally outside its container #TINY-3026
1017
- Fixed disabled menu items displaying as active when hovered #TINY-3027
1018
 
1019
### Removed
1020
- Removed redundant mobile wrapper #TINY-3480
1021
 
1022
## 5.0.3 - 2019-03-19
1023
 
1024
### Changed
1025
- Changed empty nested-menu items within the style formats menu to be disabled or hidden if the value of `style_formats_autohide` is `true` #TINY-3310
1026
- Changed the entire phrase 'Powered by Tiny' in the status bar to be a link instead of just the word 'Tiny' #TINY-3366
1027
- Changed `formatselect`, `styleselect` and `align` menus to use the `mceToggleFormat` command internally #TINY-3428
1028
 
1029
### Fixed
1030
- Fixed toolbar keyboard navigation to work as expected when `toolbar_drawer` is configured #TINY-3432
1031
- Fixed text direction buttons to display the correct pressed state in selections that have no explicit `dir` property #TINY-3138
1032
- Fixed the mobile editor to clean up properly when removed #TINY-3445
1033
- Fixed quickbar toolbars to add an empty box to the screen when it is set to `false` #TINY-3439
1034
- Fixed an issue where pressing the **Delete/Backspace** key at the edge of tables was creating incorrect selections #TINY-3371
1035
- Fixed an issue where dialog collection items (emoticon and special character dialogs) couldn't be selected with touch devices #TINY-3444
1036
- Fixed a type error introduced in TinyMCE version 5.0.2 when calling `editor.getContent()` with nested bookmarks #TINY-3400
1037
- Fixed an issue that prevented default icons from being overridden #TINY-3449
1038
- Fixed an issue where **Home/End** keys wouldn't move the caret correctly before or after `contenteditable=false` inline elements #TINY-2995
1039
- Fixed styles to be preserved in IE 11 when editing via the `fullpage` plugin #TINY-3464
1040
- Fixed the `link` plugin context toolbar missing the open link button #TINY-3461
1041
- Fixed inconsistent dialog component spacing #TINY-3436
1042
 
1043
## 5.0.2 - 2019-03-05
1044
 
1045
### Added
1046
- Added presentation and document presets to `htmlpanel` dialog component #TINY-2694
1047
- Added missing fixed_toolbar_container setting has been reimplemented in the Silver theme #TINY-2712
1048
- Added a new toolbar setting `toolbar_drawer` that moves toolbar groups which overflow the editor width into either a `sliding` or `floating` toolbar section #TINY-2874
1049
 
1050
### Changed
1051
- Updated the build process to include package lock files in the dev distribution archive #TINY-2870
1052
 
1053
### Fixed
1054
- Fixed inline dialogs did not have aria attributes #TINY-2694
1055
- Fixed default icons are now available in the UI registry, allowing use outside of toolbar buttons #TINY-3307
1056
- Fixed a memory leak related to select toolbar items #TINY-2874
1057
- Fixed a memory leak due to format changed listeners that were never unbound #TINY-3191
1058
- Fixed an issue where content may have been lost when using permanent bookmarks #TINY-3400
1059
- Fixed the quicklink toolbar button not rendering in the quickbars plugin #TINY-3125
1060
- Fixed an issue where menus were generating invalid HTML in some cases #TINY-3323
1061
- Fixed an issue that could cause the mobile theme to show a blank white screen when the editor was inside an `overflow:hidden` element #TINY-3407
1062
- Fixed mobile theme using a transparent background and not taking up the full width on iOS #TINY-3414
1063
- Fixed the template plugin dialog missing the description field #TINY-3337
1064
- Fixed input dialog components using an invalid default type attribute #TINY-3424
1065
- Fixed an issue where backspace/delete keys after/before pagebreak elements wouldn't move the caret #TINY-3097
1066
- Fixed an issue in the table plugin where menu items and toolbar buttons weren't showing correctly based on the selection #TINY-3423
1067
- Fixed inconsistent button focus styles in Firefox #TINY-3377
1068
- Fixed the resize icon floating left when all status bar elements were disabled #TINY-3340
1069
- Fixed the resize handle to not show in fullscreen mode #TINY-3404
1070
 
1071
## 5.0.1 - 2019-02-21
1072
 
1073
### Added
1074
- Added H1-H6 toggle button registration to the silver theme #TINY-3070
1075
- Added code sample toolbar button will now toggle on when the cursor is in a code section #TINY-3040
1076
- Added new settings to the emoticons plugin to allow additional emoticons to be added #TINY-3088
1077
 
1078
### Fixed
1079
- Fixed an issue where adding links to images would replace the image with text #TINY-3356
1080
- Fixed an issue where the inline editor could use fractional pixels for positioning #TINY-3202
1081
- Fixed an issue where uploading non-image files in the Image Plugin upload tab threw an error. #TINY-3244
1082
- Fixed an issue in the media plugin that was causing the source url and height/width to be lost in certain circumstances #TINY-2858
1083
- Fixed an issue with the Context Toolbar not being removed when clicking outside of the editor #TINY-2804
1084
- Fixed an issue where clicking 'Remove link' wouldn't remove the link in certain circumstances #TINY-3199
1085
- Fixed an issue where the media plugin would fail when parsing dialog data #TINY-3218
1086
- Fixed an issue where retrieving the selected content as text didn't create newlines #TINY-3197
1087
- Fixed incorrect keyboard shortcuts in the Help dialog for Windows #TINY-3292
1088
- Fixed an issue where JSON serialization could produce invalid JSON #TINY-3281
1089
- Fixed production CSS including references to source maps #TINY-3920
1090
- Fixed development CSS was not included in the development zip #TINY-3920
1091
- Fixed the autocompleter matches predicate not matching on the start of words by default #TINY-3306
1092
- Fixed an issue where the page could be scrolled with modal dialogs open #TINY-2252
1093
- Fixed an issue where autocomplete menus would show an icon margin when no items had icons #TINY-3329
1094
- Fixed an issue in the quickbars plugin where images incorrectly showed the text selection toolbar #TINY-3338
1095
- Fixed an issue that caused the inline editor to fail to render when the target element already had focus #TINY-3353
1096
 
1097
### Removed
1098
- Removed paste as text notification banner and paste_plaintext_inform setting #POW-102
1099
 
1100
## 5.0.0 - 2019-02-04
1101
 
1102
Full documentation for the version 5 features and changes is available at https://www.tiny.cloud/docs/release-notes/
1103
 
1104
### Added
1105
- Added links and registered names with * to denote premium plugins in Plugins tab of Help dialog #TINY-3223
1106
 
1107
### Changed
1108
- Changed Tiny 5 mobile skin to look more uniform with desktop #TINY-2650
1109
- Blacklisted table, th and td as inline editor target #TINY-717
1110
 
1111
### Fixed
1112
- Fixed an issue where tab panel heights weren't sizing properly on smaller screens and weren't updating on resize #TINY-3242
1113
- Fixed image tools not having any padding between the label and slider #TINY-3220
1114
- Fixed context toolbar toggle buttons not showing the correct state #TINY-3022
1115
- Fixed missing separators in the spellchecker context menu between the suggestions and actions #TINY-3217
1116
- Fixed notification icon positioning in alert banners #TINY-2196
1117
- Fixed a typo in the word count plugin name #TINY-3062
1118
- Fixed charmap and emoticons dialogs not having a primary button #TINY-3233
1119
- Fixed an issue where resizing wouldn't work correctly depending on the box-sizing model #TINY-3278
1120
 
1121
## 5.0.0-rc-2 - 2019-01-22
1122
 
1123
### Added
1124
- Added screen reader accessibility for sidebar and statusbar #TINY-2699
1125
 
1126
### Changed
1127
- Changed formatting menus so they are registered and made the align toolbar button use an icon instead of text #TINY-2880
1128
- Changed checkboxes to use a boolean for its state, instead of a string #TINY-2848
1129
- Updated the textpattern plugin to properly support nested patterns and to allow running a command with a value for a pattern with a start and an end #TINY-2991
1130
- Updated Emoticons and Charmap dialogs to be screen reader accessible #TINY-2693
1131
 
1132
### Fixed
1133
- Fixed the link dialog such that it will now retain class attributes when updating links #TINY-2825
1134
- Fixed "Find and replace" not showing in the "Edit" menu by default #TINY-3061
1135
- Fixed dropdown buttons missing the 'type' attribute, which could cause forms to be incorrectly submitted #TINY-2826
1136
- Fixed emoticon and charmap search not returning expected results in certain cases #TINY-3084
1137
- Fixed blank rel_list values throwing an exception in the link plugin #TINY-3149
1138
 
1139
### Removed
1140
- Removed unnecessary 'flex' and unused 'colspan' properties from the new dialog APIs #TINY-2973
1141
 
1142
## 5.0.0-rc-1 - 2019-01-08
1143
 
1144
### Added
1145
- Added editor settings functionality to specify title attributes for toolbar groups #TINY-2690
1146
- Added icons instead of button text to improve Search and Replace dialog footer appearance #TINY-2654
1147
- Added `tox-dialog__table` instead of `mce-table-striped` class to enhance Help dialog appearance #TINY-2360
1148
- Added title attribute to iframes so, screen readers can announce iframe labels #TINY-2692
1149
- Added a wordcount menu item, that defaults to appearing in the tools menu #TINY-2877
1150
 
1151
### Changed
1152
- Updated the font select dropdown logic to try to detect the system font stack and show "System Font" as the font name #TINY-2710
1153
- Updated the autocompleter to only show when it has matched items #TINY-2350
1154
- Updated SizeInput labels to "Height" and "Width" instead of Dimensions #TINY-2833
1155
- Updated the build process to minify and generate ASCII only output for the emoticons database #TINY-2744
1156
 
1157
### Fixed
1158
- Fixed readonly mode not fully disabling editing content #TINY-2287
1159
- Fixed accessibility issues with the font select, font size, style select and format select toolbar dropdowns #TINY-2713
1160
- Fixed accessibility issues with split dropdowns #TINY-2697
1161
- Fixed the legacyoutput plugin to be compatible with TinyMCE 5.0 #TINY-2301
1162
- Fixed icons not showing correctly in the autocompleter popup #TINY-3029
1163
- Fixed an issue where preview wouldn't show anything in Edge under certain circumstances #TINY-3035
1164
- Fixed the height being incorrectly calculated for the autoresize plugin #TINY-2807
1165
 
1166
## 5.0.0-beta-1 - 2018-11-30
1167
 
1168
### Added
1169
- Added a new `addNestedMenuItem()` UI registry function and changed all nested menu items to use the new registry functions #TINY-2230
1170
- Added title attribute to color swatch colors #TINY-2669
1171
- Added anchorbar component to anchor inline toolbar dialogs to instead of the toolbar #TINY-2040
1172
- Added support for toolbar<n> and toolbar array config options to be squashed into a single toolbar and not create multiple toolbars #TINY-2195
1173
- Added error handling for when forced_root_block config option is set to true #TINY-2261
1174
- Added functionality for the removed_menuitems config option #TINY-2184
1175
- Added the ability to use a string to reference menu items in menu buttons and submenu items #TINY-2253
1176
 
1177
### Changed
1178
- Changed the name of the "inlite" plugin to "quickbars" #TINY-2831
1179
- Changed the background color icon to highlight background icon #TINY-2258
1180
- Changed Help dialog to be accessible to screen readers #TINY-2687
1181
- Changed the color swatch to save selected custom colors to local storage for use across sessions #TINY-2722
1182
- Changed `WindowManager` API - methods `getParams`, `setParams` and `getWindows`, and the legacy `windows` property, have been removed. `alert` and `confirm` dialogs are no longer tracked in the window list. #TINY-2603
1183
 
1184
### Fixed
1185
- Fixed an inline mode issue where the save plugin upon saving can cause content loss #TINY-2659
1186
- Fixed an issue in IE 11 where calling selection.getContent() would return an empty string when the editor didn't have focus #TINY-2325
1187
 
1188
### Removed
1189
- Removed compat3x plugin #TINY-2815
1190
 
1191
## 5.0.0-preview-4 - 2018-11-12
1192
 
1193
### Added
1194
- Added width and height placeholder text to image and media dialog dimensions input #AP-296
1195
- Added the ability to keyboard navigate through menus, toolbars, sidebar and the status bar sequentially #AP-381
1196
- Added translation capability back to the editor's UI #AP-282
1197
- Added `label` component type for dialogs to group components under a label
1198
 
1199
### Changed
1200
- Changed the editor resize handle so that it should be disabled when the autoresize plugin is turned on #AP-424
1201
- Changed UI text for microcopy improvements #TINY-2281
1202
 
1203
### Fixed
1204
- Fixed distraction free plugin #AP-470
1205
- Fixed contents of the input field being selected on focus instead of just recieving an outline highlight #AP-464
1206
- Fixed styling issues with dialogs and menus in IE 11 #AP-456
1207
- Fixed custom style format control not honoring custom formats #AP-393
1208
- Fixed context menu not appearing when clicking an image with a caption #AP-382
1209
- Fixed directionality of UI when using an RTL language #AP-423
1210
- Fixed page responsiveness with multiple inline editors #AP-430
1211
- Fixed empty toolbar groups appearing through invalid configuration of the `toolbar` property #AP-450
1212
- Fixed text not being retained when updating links through the link dialog #AP-293
1213
- Fixed edit image context menu, context toolbar and toolbar items being incorrectly enabled when selecting invalid images #AP-323
1214
- Fixed emoji type ahead being shown when typing URLs #AP-366
1215
- Fixed toolbar configuration properties incorrectly expecting string arrays instead of strings #AP-342
1216
- Fixed the block formatting toolbar item not showing a "Formatting" title when there is no selection #AP-321
1217
- Fixed clicking disabled toolbar buttons hiding the toolbar in inline mode #AP-380
1218
- Fixed `EditorResize` event not being fired upon editor resize #AP-327
1219
- Fixed tables losing styles when updating through the dialog #AP-368
1220
- Fixed context toolbar positioning to be more consistent near the edges of the editor #AP-318
1221
- Fixed table of contents plugin now works with v5 toolbar APIs correctly #AP-347
1222
- Fixed the `link_context_toolbar` configuration not disabling the context toolbar #AP-458
1223
- Fixed the link context toolbar showing incorrect relative links #AP-435
1224
- Fixed the alignment of the icon in alert banner dialog components #TINY-2220
1225
- Fixed the visual blocks and visual char menu options not displaying their toggled state #TINY-2238
1226
- Fixed the editor not displaying as fullscreen when toggled #TINY-2237
1227
 
1228
### Removed
1229
- Removed the tox-custom-editor class that was added to the wrapping element of codemirror #TINY-2211
1230
 
1231
## 5.0.0-preview-3 - 2018-10-18
1232
 
1233
### Changed
1234
- Changed editor layout to use modern CSS properties over manually calculating dimensions #AP-324
1235
- Changed `autoresize_min_height` and `autoresize_max_height` configurations to `min_height` and `max_height` #AP-324
1236
- Changed `Whole word` label in Search and Replace dialog to `Find whole words only` #AP-387
1237
 
1238
### Fixed
1239
- Fixed bugs with editor width jumping when resizing and the iframe not resizing to smaller than 150px in height #AP-324
1240
- Fixed mobile theme bug that prevented the editor from loading #AP-404
1241
- Fixed long toolbar groups extending outside of the editor instead of wrapping
1242
- Fixed dialog titles so they are now proper case #AP-384
1243
- Fixed color picker default to be #000000 instead of #ff00ff #AP-216
1244
- Fixed "match case" option on the Find and Replace dialog is no longer selected by default #AP-298
1245
- Fixed vertical alignment of toolbar icons #DES-134
1246
- Fixed toolbar icons not appearing on IE11 #DES-133
1247
 
1248
## 5.0.0-preview-2 - 2018-10-10
1249
 
1250
### Added
1251
- Added swatch is now shown for colorinput fields, instead of the colorpicker directly #AP-328
1252
- Added fontformats and fontsizes menu items #AP-390
1253
 
1254
### Changed
1255
- Changed configuration of color options has been simplified to `color_map`, `color_cols`, and `custom_colors` #AP-328
1256
- Changed `height` configuration to apply to the editor frame (including menubar, toolbar, status bar) instead of the content area #AP-324
1257
 
1258
### Fixed
1259
- Fixed styleselect not updating the displayed item as the cursor moved #AP-388
1260
- Fixed preview iframe not expanding to the dialog size #AP-252
1261
- Fixed 'meta' shortcuts not translated into platform-specific text #AP-270
1262
- Fixed tabbed dialogs (Charmap and Emoticons) shrinking when no search results returned
1263
- Fixed a bug where alert banner icons were not retrieved from icon pack. #AP-330
1264
- Fixed component styles to flex so they fill large dialogs. #AP-252
1265
- Fixed editor flashing unstyled during load (still in progress). #AP-349
1266
 
1267
### Removed
1268
- Removed `colorpicker` plugin, it is now in the theme #AP-328
1269
- Removed `textcolor` plugin, it is now in the theme #AP-328
1270
 
1271
## 5.0.0-preview-1 - 2018-10-01
1272
 
1273
Developer preview 1
1274
 
1275
Initial list of features and changes is available at https://tiny.cloud/docs-preview/release-notes/new-features/
1276
 
1277
## 4.9.11 - 2020-07-13
1278
 
1279
### Fixed
1280
- Fixed the `selection.setContent()` API not running parser filters #TINY-4002
1281
- Fixed content in an iframe element parsing as DOM elements instead of text content #TINY-5943
1282
- Fixed up and down keyboard navigation not working for inline `contenteditable="false"` elements #TINY-6226
1283
 
1284
## 4.9.10 - 2020-04-23
1285
 
1286
### Fixed
1287
- Fixed an issue where the editor selection could end up inside a short ended element (eg br) #TINY-3999
1288
- Fixed a security issue related to CDATA sanitization during parsing #TINY-4669
1289
- Fixed `media` embed content not processing safely in some cases #TINY-4857
1290
 
1291
## 4.9.9 - 2020-03-25
1292
 
1293
### Fixed
1294
- Fixed the table selection not functioning correctly in Microsoft Edge 44 or higher #TINY-3862
1295
- Fixed the table resize handles not functioning correctly in Microsoft Edge 44 or higher #TINY-4160
1296
- Fixed the `forced_root_block_attrs` setting not applying attributes to new blocks consistently #TINY-4564
1297
- Fixed the editor failing to initialize if a script tag was used inside an SVG #TINY-4087
1298
 
1299
## 4.9.8 - 2020-01-28
1300
 
1301
### Fixed
1302
- Fixed the `mobile` theme failing to load due to a bundling issue #TINY-4613
1303
- Fixed security issue related to parsing HTML comments and CDATA #TINY-4544
1304
 
1305
## 4.9.7 - 2019-12-19
1306
 
1307
### Fixed
1308
- Fixed the `visualchars` plugin converting HTML-like text to DOM elements in certain cases #TINY-4507
1309
- Fixed an issue with the `paste` plugin not sanitizing content in some cases #TINY-4510
1310
- Fixed HTML comments incorrectly being parsed in certain cases #TINY-4511
1311
 
1312
## 4.9.6 - 2019-09-02
1313
 
1314
### Fixed
1315
- Fixed image browse button sometimes displaying the browse window twice #TINY-3959
1316
 
1317
## 4.9.5 - 2019-07-02
1318
 
1319
### Changed
1320
- Changed annotations navigation to work the same as inline boundaries #TINY-3396
1321
 
1322
### Fixed
1323
- Fixed the print plugin printing from the wrong window in IE11 #TINY-3762
1324
- Fixed an exception being thrown when a file or number input has focus during initialization. Patch contributed by t00 #GH-2194
1325
- Fixed positioning of the styleselect menu in iOS while using the mobile theme #TINY-3505
1326
- Fixed native context menu not showing with images in IE11 #TINY-3392
1327
- Fixed selection incorrectly changing when programmatically setting selection on contenteditable false elements #TINY-3766
1328
- Fixed image browse button not working on touch devices #TINY-3751
1329
- Fixed so that nbsp entities aren't trimmed in white-space: pre-line elements #TINY-3642
1330
- Fixed space key properly inserts a nbsp before/after block elements #TINY-3745
1331
- Fixed infinite loop in the paste plugin when IE11 takes a long time to process paste events. Patch contributed by lRawd. #GH-4987
1332
 
1333
## 4.9.4 - 2019-03-20
1334
 
1335
### Fixed
1336
- Fixed an issue where **Home/End** keys wouldn't move the caret correctly before or after `contenteditable=false` inline elements #TINY-2995
1337
- Fixed an issue where content may have been lost when using permanent bookmarks #TINY-3400
1338
- Fixed the mobile editor to clean up properly when removed #TINY-3445
1339
- Fixed an issue where retrieving the selected content as text didn't create newlines #TINY-3197
1340
- Fixed an issue where typing space between images would cause issues with nbsp not being inserted. #TINY-3346
1341
 
1342
## 4.9.3 - 2019-01-31
1343
 
1344
### Added
1345
- Added a visualchars_default_state setting to the Visualchars Plugin. Patch contributed by mat3e.
1346
 
1347
### Fixed
1348
- Fixed a bug where scrolling on a page with more than one editor would cause a ResizeWindow event to fire. #TINY-3247
1349
- Fixed a bug where if a plugin threw an error during initialisation the whole editor would fail to load. #TINY-3243
1350
- Fixed a bug where getContent would include bogus elements when valid_elements setting was set up in a specific way. #TINY-3213
1351
- Fixed a bug where only a few function key names could be used when creating keyboard shortcuts. #TINY-3146
1352
- Fixed a bug where it wasn't possible to enter spaces into an editor after pressing shift+enter. #TINY-3099
1353
- Fixed a bug where no caret would be rendered after backspacing to a contenteditable false element. #TINY-2998
1354
- Fixed a bug where deletion to/from indented lists would leave list fragments in the editor. #TINY-2981
1355
 
1356
## 4.9.2 - 2018-12-17
1357
 
1358
### Fixed
1359
- Fixed a bug with pressing the space key on IE 11 would result in nbsp characters being inserted between words at the end of a block. #TINY-2996
1360
- Fixed a bug where character composition using quote and space on US International keyboards would produce a space instead of a quote. #TINY-2999
1361
- Fixed a bug where remove format wouldn't remove the inner most inline element in some situations. #TINY-2982
1362
- Fixed a bug where outdenting an list item would affect attributes on other list items within the same list. #TINY-2971
1363
- Fixed a bug where the DomParser filters wouldn't be applied for elements created when parsing invalid html. #TINY-2978
1364
- Fixed a bug where setProgressState wouldn't automatically close floating ui elements like menus. #TINY-2896
1365
- Fixed a bug where it wasn't possible to navigate out of a figcaption element using the arrow keys. #TINY-2894
1366
- Fixed a bug where enter key before an image inside a link would remove the image. #TINY-2780
1367
 
1368
## 4.9.1 - 2018-12-04
1369
 
1370
### Added
1371
- Added functionality to insert html to the replacement feature of the Textpattern Plugin. #TINY-2839
1372
 
1373
### Fixed
1374
- Fixed a bug where `editor.selection.getContent({format: 'text'})` didn't work as expected in IE11 on an unfocused editor. #TINY-2862
1375
- Fixed a bug in the Textpattern Plugin where the editor would get an incorrect selection after inserting a text pattern on Safari. #TINY-2838
1376
- Fixed a bug where the space bar didn't work correctly in editors with the forced_root_block setting set to false. #TINY-2816
1377
 
1378
## 4.9.0 - 2018-11-27
1379
 
1380
### Added
1381
- Added a replace feature to the Textpattern Plugin. #TINY-1908
1382
- Added functionality to the Lists Plugin that improves the indentation logic. #TINY-1790
1383
 
1384
### Fixed
1385
- Fixed a bug where it wasn't possible to delete/backspace when the caret was between a contentEditable=false element and a BR. #TINY-2372
1386
- Fixed a bug where copying table cells without a text selection would fail to copy anything. #TINY-1789
1387
- Implemented missing `autosave_restore_when_empty` functionality in the Autosave Plugin. Patch contributed by gzzo. #GH-4447
1388
- Reduced insertion of unnecessary nonbreaking spaces in the editor. #TINY-1879
1389
 
1390
## 4.8.5 - 2018-10-30
1391
 
1392
### Added
1393
- Added a content_css_cors setting to the editor that adds the crossorigin="anonymous" attribute to link tags added by the StyleSheetLoader. #TINY-1909
1394
 
1395
### Fixed
1396
- Fixed a bug where trying to remove formatting with a collapsed selection range would throw an exception. #GH-4636
1397
- Fixed a bug in the image plugin that caused updating figures to split contenteditable elements. #GH-4563
1398
- Fixed a bug that was causing incorrect viewport calculations for fixed position UI elements. #TINY-1897
1399
- Fixed a bug where inline formatting would cause the delete key to do nothing. #TINY-1900
1400
 
1401
## 4.8.4 - 2018-10-23
1402
 
1403
### Added
1404
- Added support for the HTML5 `main` element. #TINY-1877
1405
 
1406
### Changed
1407
- Changed the keyboard shortcut to move focus to contextual toolbars to Ctrl+F9. #TINY-1812
1408
 
1409
### Fixed
1410
- Fixed a bug where content css could not be loaded from another domain. #TINY-1891
1411
- Fixed a bug on FireFox where the cursor would get stuck between two contenteditable false inline elements located inside of the same block element divided by a BR. #TINY-1878
1412
- Fixed a bug with the insertContent method where nonbreaking spaces would be inserted incorrectly. #TINY-1868
1413
- Fixed a bug where the toolbar of the inline editor would not be visible in some scenarios. #TINY-1862
1414
- Fixed a bug where removing the editor while more than one notification was open would throw an error. #TINY-1845
1415
- Fixed a bug where the menubutton would be rendered on top of the menu if the viewport didn't have enough height. #TINY-1678
1416
- Fixed a bug with the annotations api where annotating collapsed selections caused problems. #TBS-2449
1417
- Fixed a bug where wbr elements were being transformed into whitespace when using the Paste Plugin's paste as text setting. #GH-4638
1418
- Fixed a bug where the Search and Replace didn't replace spaces correctly. #GH-4632
1419
- Fixed a bug with sublist items not persisting selection. #GH-4628
1420
- Fixed a bug with mceInsertRawHTML command not working as expected. #GH-4625
1421
 
1422
## 4.8.3 - 2018-09-13
1423
 
1424
### Fixed
1425
- Fixed a bug where the Wordcount Plugin didn't correctly count words within tables on IE11. #TINY-1770
1426
- Fixed a bug where it wasn't possible to move the caret out of a table on IE11 and Firefox. #TINY-1682
1427
- Fixed a bug where merging empty blocks didn't work as expected, sometimes causing content to be deleted. #TINY-1781
1428
- Fixed a bug where the Textcolor Plugin didn't show the correct current color. #TINY-1810
1429
- Fixed a bug where clear formatting with a collapsed selection would sometimes clear formatting from more content than expected. #TINY-1813 #TINY-1821
1430
- Fixed a bug with the Table Plugin where it wasn't possible to keyboard navigate to the caption. #TINY-1818
1431
 
1432
## 4.8.2 - 2018-08-09
1433
 
1434
### Changed
1435
- Moved annotator from "experimental" to "annotator" object on editor. #TBS-2398
1436
- Improved the multiclick normalization across browsers. #TINY-1788
1437
 
1438
### Fixed
1439
- Fixed a bug where running getSelectedBlocks with a collapsed selection between block elements would produce incorrect results. #TINY-1787
1440
- Fixed a bug where the ScriptLoaders loadScript method would not work as expected in FireFox when loaded on the same page as a ShadowDOM polyfill. #TINY-1786
1441
- Removed reference to ShadowDOM event.path as Blink based browsers now support event.composedPath. #TINY-1785
1442
- Fixed a bug where a reference to localStorage would throw an "access denied" error in IE11 with strict security settings. #TINY-1782
1443
- Fixed a bug where pasting using the toolbar button on an inline editor in IE11 would cause a looping behaviour. #TINY-1768
1444
 
1445
## 4.8.1 - 2018-07-26
1446
 
1447
### Fixed
1448
- Fixed a bug where the content of inline editors was being cleaned on every call of `editor.save()`. #TINY-1783
1449
- Fixed a bug where the arrow of the Inlite Theme toolbar was being rendered incorrectly in RTL mode. #TINY-1776
1450
- Fixed a bug with the Paste Plugin where pasting after inline contenteditable false elements moved the caret to the end of the line. #TINY-1758
1451
 
1452
## 4.8.0 - 2018-06-27
1453
 
1454
### Added
1455
- Added new "experimental" object in editor, with initial Annotator API. #TBS-2374
1456
 
1457
### Fixed
1458
- Fixed a bug where deleting paragraphs inside of table cells would delete the whole table cell. #TINY-1759
1459
- Fixed a bug in the Table Plugin where removing row height set on the row properties dialog did not update the table. #TINY-1730
1460
- Fixed a bug with the font select toolbar item didn't update correctly. #TINY-1683
1461
- Fixed a bug where all bogus elements would not be deleted when removing an inline editor. #TINY-1669
1462
 
1463
## 4.7.13 - 2018-05-16
1464
 
1465
### Added
1466
- Added missing code menu item from the default menu config. #TINY-1648
1467
- Added new align button for combining the separate align buttons into a menu button. #TINY-1652
1468
 
1469
### Fixed
1470
- Fixed a bug where Edge 17 wouldn't be able to select images or tables. #TINY-1679
1471
- Fixed issue where whitespace wasn't preserved when the editor was initialized on pre elements. #TINY-1649
1472
- Fixed a bug with the fontselect dropdowns throwing an error if the editor was hidden in Firefox. #TINY-1664
1473
- Fixed a bug where it wasn't possible to merge table cells on IE 11. #TINY-1671
1474
- Fixed a bug where textcolor wasn't applying properly on IE 11 in some situations. #TINY-1663
1475
- Fixed a bug where the justifyfull command state wasn't working correctly. #TINY-1677
1476
- Fixed a bug where the styles wasn't updated correctly when resizing some tables. #TINY-1668
1477
 
1478
## 4.7.12 - 2018-05-03
1479
 
1480
### Added
1481
- Added an option to filter out image svg data urls.
1482
- Added support for html5 details and summary elements.
1483
 
1484
### Changed
1485
- Changed so the mce-abs-layout-item css rule targets html instead of body. Patch contributed by nazar-pc.
1486
 
1487
### Fixed
1488
- Fixed a bug where the "read" step on the mobile theme was still present on android mobile browsers.
1489
- Fixed a bug where all images in the editor document would reload on any editor change.
1490
- Fixed a bug with the Table Plugin where ObjectResized event wasn't being triggered on column resize.
1491
- Fixed so the selection is set to the first suitable caret position after editor.setContent called.
1492
- Fixed so links with xlink:href attributes are filtered correctly to prevent XSS.
1493
- Fixed a bug on IE11 where pasting content into an inline editor initialized on a heading element would create new editable elements.
1494
- Fixed a bug where readonly mode would not work as expected when the editor contained contentEditable=true elements.
1495
- Fixed a bug where the Link Plugin would throw an error when used together with the webcomponents polyfill. Patch contributed by 4esnog.
1496
- Fixed a bug where the "Powered by TinyMCE" branding link would break on XHTML pages. Patch contributed by tistre.
1497
- Fixed a bug where the same id would be used in the blobcache for all pasted images. Patch contributed by thorn0.
1498
 
1499
## 4.7.11 - 2018-04-11
1500
 
1501
### Added
1502
- Added a new imagetools_credentials_hosts option to the Imagetools Plugin.
1503
 
1504
### Fixed
1505
- Fixed a bug where toggling a list containing empty LIs would throw an error. Patch contributed by bradleyke.
1506
- Fixed a bug where applying block styles to a text with the caret at the end of the paragraph would select all text in the paragraph.
1507
- Fixed a bug where toggling on the Spellchecker Plugin would trigger isDirty on the editor.
1508
- Fixed a bug where it was possible to enter content into selection bookmark spans.
1509
- Fixed a bug where if a non paragraph block was configured in forced_root_block the editor.getContent method would return incorrect values with an empty editor.
1510
- Fixed a bug where dropdown menu panels stayed open and fixed in position when dragging dialog windows.
1511
- Fixed a bug where it wasn't possible to extend table cells with the space button in Safari.
1512
- Fixed a bug where the setupeditor event would thrown an error when using the Compat3x Plugin.
1513
- Fixed a bug where an error was thrown in FontInfo when called on a detached element.
1514
 
1515
## 4.7.10 - 2018-04-03
1516
 
1517
### Added
1518
- Added normalization of triple clicks across browsers in the editor.
1519
- Added a `hasFocus` method to the editor that checks if the editor has focus.
1520
- Added correct icon to the Nonbreaking Plugin menu item.
1521
 
1522
### Fixed
1523
- Fixed so the `getContent`/`setContent` methods work even if the editor is not initialized.
1524
- Fixed a bug with the Media Plugin where query strings were being stripped from youtube links.
1525
- Fixed a bug where image styles were changed/removed when opening and closing the Image Plugin dialog.
1526
- Fixed a bug in the Table Plugin where some table cell styles were not correctly added to the content html.
1527
- Fixed a bug in the Spellchecker Plugin where it wasn't possible to change the spellchecker language.
1528
- Fixed so the the unlink action in the Link Plugin has a menu item and can be added to the contextmenu.
1529
- Fixed a bug where it wasn't possible to keyboard navigate to the start of an inline element on a new line within the same block element.
1530
- Fixed a bug with the Text Color Plugin where if used with an inline editor located at the bottom of the screen the colorpicker could appear off screen.
1531
- Fixed a bug with the UndoManager where undo levels were being added for nbzwsp characters.
1532
- Fixed a bug with the Table Plugin where the caret would sometimes be lost when keyboard navigating up through a table.
1533
- Fixed a bug where FontInfo.getFontFamily would throw an error when called on a removed editor.
1534
- Fixed a bug in Firefox where undo levels were not being added correctly for some specific operations.
1535
- Fixed a bug where initializing an inline editor inside of a table would make the whole table resizeable.
1536
- Fixed a bug where the fake cursor that appears next to tables on Firefox was positioned incorrectly when switching to fullscreen.
1537
- Fixed a bug where zwsp's weren't trimmed from the output from `editor.getContent({ format: 'text' })`.
1538
- Fixed a bug where the fontsizeselect/fontselect toolbar items showed the body info rather than the first possible caret position info on init.
1539
- Fixed a bug where it wasn't possible to select all content if the editor only contained an inline boundary element.
1540
- Fixed a bug where `content_css` urls with query strings wasn't working.
1541
- Fixed a bug in the Table Plugin where some table row styles were removed when changing other styles in the row properties dialog.
1542
 
1543
### Removed
1544
- Removed the "read" step from the mobile theme.
1545
 
1546
## 4.7.9 - 2018-02-27
1547
 
1548
### Fixed
1549
- Fixed a bug where the editor target element didn't get the correct style when removing the editor.
1550
 
1551
## 4.7.8 - 2018-02-26
1552
 
1553
### Fixed
1554
- Fixed an issue with the Help Plugin where the menuitem name wasn't lowercase.
1555
- Fixed an issue on MacOS where text and bold text did not have the same line-height in the autocomplete dropdown in the Link Plugin dialog.
1556
- Fixed a bug where the "paste as text" option in the Paste Plugin didn't work.
1557
- Fixed a bug where dialog list boxes didn't get positioned correctly in documents with scroll.
1558
- Fixed a bug where the Inlite Theme didn't use the Table Plugin api to insert correct tables.
1559
- Fixed a bug where the Inlite Theme panel didn't hide on blur in a correct way.
1560
- Fixed a bug where placing the cursor before a table in Firefox would scroll to the bottom of the table.
1561
- Fixed a bug where selecting partial text in table cells with rowspans and deleting would produce faulty tables.
1562
- Fixed a bug where the Preview Plugin didn't work on Safari due to sandbox security.
1563
- Fixed a bug where table cell selection using the keyboard threw an error.
1564
- Fixed so the font size and font family doesn't toggle the text but only sets the selected format on the selected text.
1565
- Fixed so the built-in spellchecking on Chrome and Safari creates an undo level when replacing words.
1566
 
1567
## 4.7.7 - 2018-02-19
1568
 
1569
### Added
1570
- Added a border style selector to the advanced tab of the Image Plugin.
1571
- Added better controls for default table inserted by the Table Plugin.
1572
- Added new `table_responsive_width` option to the Table Plugin that controls whether to use pixel or percentage widths.
1573
 
1574
### Fixed
1575
- Fixed a bug where the Link Plugin text didn't update when a URL was pasted using the context menu.
1576
- Fixed a bug with the Spellchecker Plugin where using "Add to dictionary" in the context menu threw an error.
1577
- Fixed a bug in the Media Plugin where the preview node for iframes got default width and height attributes that interfered with width/height styles.
1578
- Fixed a bug where backslashes were being added to some font family names in Firefox in the fontselect toolbar item.
1579
- Fixed a bug where errors would be thrown when trying to remove an editor that had not yet been fully initialized.
1580
- Fixed a bug where the Imagetools Plugin didn't update the images atomically.
1581
- Fixed a bug where the Fullscreen Plugin was throwing errors when being used on an inline editor.
1582
- Fixed a bug where drop down menus weren't positioned correctly in inline editors on scroll.
1583
- Fixed a bug with a semicolon missing at the end of the bundled javascript files.
1584
- Fixed a bug in the Table Plugin with cursor navigation inside of tables where the cursor would sometimes jump into an incorrect table cells.
1585
- Fixed a bug where indenting a table that is a list item using the "Increase indent" button would create a nested table.
1586
- Fixed a bug where text nodes containing only whitespace were being wrapped by paragraph elements.
1587
- Fixed a bug where whitespace was being inserted after br tags inside of paragraph tags.
1588
- Fixed a bug where converting an indented paragraph to a list item would cause the list item to have extra padding.
1589
- Fixed a bug where Copy/Paste in an editor with a lot of content would cause the editor to scroll to the top of the content in IE11.
1590
- Fixed a bug with a memory leak in the DragHelper. Path contributed by ben-mckernan.
1591
- Fixed a bug where the advanced tab in the Media Plugin was being shown even if it didn't contain anything. Patch contributed by gabrieeel.
1592
- Fixed an outdated eventname in the EventUtils. Patch contributed by nazar-pc.
1593
- Fixed an issue where the Json.parse function would throw an error when being used on a page with strict CSP settings.
1594
- Fixed so you can place the curser before and after table elements within the editor in Firefox and Edge/IE.
1595
 
1596
## 4.7.6 - 2018-01-29
1597
 
1598
### Fixed
1599
- Fixed a bug in the jquery integration where it threw an error saying that "global is not defined".
1600
- Fixed a bug where deleting a table cell whose previous sibling was set to contenteditable false would create a corrupted table.
1601
- Fixed a bug where highlighting text in an unfocused editor did not work correctly in IE11/Edge.
1602
- Fixed a bug where the table resize handles were not being repositioned when activating the Fullscreen Plugin.
1603
- Fixed a bug where the Imagetools Plugin dialog didn't honor editor RTL settings.
1604
- Fixed a bug where block elements weren't being merged correctly if you deleted from after a contenteditable false element to the beginning of another block element.
1605
- Fixed a bug where TinyMCE didn't work with module loaders like webpack.
1606
 
1607
## 4.7.5 - 2018-01-22
1608
 
1609
### Fixed
1610
- Fixed bug with the Codesample Plugin where it wasn't possible to edit codesamples when the editor was in inline mode.
1611
- Fixed bug where focusing on the status bar broke the keyboard navigation functionality.
1612
- Fixed bug where an error would be thrown on Edge by the Table Plugin when pasting using the PowerPaste Plugin.
1613
- Fixed bug in the Table Plugin where selecting row border style from the dropdown menu in advanced row properties would throw an error.
1614
- Fixed bug with icons being rendered incorrectly on Chrome on Mac OS.
1615
- Fixed bug in the Textcolor Plugin where the font color and background color buttons wouldn't trigger an ExecCommand event.
1616
- Fixed bug in the Link Plugin where the url field wasn't forced LTR.
1617
- Fixed bug where the Nonbreaking Plugin incorrectly inserted spaces into tables.
1618
- Fixed bug with the inline theme where the toolbar wasn't repositioned on window resize.
1619
 
1620
## 4.7.4 - 2017-12-05
1621
 
1622
### Fixed
1623
- Fixed bug in the Nonbreaking Plugin where the nonbreaking_force_tab setting was being ignored.
1624
- Fixed bug in the Table Plugin where changing row height incorrectly converted column widths to pixels.
1625
- Fixed bug in the Table Plugin on Edge and IE11 where resizing the last column after resizing the table would cause invalid column heights.
1626
- Fixed bug in the Table Plugin where keyboard navigation was not normalized between browsers.
1627
- Fixed bug in the Table Plugin where the colorpicker button would show even without defining the colorpicker_callback.
1628
- Fixed bug in the Table Plugin where it wasn't possible to set the cell background color.
1629
- Fixed bug where Firefox would throw an error when intialising an editor on an element that is hidden or not yet added to the DOM.
1630
- Fixed bug where Firefox would throw an error when intialising an editor inside of a hidden iframe.
1631
 
1632
## 4.7.3 - 2017-11-23
1633
 
1634
### Added
1635
- Added functionality to open the Codesample Plugin dialog when double clicking on a codesample. Patch contributed by dakuzen.
1636
 
1637
### Fixed
1638
- Fixed bug where undo/redo didn't work correctly with some formats and caret positions.
1639
- Fixed bug where the color picker didn't show up in Table Plugin dialogs.
1640
- Fixed bug where it wasn't possible to change the width of a table through the Table Plugin dialog.
1641
- Fixed bug where the Charmap Plugin couldn't insert some special characters.
1642
- Fixed bug where editing a newly inserted link would not actually edit the link but insert a new link next to it.
1643
- Fixed bug where deleting all content in a table cell made it impossible to place the caret into it.
1644
- Fixed bug where the vertical alignment field in the Table Plugin cell properties dialog didn't do anything.
1645
- Fixed bug where an image with a caption showed two sets of resize handles in IE11.
1646
- Fixed bug where pressing the enter button inside of an h1 with contenteditable set to true would sometimes produce a p tag.
1647
- Fixed bug with backspace not working as expected before a noneditable element.
1648
- Fixed bug where operating on tables with invalid rowspans would cause an error to be thrown.
1649
- Fixed so a real base64 representation of the image is available on the blobInfo that the images_upload_handler gets called with.
1650
- Fixed so the image upload tab is available when the images_upload_handler is defined (and not only when the images_upload_url is defined).
1651
 
1652
## 4.7.2 - 2017-11-07
1653
 
1654
### Added
1655
- Added newly rewritten Table Plugin.
1656
- Added support for attributes with colon in valid_elements and addValidElements.
1657
- Added support for dailymotion short url in the Media Plugin. Patch contributed by maat8.
1658
- Added support for converting to half pt when converting font size from px to pt. Patch contributed by danny6514.
1659
- Added support for location hash to the Autosave plugin to make it work better with SPAs using hash routing.
1660
- Added support for merging table cells when pasting a table into another table.
1661
 
1662
### Changed
1663
- Changed so the language packs are only loaded once. Patch contributed by 0xor1.
1664
- Simplified the css for inline boundaries selection by switching to an attribute selector.
1665
 
1666
### Fixed
1667
- Fixed bug where an error would be thrown on editor initialization if the window.getSelection() returned null.
1668
- Fixed bug where holding down control or alt keys made the keyboard navigation inside an inline boundary not work as expected.
1669
- Fixed bug where applying formats in IE11 produced extra, empty paragraphs in the editor.
1670
- Fixed bug where the Word Count Plugin didn't count some mathematical operators correctly.
1671
- Fixed bug where removing an inline editor removed the element that the editor had been initialized on.
1672
- Fixed bug where setting the selection to the end of an editable container caused some formatting problems.
1673
- Fixed bug where an error would be thrown sometimes when an editor was removed because of the selection bookmark was being stored asynchronously.
1674
- Fixed a bug where an editor initialized on an empty list did not contain any valid cursor positions.
1675
- Fixed a bug with the Context Menu Plugin and webkit browsers on Mac where right-clicking inside a table would produce an incorrect selection.
1676
- Fixed bug where the Image Plugin constrain proportions setting wasn't working as expected.
1677
- Fixed bug where deleting the last character in a span with decorations produced an incorrect element when typing.
1678
- Fixed bug where focusing on inline editors made the toolbar flicker when moving between elements quickly.
1679
- Fixed bug where the selection would be stored incorrectly in inline editors when the mouseup event was fired outside the editor body.
1680
- Fixed bug where toggling bold at the end of an inline boundary would toggle off the whole word.
1681
- Fixed bug where setting the skin to false would not stop the loading of some skin css files.
1682
- Fixed bug in mobile theme where pinch-to-zoom would break after exiting the editor.
1683
- Fixed bug where sublists of a fully selected list would not be switched correctly when changing list style.
1684
- Fixed bug where inserting media by source would break the UndoManager.
1685
- Fixed bug where inserting some content into the editor with a specific selection would replace some content incorrectly.
1686
- Fixed bug where selecting all content with ctrl+a in IE11 caused problems with untoggling some formatting.
1687
- Fixed bug where the Search and Replace Plugin left some marker spans in the editor when undoing and redoing after replacing some content.
1688
- Fixed bug where the editor would not get a scrollbar when using the Fullscreen and Autoresize plugins together.
1689
- Fixed bug where the font selector would stop working correctly after selecting fonts three times.
1690
- Fixed so pressing the enter key inside of an inline boundary inserts a br after the inline boundary element.
1691
- Fixed a bug where it wasn't possible to use tab navigation inside of a table that was inside of a list.
1692
- Fixed bug where end_container_on_empty_block would incorrectly remove elements.
1693
- Fixed bug where content_styles weren't added to the Preview Plugin iframe.
1694
- Fixed so the beforeSetContent/beforeGetContent events are preventable.
1695
- Fixed bug where changing height value in Table Plugin advanced tab didn't do anything.
1696
- Fixed bug where it wasn't possible to remove formatting from content in beginning of table cell.
1697
 
1698
## 4.7.1 - 2017-10-09
1699
 
1700
### Fixed
1701
- Fixed bug where theme set to false on an inline editor produced an extra div element after the target element.
1702
- Fixed bug where the editor drag icon was misaligned with the branding set to false.
1703
- Fixed bug where doubled menu items were not being removed as expected with the removed_menuitems setting.
1704
- Fixed bug where the Table of contents plugin threw an error when initialized.
1705
- Fixed bug where it wasn't possible to add inline formats to text selected right to left.
1706
- Fixed bug where the paste from plain text mode did not work as expected.
1707
- Fixed so the style previews do not set color and background color when selected.
1708
- Fixed bug where the Autolink plugin didn't work as expected with some formats applied on an empty editor.
1709
- Fixed bug where the Textpattern plugin were throwing errors on some patterns.
1710
- Fixed bug where the Save plugin saved all editors instead of only the active editor. Patch contributed by dannoe.
1711
 
1712
## 4.7.0 - 2017-10-03
1713
 
1714
### Added
1715
- Added new mobile ui that is specifically designed for mobile devices.
1716
 
1717
### Changed
1718
- Updated the default skin to be more modern and white since white is preferred by most implementations.
1719
- Restructured the default menus to be more similar to common office suites like Google Docs.
1720
 
1721
### Fixed
1722
- Fixed so theme can be set to false on both inline and iframe editor modes.
1723
- Fixed bug where inline editor would add/remove the visualblocks css multiple times.
1724
- Fixed bug where selection wouldn't be properly restored when editor lost focus and commands where invoked.
1725
- Fixed bug where toc plugin would generate id:s for headers even though a toc wasn't inserted into the content.
1726
- Fixed bug where is wasn't possible to drag/drop contents within the editor if paste_data_images where set to true.
1727
- Fixed bug where getParam and close in WindowManager would get the first opened window instead of the last opened window.
1728
- Fixed bug where delete would delete between cells inside a table in Firefox.
1729
 
1730
## 4.6.7 - 2017-09-18
1731
 
1732
### Added
1733
- Added some missing translations to Image, Link and Help plugins.
1734
 
1735
### Fixed
1736
- Fixed bug where paste wasn't working in IOS.
1737
- Fixed bug where the Word Count Plugin didn't count some mathematical operators correctly.
1738
- Fixed bug where inserting a list in a table caused the cell to expand in height.
1739
- Fixed bug where pressing enter in a list located inside of a table deleted list items instead of inserting new list item.
1740
- Fixed bug where copy and pasting table cells produced inconsistent results.
1741
- Fixed bug where initializing an editor with an ID of 'length' would throw an exception.
1742
- Fixed bug where it was possible to split a non merged table cell.
1743
- Fixed bug where copy and pasting a list with a very specific selection into another list would produce a nested list.
1744
- Fixed bug where copy and pasting ordered lists sometimes produced unordered lists.
1745
- Fixed bug where padded elements inside other elements would be treated as empty.
1746
- Fixed so you can resize images inside a figure element.
1747
- Fixed bug where an inline TinyMCE editor initialized on a table did not set selection on load in Chrome.
1748
- Fixed the positioning of the inlite toolbar when the target element wasn't big enough to fit the toolbar.
1749
 
1750
## 4.6.6 - 2017-08-30
1751
 
1752
### Fixed
1753
- Fixed so that notifications wrap long text content instead of bleeding outside the notification element.
1754
- Fixed so the content_style css is added after the skin and custom stylesheets.
1755
- Fixed bug where it wasn't possible to remove a table with the Cut button.
1756
- Fixed bug where the center format wasn't getting the same font size as the other formats in the format preview.
1757
- Fixed bug where the wordcount plugin wasn't counting hyphenated words correctly.
1758
- Fixed bug where all content pasted into the editor was added to the end of the editor.
1759
- Fixed bug where enter keydown on list item selection only deleted content and didn't create a new line.
1760
- Fixed bug where destroying the editor while the content css was still loading caused error notifications on Firefox.
1761
- Fixed bug where undoing cut operation in IE11 left some unwanted html in the editor content.
1762
- Fixed bug where enter keydown would throw an error in IE11.
1763
- Fixed bug where duplicate instances of an editor were added to the editors array when using the createEditor API.
1764
- Fixed bug where the formatter applied formats on the wrong content when spellchecker was activated.
1765
- Fixed bug where switching formats would reset font size on child nodes.
1766
- Fixed bug where the table caption element weren't always the first descendant to the table tag.
1767
- Fixed bug where pasting some content into the editor on chrome some newlines were removed.
1768
- Fixed bug where it wasn't possible to remove a list if a list item was a table element.
1769
- Fixed bug where copy/pasting partial selections of tables wouldn't produce a proper table.
1770
- Fixed bug where the searchreplace plugin could not find consecutive spaces.
1771
- Fixed bug where background color wasn't applied correctly on some partially selected contents.
1772
 
1773
## 4.6.5 - 2017-08-02
1774
 
1775
### Added
1776
- Added new inline_boundaries_selector that allows you to specify the elements that should have boundaries.
1777
- Added new local upload feature this allows the user to upload images directly from the image dialog.
1778
- Added a new api for providing meta data for plugins. It will show up in the help dialog if it's provided.
1779
 
1780
### Fixed
1781
- Fixed so that the notifications created by the notification manager are more screen reader accessible.
1782
- Fixed bug where changing the list format on multiple selected lists didn't change all of the lists.
1783
- Fixed bug where the nonbreaking plugin would insert multiple undo levels when pressing the tab key.
1784
- Fixed bug where delete/backspace wouldn't render a caret when all editor contents where deleted.
1785
- Fixed bug where delete/backspace wouldn't render a caret if the deleted element was a single contentEditable false element.
1786
- Fixed bug where the wordcount plugin wouldn't count words correctly if word where typed after applying a style format.
1787
- Fixed bug where the wordcount plugin would count mathematical formulas as multiple words for example 1+1=2.
1788
- Fixed bug where formatting of triple clicked blocks on Chrome/Safari would result in styles being added outside the visual selection.
1789
- Fixed bug where paste would add the contents to the end of the editor area when inline mode was used.
1790
- Fixed bug where toggling off bold formatting on text entered in a new paragraph would add an extra line break.
1791
- Fixed bug where autolink plugin would only produce a link on every other consecutive link on Firefox.
1792
- Fixed bug where it wasn't possible to select all contents if the content only had one pre element.
1793
- Fixed bug where sizzle would produce lagging behavior on some sites due to repaints caused by feature detection.
1794
- Fixed bug where toggling off inline formats wouldn't include the space on selected contents with leading or trailing spaces.
1795
- Fixed bug where the cut operation in UI wouldn't work in Chrome.
1796
- Fixed bug where some legacy editor initialization logic would throw exceptions about editor settings not being defined.
1797
- Fixed bug where it wasn't possible to apply text color to links if they where part of a non collapsed selection.
1798
- Fixed bug where an exception would be thrown if the user selected a video element and then moved the focus outside the editor.
1799
- Fixed bug where list operations didn't work if there where block elements inside the list items.
1800
- Fixed bug where applying block formats to lists wrapped in block elements would apply to all elements in that wrapped block.
1801
 
1802
## 4.6.4 - 2017-06-13
1803
 
1804
### Fixed
1805
- Fixed bug where the editor would move the caret when clicking on the scrollbar next to a content editable false block.
1806
- Fixed bug where the text color select dropdowns wasn't placed correctly when they didn't fit the width of the screen.
1807
- Fixed bug where the default editor line height wasn't working for mixed font size contents.
1808
- Fixed bug where the content css files for inline editors were loaded multiple times for multiple editor instances.
1809
- Fixed bug where the initial value of the font size/font family dropdowns wasn't displayed.
1810
- Fixed bug where the I18n api was not supporting arrays as the translation replacement values.
1811
- Fixed bug where chrome would display "The given range isn't in document." errors for invalid ranges passed to setRng.
1812
- Fixed bug where the compat3x plugin wasn't working since the global tinymce references wasn't resolved correctly.
1813
- Fixed bug where the preview plugin wasn't encoding the base url passed into the iframe contents producing a xss bug.
1814
- Fixed bug where the dom parser/serializer wasn't handling some special elements like noframes, title and xmp.
1815
- Fixed bug where the dom parser/serializer wasn't handling cdata sections with comments inside.
1816
- Fixed bug where the editor would scroll to the top of the editable area if a dialog was closed in inline mode.
1817
- Fixed bug where the link dialog would not display the right rel value if rel_list was configured.
1818
- Fixed bug where the context menu would select images on some platforms but not others.
1819
- Fixed bug where the filenames of images were not retained on dragged and drop into the editor from the desktop.
1820
- Fixed bug where the paste plugin would misrepresent newlines when pasting plain text and having forced_root_block configured.
1821
- Fixed so that the error messages for the imagetools plugin is more human readable.
1822
- Fixed so the internal validate setting for the parser/serializer can't be set from editor initialization settings.
1823
 
1824
## 4.6.3 - 2017-05-30
1825
 
1826
### Fixed
1827
- Fixed bug where the arrow keys didn't work correctly when navigating on nested inline boundary elements.
1828
- Fixed bug where delete/backspace didn't work correctly on nested inline boundary elements.
1829
- Fixed bug where image editing didn't work on subsequent edits of the same image.
1830
- Fixed bug where charmap descriptions wouldn't properly wrap if they exceeded the width of the box.
1831
- Fixed bug where the default image upload handler only accepted 200 as a valid http status code.
1832
- Fixed so rel on target=_blank links gets forced with only noopener instead of both noopener and noreferrer.
1833
 
1834
## 4.6.2 - 2017-05-23
1835
 
1836
### Fixed
1837
- Fixed bug where the SaxParser would run out of memory on very large documents.
1838
- Fixed bug with formatting like font size wasn't applied to del elements.
1839
- Fixed bug where various api calls would be throwing exceptions if they where invoked on a removed editor instance.
1840
- Fixed bug where the branding position would be incorrect if the editor was inside a hidden tab and then later showed.
1841
- Fixed bug where the color levels feature in the imagetools dialog wasn't working properly.
1842
- Fixed bug where imagetools dialog wouldn't pre-load images from CORS domains, before trying to prepare them for editing.
1843
- Fixed bug where the tab key would move the caret to the next table cell if being pressed inside a list inside a table.
1844
- Fixed bug where the cut/copy operations would loose parent context like the current format etc.
1845
- Fixed bug with format preview not working on invalid elements excluded by valid_elements.
1846
- Fixed bug where blocks would be merged in incorrect order on backspace/delete.
1847
- Fixed bug where zero length text nodes would cause issues with the undo logic if there where iframes present.
1848
- Fixed bug where the font size/family select lists would throw errors if the first node was a comment.
1849
- Fixed bug with csp having to allow local script evaluation since it was used to detect global scope.
1850
- Fixed bug where CSP required a relaxed option for javascript: URLs in unsupported legacy browsers.
1851
- Fixed bug where a fake caret would be rendered for td with the contenteditable=false.
1852
- Fixed bug where typing would be blocked on IE 11 when within a nested contenteditable=true/false structure.
1853
 
1854
## 4.6.1 - 2017-05-10
1855
 
1856
### Added
1857
- Added configuration option to list plugin to disable tab indentation.
1858
 
1859
### Fixed
1860
- Fixed bug where format change on very specific content could cause the selection to change.
1861
- Fixed bug where TinyMCE could not be lazyloaded through jquery integration.
1862
- Fixed bug where entities in style attributes weren't decoded correctly on paste in webkit.
1863
- Fixed bug where fontsize_formats option had been renamed incorrectly.
1864
- Fixed bug with broken backspace/delete behaviour between contenteditable=false blocks.
1865
- Fixed bug where it wasn't possible to backspace to the previous line with the inline boundaries functionality turned on.
1866
- Fixed bug where is wasn't possible to move caret left and right around a linked image with the inline boundaries functionality turned on.
1867
- Fixed bug where pressing enter after/before hr element threw exception. Patch contributed bradleyke.
1868
- Fixed so the CSS in the visualblocks plugin doesn't overwrite background color. Patch contributed by Christian Rank.
1869
- Fixed bug where multibyte characters weren't encoded correctly. Patch contributed by James Tarkenton.
1870
- Fixed bug where shift-click to select within contenteditable=true fields wasn't working.
1871
 
1872
## 4.6.0 - 2017-05-04
1873
 
1874
### Added
1875
- Added an inline boundary caret position feature that makes it easier to type at the beginning/end of links/code elements.
1876
- Added a help plugin that adds a button and a dialog showing the editor shortcuts and loaded plugins.
1877
- Added an inline_boundaries option that allows you to disable the inline boundary feature if it's not desired.
1878
- Added a new ScrollIntoView event that allows you to override the default scroll to element behavior.
1879
- Added role and aria- attributes as valid elements in the default valid elements config.
1880
- Added new internal flag for PastePreProcess/PastePostProcess this is useful to know if the paste was coming from an external source.
1881
- Added new ignore function to UndoManager this works similar to transact except that it doesn't add an undo level by default.
1882
 
1883
### Fixed
1884
- Fixed so that urls gets retained for images when being edited. This url is then passed on to the upload handler.
1885
- Fixed so that the editors would be initialized on readyState interactive instead of complete.
1886
- Fixed so that the init event of the editor gets fired once all contentCSS files have been properly loaded.
1887
- Fixed so that width/height of the editor gets taken from the textarea element if it's explicitly specified in styles.
1888
- Fixed so that keep_styles set to false no longer clones class/style from the previous paragraph on enter.
1889
- Fixed so that the default line-height is 1.2em to avoid zwnbsp characters from producing text rendering glitches on Windows.
1890
- Fixed so that loading errors of content css gets presented by a notification message.
1891
- Fixed so figure image elements can be linked when selected this wraps the figure image in a anchor element.
1892
- Fixed bug where it wasn't possible to copy/paste rows with colspans by using the table copy/paste feature.
1893
- Fixed bug where the protect setting wasn't properly applied to header/footer parts when using the fullpage plugin.
1894
- Fixed bug where custom formats that specified upper case element names where not applied correctly.
1895
- Fixed bug where some screen readers weren't reading buttons due to an aria specific fix for IE 8.
1896
- Fixed bug where cut wasn't working correctly on iOS due to it's clipboard API not working correctly.
1897
- Fixed bug where Edge would paste div elements instead of paragraphs when pasting plain text.
1898
- Fixed bug where the textpattern plugin wasn't dealing with trailing punctuations correctly.
1899
- Fixed bug where image editing would some times change the image format from jpg to png.
1900
- Fixed bug where some UI elements could be inserted into the toolbar even if they where not registered.
1901
- Fixed bug where it was possible to click the TD instead of the character in the character map and that caused an exception.
1902
- Fixed bug where the font size/font family dropdowns would sometimes show an incorrect value due to css not being loaded in time.
1903
- Fixed bug with the media plugin inserting undefined instead of retaining size when media_dimensions was set to false.
1904
- Fixed bug with deleting images when forced_root_blocks where set to false.
1905
- Fixed bug where input focus wasn't properly handled on nested content editable elements.
1906
- Fixed bug where Chrome/Firefox would throw an exception when selecting images due to recent change of setBaseAndExtent support.
1907
- Fixed bug where malformed blobs would throw exceptions now they are simply ignored.
1908
- Fixed bug where backspace/delete wouldn't work properly in some cases where all contents was selected in WebKit.
1909
- Fixed bug with Angular producing errors since it was expecting events objects to be patched with their custom properties.
1910
- Fixed bug where the formatter would apply formatting to spellchecker errors now all bogus elements are excluded.
1911
- Fixed bug with backspace/delete inside table caption elements wouldn't behave properly on IE 11.
1912
- Fixed bug where typing after a contenteditable false inline element could move the caret to the end of that element.
1913
- Fixed bug where backspace before/after contenteditable false blocks wouldn't properly remove the right element.
1914
- Fixed bug where backspace before/after contenteditable false inline elements wouldn't properly empty the current block element.
1915
- Fixed bug where vertical caret navigation with a custom line-height would sometimes match incorrect positions.
1916
- Fixed bug with paste on Edge where character encoding wasn't handled properly due to a browser bug.
1917
- Fixed bug with paste on Edge where extra fragment data was inserted into the contents when pasting.
1918
- Fixed bug with pasting contents when having a whole block element selected on WebKit could cause WebKit spans to appear.
1919
- Fixed bug where the visualchars plugin wasn't working correctly showing invisible nbsp characters.
1920
- Fixed bug where browsers would hang if you tried to load some malformed html contents.
1921
- Fixed bug where the init call promise wouldn't resolve if the specified selector didn't find any matching elements.
1922
- Fixed bug where the Schema isValidChild function was case sensitive.
1923
 
1924
### Removed
1925
- Dropped support for IE 8-10 due to market share and lack of support from Microsoft. See tinymce docs for details.
1926
 
1927
## 4.5.3 - 2017-02-01
1928
 
1929
### Added
1930
- Added keyboard navigation for menu buttons when the menu is in focus.
1931
- Added api to the list plugin for setting custom classes/attributes on lists.
1932
- Added validation for the anchor plugin input field according to W3C id naming specifications.
1933
 
1934
### Fixed
1935
- Fixed bug where media placeholders were removed after resize with the forced_root_block setting set to false.
1936
- Fixed bug where deleting selections with similar sibling nodes sometimes deleted the whole document.
1937
- Fixed bug with inlite theme where several toolbars would appear scrolling when more than one instance of the editor was in use.
1938
- Fixed bug where the editor would throw error with the fontselect plugin on hidden editor instances in Firefox.
1939
- Fixed bug where the background color would not stretch to the font size.
1940
- Fixed bug where font size would be removed when changing background color.
1941
- Fixed bug where the undomanager trimmed away whitespace between nodes on undo/redo.
1942
- Fixed bug where media_dimensions=false in media plugin caused the editor to throw an error.
1943
- Fixed bug where IE was producing font/u elements within links on paste.
1944
- Fixed bug where some button tooltips were broken when compat3x was in use.
1945
- Fixed bug where backspace/delete/typeover would remove the caption element.
1946
- Fixed bug where powerspell failed to function when compat3x was enabled.
1947
- Fixed bug where it wasn't possible to apply sub/sup on text with large font size.
1948
- Fixed bug where pre tags with spaces weren't treated as content.
1949
- Fixed bug where Meta+A would select the entire document instead of all contents in nested ce=true elements.
1950
 
1951
## 4.5.2 - 2017-01-04
1952
 
1953
### Fixed
1954
- Added missing keyboard shortcut description for the underline menu item in the format menu.
1955
- Fixed bug where external blob urls wasn't properly handled by editor upload logic. Patch contributed by David Oviedo.
1956
- Fixed bug where urls wasn't treated as a single word by the wordcount plugin.
1957
- Fixed bug where nbsp characters wasn't treated as word delimiters by the wordcount plugin.
1958
- Fixed bug where editor instance wasn't properly passed to the format preview logic. Patch contributed by NullQuery.
1959
- Fixed bug where the fake caret wasn't hidden when you moved selection to a cE=false element.
1960
- Fixed bug where it wasn't possible to edit existing code sample blocks.
1961
- Fixed bug where it wasn't possible to delete editor contents if the selection included an empty block.
1962
- Fixed bug where the formatter wasn't expanding words on some international characters. Patch contributed by Martin Larochelle.
1963
- Fixed bug where the open link feature wasn't working correctly on IE 11.
1964
- Fixed bug where enter before/after a cE=false block wouldn't properly padd the paragraph with an br element.
1965
- Fixed so font size and font family select boxes always displays a value by using the runtime style as a fallback.
1966
- Fixed so missing plugins will be logged to console as warnings rather than halting the initialization of the editor.
1967
- Fixed so splitbuttons become normal buttons in advlist plugin if styles are empty. Patch contributed by René Schleusner.
1968
- Fixed so you can multi insert rows/cols by selecting table cells and using insert rows/columns.
1969
 
1970
## 4.5.1 - 2016-12-07
1971
 
1972
### Fixed
1973
- Fixed bug where the lists plugin wouldn't initialize without the advlist plugins if served from cdn.
1974
- Fixed bug where selectors with "*" would cause the style format preview to throw an error.
1975
- Fixed bug with toggling lists off on lists with empty list items would throw an error.
1976
- Fixed bug where editing images would produce non existing blob uris.
1977
- Fixed bug where the offscreen toc selection would be treated as the real toc element.
1978
- Fixed bug where the aria level attribute for element path would have an incorrect start index.
1979
- Fixed bug where the offscreen selection of cE=false that where very wide would be shown onscreen. Patch contributed by Steven Bufton.
1980
- Fixed so the default_link_target gets applied to links created by the autolink plugin.
1981
- Fixed so that the name attribute gets removed by the anchor plugin if editing anchors.
1982
 
1983
## 4.5.0 - 2016-11-23
1984
 
1985
### Added
1986
- Added new toc plugin allows you to insert table of contents based on editor headings.
1987
- Added new auto complete menu to all url fields. Adds history, link to anchors etc.
1988
- Added new sidebar api that allows you to add custom sidebar panels and buttons to toggle these.
1989
- Added new insert menu button that allows you to have multiple insert functions under the same menu button.
1990
- Added new open link feature to ctrl+click, alt+enter and context menu.
1991
- Added new media_embed_handler option to allow the media plugin to be populated with custom embeds.
1992
- Added new support for editing transparent images using the image tools dialog.
1993
- Added new images_reuse_filename option to allow filenames of images to be retained for upload.
1994
- Added new security feature where links with target="_blank" will by default get rel="noopener noreferrer".
1995
- Added new allow_unsafe_link_target to allow you to opt-out of the target="_blank" security feature.
1996
- Added new style_formats_autohide option to automatically hide styles based on context.
1997
- Added new codesample_content_css option to specify where the code sample prism css is loaded from.
1998
- Added new support for Japanese/Chinese word count following the unicode standards on this.
1999
- Added new fragmented undo levels this dramatically reduces flicker on contents with iframes.
2000
- Added new live previews for complex elements like table or lists.
2001
 
2002
### Fixed
2003
- Fixed bug where it wasn't possible to properly tab between controls in a dialog with a disabled form item control.
2004
- Fixed bug where firefox would generate a rectangle on elements produced after/before a cE=false elements.
2005
- Fixed bug with advlist plugin not switching list element format properly in some edge cases.
2006
- Fixed bug where col/rowspans wasn't correctly computed by the table plugin in some cases.
2007
- Fixed bug where the table plugin would thrown an error if object_resizing was disabled.
2008
- Fixed bug where some invalid markup would cause issues when running in XHTML mode. Patch contributed by Charles Bourasseau.
2009
- Fixed bug where the fullscreen class wouldn't be removed properly when closing dialogs.
2010
- Fixed bug where the PastePlainTextToggle event wasn't fired by the paste plugin when the state changed.
2011
- Fixed bug where table the row type wasn't properly updated in table row dialog. Patch contributed by Matthias Balmer.
2012
- Fixed bug where select all and cut wouldn't place caret focus back to the editor in WebKit. Patch contributed by Daniel Jalkut.
2013
- Fixed bug where applying cell/row properties to multiple cells/rows would reset other unchanged properties.
2014
- Fixed bug where some elements in the schema would have redundant/incorrect children.
2015
- Fixed bug where selector and target options would cause issues if used together.
2016
- Fixed bug where drag/drop of images from desktop on chrome would thrown an error.
2017
- Fixed bug where cut on WebKit/Blink wouldn't add an undo level.
2018
- Fixed bug where IE 11 would scroll to the cE=false elements when they where selected.
2019
- Fixed bug where keys like F5 wouldn't work when a cE=false element was selected.
2020
- Fixed bug where the undo manager wouldn't stop the typing state when commands where executed.
2021
- Fixed bug where unlink on wrapped links wouldn't work properly.
2022
- Fixed bug with drag/drop of images on WebKit where the image would be deleted form the source editor.
2023
- Fixed bug where the visual characters mode would be disabled when contents was extracted from the editor.
2024
- Fixed bug where some browsers would toggle of formats applied to the caret when clicking in the editor toolbar.
2025
- Fixed bug where the custom theme function wasn't working correctly.
2026
- Fixed bug where image option for custom buttons required you to have icon specified as well.
2027
- Fixed bug where the context menu and contextual toolbars would be visible at the same time and sometimes overlapping.
2028
- Fixed bug where the noneditable plugin would double wrap elements when using the noneditable_regexp option.
2029
- Fixed bug where tables would get padding instead of margin when you used the indent button.
2030
- Fixed bug where the charmap plugin wouldn't properly insert non breaking spaces.
2031
- Fixed bug where the color previews in color input boxes wasn't properly updated.
2032
- Fixed bug where the list items of previous lists wasn't merged in the right order.
2033
- Fixed bug where it wasn't possible to drag/drop inline-block cE=false elements on IE 11.
2034
- Fixed bug where some table cell merges would produce incorrect rowspan/colspan.
2035
- Fixed so the font size of the editor defaults to 14px instead of 11px this can be overridden by custom css.
2036
- Fixed so wordcount is debounced to reduce cpu hogging on larger texts.
2037
- Fixed so tinymce global gets properly exported as a module when used with some module bundlers.
2038
- Fixed so it's possible to specify what css properties you want to preview on specific formats.
2039
- Fixed so anchors are contentEditable=false while within the editor.
2040
- Fixed so selected contents gets wrapped in a inline code element by the codesample plugin.
2041
- Fixed so conditional comments gets properly stripped independent of case. Patch contributed by Georgii Dolzhykov.
2042
- Fixed so some escaped css sequences gets properly handled. Patch contributed by Georgii Dolzhykov.
2043
- Fixed so notifications with the same message doesn't get displayed at the same time.
2044
- Fixed so F10 can be used as an alternative key to focus to the toolbar.
2045
- Fixed various api documentation issues and typos.
2046
 
2047
### Removed
2048
- Removed layer plugin since it wasn't really ported from 3.x and there doesn't seem to be much use for it.
2049
- Removed moxieplayer.swf from the media plugin since it wasn't used by the media plugin.
2050
- Removed format state from the advlist plugin to be more consistent with common word processors.
2051
 
2052
## 4.4.3 - 2016-09-01
2053
 
2054
### Fixed
2055
- Fixed bug where copy would produce an exception on Chrome.
2056
- Fixed bug where deleting lists on IE 11 would merge in correct text nodes.
2057
- Fixed bug where deleting partial lists with indentation wouldn't cause proper normalization.
2058
 
2059
## 4.4.2 - 2016-08-25
2060
 
2061
### Added
2062
- Added new importcss_exclusive option to disable unique selectors per group.
2063
- Added new group specific selector_converter option to importcss plugin.
2064
- Added new codesample_languages option to apply custom languages to codesample plugin.
2065
- Added new codesample_dialog_width/codesample_dialog_height options.
2066
 
2067
### Fixed
2068
- Fixed bug where fullscreen button had an incorrect keyboard shortcut.
2069
- Fixed bug where backspace/delete wouldn't work correctly from a block to a cE=false element.
2070
- Fixed bug where smartpaste wasn't detecting links with special characters in them like tilde.
2071
- Fixed bug where the editor wouldn't get proper focus if you clicked on a cE=false element.
2072
- Fixed bug where it wasn't possible to copy/paste table rows that had merged cells.
2073
- Fixed bug where merging cells could some times produce invalid col/rowspan attibute values.
2074
- Fixed bug where getBody would sometimes thrown an exception now it just returns null if the iframe is clobbered.
2075
- Fixed bug where drag/drop of cE=false element wasn't properly constrained to viewport.
2076
- Fixed bug where contextmenu on Mac would collapse any selection to a caret.
2077
- Fixed bug where rtl mode wasn't rendered properly when loading a language pack with the rtl flag.
2078
- Fixed bug where Kamer word bounderies would be stripped from contents.
2079
- Fixed bug where lists would sometimes render two dots or numbers on the same line.
2080
- Fixed bug where the skin_url wasn't used by the inlite theme.
2081
- Fixed so data attributes are ignored when comparing formats in the formatter.
2082
- Fixed so it's possible to disable inline toolbars in the inlite theme.
2083
- Fixed so template dialog gets resized if it doesn't fit the window viewport.
2084
 
2085
## 4.4.1 - 2016-07-26
2086
 
2087
### Added
2088
- Added smart_paste option to paste plugin to allow disabling the paste behavior if needed.
2089
 
2090
### Fixed
2091
- Fixed bug where png urls wasn't properly detected by the smart paste logic.
2092
- Fixed bug where the element path wasn't working properly when multiple editor instances where used.
2093
- Fixed bug with creating lists out of multiple paragraphs would just create one list item instead of multiple.
2094
- Fixed bug where scroll position wasn't properly handled by the inlite theme to place the toolbar properly.
2095
- Fixed bug where multiple instances of the editor using the inlite theme didn't render the toolbar properly.
2096
- Fixed bug where the shortcut label for fullscreen mode didn't match the actual shortcut key.
2097
- Fixed bug where it wasn't possible to select cE=false blocks using touch devices on for example iOS.
2098
- Fixed bug where it was possible to select the child image within a cE=false on IE 11.
2099
- Fixed so inserts of html containing lists doesn't merge with any existing lists unless it's a paste operation.
2100
 
2101
## 4.4.0 - 2016-06-30
2102
 
2103
### Added
2104
- Added new inlite theme this is a more lightweight inline UI.
2105
- Added smarter paste logic that auto detects urls in the clipboard and inserts images/links based on that.
2106
- Added a better image resize algorithm for better image quality in the imagetools plugin.
2107
 
2108
### Fixed
2109
- Fixed bug where it wasn't possible to drag/dropping cE=false elements on FF.
2110
- Fixed bug where backspace/delete before/after a cE=false block would produce a new paragraph.
2111
- Fixed bug where list style type css property wasn't preserved when indenting lists.
2112
- Fixed bug where merging of lists where done even if the list style type was different.
2113
- Fixed bug where the image_dataimg_filter function wasn't used when pasting images.
2114
- Fixed bug where nested editable within a non editable element would cause scroll on focus in Chrome.
2115
- Fixed so invalid targets for inline mode is blocked on initialization. We only support elements that can have children.
2116
 
2117
## 4.3.13 - 2016-06-08
2118
 
2119
### Added
2120
- Added characters with a diacritical mark to charmap plugin. Patch contributed by Dominik Schilling.
2121
- Added better error handling if the image proxy service would produce errors.
2122
 
2123
### Fixed
2124
- Fixed issue with pasting list items into list items would produce nested list rather than a merged list.
2125
- Fixed bug where table selection could get stuck in selection mode for inline editors.
2126
- Fixed bug where it was possible to place the caret inside the resize grid elements.
2127
- Fixed bug where it wasn't possible to place in elements horizontally adjacent cE=false blocks.
2128
- Fixed bug where multiple notifications wouldn't be properly placed on screen.
2129
- Fixed bug where multiple editor instance of the same id could be produces in some specific integrations.
2130
 
2131
## 4.3.12 - 2016-05-10
2132
 
2133
### Fixed
2134
- Fixed bug where focus calls couldn't be made inside the editors PostRender event handler.
2135
- Fixed bug where some translations wouldn't work as expected due to a bug in editor.translate.
2136
- Fixed bug where the node change event could fire with a node out side the root of the editor.
2137
- Fixed bug where Chrome wouldn't properly present the keyboard paste clipboard details when paste was clicked.
2138
- Fixed bug where merged cells in tables couldn't be selected from right to left.
2139
- Fixed bug where insert row wouldn't properly update a merged cells rowspan property.
2140
- Fixed bug where the color input boxes preview field wasn't properly set on initialization.
2141
- Fixed bug where IME composition inside table cells wouldn't work as expected on IE 11.
2142
- Fixed so all shadow dom support is under and experimental flag due to flaky browser support.
2143
 
2144
## 4.3.11 - 2016-04-25
2145
 
2146
### Fixed
2147
- Fixed bug where it wasn't possible to insert empty blocks though the API unless they where padded.
2148
- Fixed bug where you couldn't type the Euro character on Windows.
2149
- Fixed bug where backspace/delete from a cE=false element to a text block didn't work properly.
2150
- Fixed bug where the text color default grid would render incorrectly.
2151
- Fixed bug where the codesample plugin wouldn't load the css in the editor for multiple editors.
2152
- Fixed so the codesample plugin textarea gets focused by default.
2153
 
2154
## 4.3.10 - 2016-04-12
2155
 
2156
### Fixed
2157
- Fixed bug where the key "y" on WebKit couldn't be entered due to conflict with keycode for F10 on keypress.
2158
 
2159
## 4.3.9 - 2016-04-12
2160
 
2161
### Added
2162
- Added support for focusing the contextual toolbars using keyboard.
2163
- Added keyboard support for slider UI controls. You can no increase/decrease using arrow keys.
2164
- Added url pattern matching for Dailymotion to media plugin. Patch contributed by Bertrand Darbon.
2165
- Added body_class to template plugin preview. Patch contributed by Milen Petrinski.
2166
- Added options to better override textcolor pickers with custom colors. Patch contributed by Xavier Boubert.
2167
- Added visual arrows to inline contextual toolbars so that they point to the element being active.
2168
 
2169
### Changed
2170
- Changed the Meta+Shift+F shortcut to Ctrl+Shift+F since Czech, Slovak, Polish languages used the first one for input.
2171
 
2172
### Fixed
2173
- Fixed so toolbars for tables or other larger elements get better positioned below the scrollable viewport.
2174
- Fixed bug where it was possible to click links inside cE=false blocks.
2175
- Fixed bug where event targets wasn't properly handled in Safari Technical Preview.
2176
- Fixed bug where drag/drop text in FF 45 would make the editor caret invisible.
2177
- Fixed bug where the remove state wasn't properly set on editor instances when detected as clobbered.
2178
- Fixed bug where offscreen selection of some cE=false elements would render onscreen. Patch contributed by Steven Bufton
2179
- Fixed bug where enter would clone styles out side the root on editors inside a span. Patch contributed by ChristophKaser.
2180
- Fixed bug where drag/drop of images into the editor didn't work correctly in FF.
2181
- Fixed so the first item in panels for the imagetools dialog gets proper keyboard focus.
2182
 
2183
## 4.3.8 - 2016-03-15
2184
 
2185
### Fixed
2186
- Fixed bug where inserting HR at the end of a block element would produce an extra empty block.
2187
- Fixed bug where links would be clickable when readonly mode was enabled.
2188
- Fixed bug where the formatter would normalize to the wrong node on very specific content.
2189
- Fixed bug where some nested list items couldn't be indented properly.
2190
- Fixed bug where links where clickable in the preview dialog.
2191
- Fixed so the alt attribute doesn't get padded with an empty value by default.
2192
- Fixed so nested alignment works more correctly. You will now alter the alignment to the closest block parent.
2193
 
2194
## 4.3.7 - 2016-03-02
2195
 
2196
### Fixed
2197
- Fixed bug where incorrect icons would be rendered for imagetools edit and color levels.
2198
- Fixed bug where navigation using arrow keys inside a SelectBox didn't move up/down.
2199
- Fixed bug where the visualblocks plugin would render borders round internal UI elements.
2200
 
2201
## 4.3.6 - 2016-03-01
2202
 
2203
### Added
2204
- Added new paste_remember_plaintext_info option to allow a global disable of the plain text mode notification.
2205
- Added new PastePlainTextToggle event that fires when plain text mode toggles on/off.
2206
 
2207
### Fixed
2208
- Fixed bug where it wasn't possible to select media elements since the drag logic would snap it to mouse cursor.
2209
- Fixed bug where it was hard to place the caret inside nested cE=true elements when the outer cE=false element was focused.
2210
- Fixed bug where editors wouldn't properly initialize if both selector and mode where used.
2211
- Fixed bug where IME input inside table cells would switch the IME off.
2212
- Fixed bug where selection inside the first table cell would cause the whole table cell to get selected.
2213
- Fixed bug where error handling of images being uploaded wouldn't properly handle faulty statuses.
2214
- Fixed bug where inserting contents before a HR would cause an exception to be thrown.
2215
- Fixed bug where copy/paste of Excel data would be inserted as an image.
2216
- Fixed caret position issues with copy/paste of inline block cE=false elements.
2217
- Fixed issues with various menu item focus bugs in Chrome. Where the focused menu bar item wasn't properly blurred.
2218
- Fixed so the notifications have a solid background since it would be hard to read if there where text under it.
2219
- Fixed so notifications gets animated similar to the ones used by dialogs.
2220
- Fixed so larger images that gets pasted is handled better.
2221
- Fixed so the window close button is more uniform on various platform and also increased it's hit area.
2222
 
2223
## 4.3.5 - 2016-02-11
2224
 
2225
Npm version bump due to package not being fully updated.
2226
 
2227
## 4.3.4 - 2016-02-11
2228
 
2229
### Added
2230
- Added new OpenWindow/CloseWindow events that gets fired when windows open/close.
2231
- Added new NewCell/NewRow events that gets fired when table cells/rows are created.
2232
- Added new Promise return value to tinymce.init makes it easier to handle initialization.
2233
 
2234
### Fixed
2235
- Fixed various bugs with drag/drop of contentEditable:false elements.
2236
- Fixed bug where deleting of very specific nested list items would result in an odd list.
2237
- Fixed bug where lists would get merged with adjacent lists outside the editable inline root.
2238
- Fixed bug where MS Edge would crash when closing a dialog then clicking a menu item.
2239
- Fixed bug where table cell selection would add undo levels.
2240
- Fixed bug where table cell selection wasn't removed when inline editor where removed.
2241
- Fixed bug where table cell selection wouldn't work properly on nested tables.
2242
- Fixed bug where table merge menu would be available when merging between thead and tbody.
2243
- Fixed bug where table row/column resize wouldn't get properly removed when the editor was removed.
2244
- Fixed bug where Chrome would scroll to the editor if there where a empty hash value in document url.
2245
- Fixed bug where the cache suffix wouldn't work correctly with the importcss plugin.
2246
- Fixed bug where selection wouldn't work properly on MS Edge on Windows Phone 10.
2247
- Fixed so adjacent pre blocks gets joined into one pre block since that seems like the user intent.
2248
- Fixed so events gets properly dispatched in shadow dom. Patch provided by Nazar Mokrynskyi.
2249
 
2250
### Removed
2251
- Removed the jQuery version the jQuery plugin is now moved into the main package.
2252
- Removed jscs from build process since eslint can now handle code style checking.
2253
 
2254
## 4.3.3 - 2016-01-14
2255
 
2256
### Added
2257
- Added new table_resize_bars configuration setting.  This setting allows you to disable the table resize bars.
2258
- Added new beforeInitialize event to tinymce.util.XHR lets you modify XHR properties before open. Patch contributed by Brent Clintel.
2259
- Added new autolink_pattern setting to autolink plugin. Enables you to override the default autolink formats. Patch contributed by Ben Tiedt.
2260
- Added new charmap option that lets you override the default charmap of the charmap plugin.
2261
- Added new charmap_append option that lets you add new characters to the default charmap of the charmap plugin.
2262
- Added new insertCustomChar event that gets fired when a character is inserted by the charmap plugin.
2263
 
2264
### Fixed
2265
- Fixed bug where table cells started with a superfluous &nbsp; in IE10+.
2266
- Fixed bug where table plugin would retain all BR tags when cells were merged.
2267
- Fixed bug where media plugin would strip underscores from youtube urls.
2268
- Fixed bug where IME input would fail on IE 11 if you typed within a table.
2269
- Fixed bug where double click selection of a word would remove the space before the word on insert contents.
2270
- Fixed bug where table plugin would produce exceptions when hovering tables with invalid structure.
2271
- Fixed bug where fullscreen wouldn't scroll back to it's original position when untoggled.
2272
- Fixed so the template plugins templates setting can be a function that gets a callback that can provide templates.
2273
 
2274
## 4.3.2 - 2015-12-14
2275
 
2276
### Fixed
2277
- Fixed bug where the resize bars for table cells were not affected by the object_resizing property.
2278
- Fixed bug where the contextual table toolbar would appear incorrectly if TinyMCE was initialized inline inside a table.
2279
- Fixed bug where resizing table cells did not fire a node change event or add an undo level.
2280
- Fixed bug where double click selection of text on IE 11 wouldn't work properly.
2281
- Fixed bug where codesample plugin would incorrectly produce br elements inside code elements.
2282
- Fixed bug where media plugin would strip dashes from youtube urls.
2283
- Fixed bug where it was possible to move the caret into the table resize bars.
2284
- Fixed bug where drag/drop into a cE=false element was possible on IE.
2285
 
2286
## 4.3.1 - 2015-11-30
2287
 
2288
### Fixed
2289
- Fixed so it's possible to disable the table inline toolbar by setting it to false or an empty string.
2290
- Fixed bug where it wasn't possible to resize some tables using the drag handles.
2291
- Fixed bug where unique id:s would clash for multiple editor instances and cE=false selections.
2292
- Fixed bug where the same plugin could be initialized multiple times.
2293
- Fixed bug where the table inline toolbars would be displayed at the same time as the image toolbars.
2294
- Fixed bug where the table selection rect wouldn't be removed when selecting another control element.
2295
 
2296
## 4.3.0 - 2015-11-23
2297
 
2298
### Added
2299
- Added new table column/row resize support. Makes it a lot more easy to resize the columns/rows in a table.
2300
- Added new table inline toolbar. Makes it easier to for example add new rows or columns to a table.
2301
- Added new notification API. Lets you display floating notifications to the end user.
2302
- Added new codesample plugin that lets you insert syntax highlighted pre elements into the editor.
2303
- Added new image_caption to images. Lets you create images with captions using a HTML5 figure/figcaption elements.
2304
- Added new live previews of embeded videos. Lets you play the video right inside the editor.
2305
- Added new setDirty method and "dirty" event to the editor. Makes it easier to track the dirty state change.
2306
- Added new setMode method to Editor instances that lets you dynamically switch between design/readonly.
2307
- Added new core support for contentEditable=false elements within the editor overrides the browsers broken behavior.
2308
 
2309
### Changed
2310
- Rewrote the noneditable plugin to use the new contentEditable false core logic.
2311
 
2312
### Fixed
2313
- Fixed so the dirty state doesn't set to false automatically when the undo index is set to 0.
2314
- Fixed the Selection.placeCaretAt so it works better on IE when the coordinate is between paragraphs.
2315
- Fixed bug where data-mce-bogus="all" element contents where counted by the word count plugin.
2316
- Fixed bug where contentEditable=false elements would be indented by the indent buttons.
2317
- Fixed bug where images within contentEditable=false would be selected in WebKit on mouse click.
2318
- Fixed bug in DOMUntils split method where the replacement parameter wouldn't work on specific cases.
2319
- Fixed bug where the importcss plugin would import classes from the skin content css file.
2320
- Fixed so all button variants have a wrapping span for it's text to make it easier to skin.
2321
- Fixed so it's easier to exit pre block using the arrow keys.
2322
- Fixed bug where listboxes with fix widths didn't render correctly.
2323
 
2324
## 4.2.8 - 2015-11-13
2325
 
2326
### Fixed
2327
- Fixed bug where it was possible to delete tables as the inline root element if all columns where selected.
2328
- Fixed bug where the UI buttons active state wasn't properly updated due to recent refactoring of that logic.
2329
 
2330
## 4.2.7 - 2015-10-27
2331
 
2332
### Fixed
2333
- Fixed bug where backspace/delete would remove all formats on the last paragraph character in WebKit/Blink.
2334
- Fixed bug where backspace within a inline format element with a bogus caret container would move the caret.
2335
- Fixed bug where backspace/delete on selected table cells wouldn't add an undo level.
2336
- Fixed bug where script tags embedded within the editor could sometimes get a mce- prefix prepended to them
2337
- Fixed bug where validate: false option could produce an error to be thrown from the Serialization step.
2338
- Fixed bug where inline editing of a table as the root element could let the user delete that table.
2339
- Fixed bug where inline editing of a table as the root element wouldn't properly handle enter key.
2340
- Fixed bug where inline editing of a table as the root element would normalize the selection incorrectly.
2341
- Fixed bug where inline editing of a list as the root element could let the user delete that list.
2342
- Fixed bug where inline editing of a list as the root element could let the user split that list.
2343
- Fixed bug where resize handles would be rendered on editable root elements such as table.
2344
 
2345
## 4.2.6 - 2015-09-28
2346
 
2347
### Added
2348
- Added capability to set request headers when using XHRs.
2349
- Added capability to upload local images automatically default delay is set to 30 seconds after editing images.
2350
- Added commands ids mceEditImage, mceAchor and mceMedia to be avaiable from execCommand.
2351
- Added Edge browser to saucelabs grunt task. Patch contributed by John-David Dalton.
2352
 
2353
### Fixed
2354
- Fixed bug where blob uris not produced by tinymce would produce HTML invalid markup.
2355
- Fixed bug where selection of contents of a nearly empty editor in Edge would sometimes fail.
2356
- Fixed bug where color styles woudln't be retained on copy/paste in Blink/Webkit.
2357
- Fixed bug where the table plugin would throw an error when inserting rows after a child table.
2358
- Fixed bug where the template plugin wouldn't handle functions as variable replacements.
2359
- Fixed bug where undo/redo sometimes wouldn't work properly when applying formatting collapsed ranges.
2360
- Fixed bug where shift+delete wouldn't do a cut operation on Blink/WebKit.
2361
- Fixed bug where cut action wouldn't properly store the before selection bookmark for the undo level.
2362
- Fixed bug where backspace in side an empty list element on IE would loose editor focus.
2363
- Fixed bug where the save plugin wouldn't enable the buttons when a change occurred.
2364
- Fixed bug where Edge wouldn't initialize the editor if a document.domain was specified.
2365
- Fixed bug where enter key before nested images would sometimes not properly expand the previous block.
2366
- Fixed bug where the inline toolbars wouldn't get properly hidden when blurring the editor instance.
2367
- Fixed bug where Edge would paste Chinese characters on some Windows 10 installations.
2368
- Fixed bug where IME would loose focus on IE 11 due to the double trailing br bug fix.
2369
- Fixed bug where the proxy url in imagetools was incorrect. Patch contributed by Wong Ho Wang.
2370
 
2371
## 4.2.5 - 2015-08-31
2372
 
2373
### Added
2374
- Added fullscreen capability to embedded youtube and vimeo videos.
2375
 
2376
### Fixed
2377
- Fixed bug where the uploadImages call didn't work on IE 10.
2378
- Fixed bug where image place holders would be uploaded by uploadImages call.
2379
- Fixed bug where images marked with bogus would be uploaded by the uploadImages call.
2380
- Fixed bug where multiple calls to uploadImages would result in decreased performance.
2381
- Fixed bug where pagebreaks were editable to imagetools patch contributed by Rasmus Wallin.
2382
- Fixed bug where the element path could cause too much recursion exception.
2383
- Fixed bug for domains containing ".min". Patch contributed by Loïc Février.
2384
- Fixed so validation of external links to accept a number after www. Patch contributed by Victor Carvalho.
2385
- Fixed so the charmap is exposed though execCommand. Patch contributed by Matthew Will.
2386
- Fixed so that the image uploads are concurrent for improved performance.
2387
- Fixed various grammar problems in inline documentation. Patches provided by nikolas.
2388
 
2389
## 4.2.4 - 2015-08-17
2390
 
2391
### Added
2392
- Added picture as a valid element to the HTML 5 schema. Patch contributed by Adam Taylor.
2393
 
2394
### Fixed
2395
- Fixed bug where contents would be duplicated on drag/drop within the same editor.
2396
- Fixed bug where floating/alignment of images on Edge wouldn't work properly.
2397
- Fixed bug where it wasn't possible to drag images on IE 11.
2398
- Fixed bug where image selection on Edge would sometimes fail.
2399
- Fixed bug where contextual toolbars icons wasn't rendered properly when using the toolbar_items_size.
2400
- Fixed bug where searchreplace dialog doesn't get prefilled with the selected text.
2401
- Fixed bug where fragmented matches wouldn't get properly replaced by the searchreplace plugin.
2402
- Fixed bug where enter key wouldn't place the caret if was after a trailing space within an inline element.
2403
- Fixed bug where the autolink plugin could produce multiple links for the same text on Gecko.
2404
- Fixed bug where EditorUpload could sometimes throw an exception if the blob wasn't found.
2405
- Fixed xss issues with media plugin not properly filtering out some script attributes.
2406
 
2407
## 4.2.3 - 2015-07-30
2408
 
2409
### Fixed
2410
- Fixed bug where image selection wasn't possible on Edge due to incompatible setBaseAndExtend API.
2411
- Fixed bug where image blobs urls where not properly destroyed by the imagetools plugin.
2412
- Fixed bug where keyboard shortcuts wasn't working correctly on IE 8.
2413
- Fixed skin issue where the borders of panels where not visible on IE 8.
2414
 
2415
## 4.2.2 - 2015-07-22
2416
 
2417
### Fixed
2418
- Fixed bug where float panels were not being hidden on inline editor blur when fixed_toolbar_container config option was in use.
2419
- Fixed bug where combobox states wasn't properly updated if contents where updated without keyboard.
2420
- Fixed bug where pasting into textbox or combobox would move the caret to the end of text.
2421
- Fixed bug where removal of bogus span elements before block elements would remove whitespace between nodes.
2422
- Fixed bug where repositioning of inline toolbars where async and producing errors if the editor was removed from DOM to early. Patch by iseulde.
2423
- Fixed bug where element path wasn't working correctly. Patch contributed by iseulde.
2424
- Fixed bug where menus wasn't rendered correctly when custom images where added to a menu. Patch contributed by Naim Hammadi.
2425
 
2426
## 4.2.1 - 2015-06-29
2427
 
2428
### Fixed
2429
- Fixed bug where back/forward buttons in the browser would render blob images as broken images.
2430
- Fixed bug where Firefox would throw regexp to big error when replacing huge base64 chunks.
2431
- Fixed bug rendering issues with resize and context toolbars not being placed properly until next animation frame.
2432
- Fixed bug where the rendering of the image while cropping would some times not be centered correctly.
2433
- Fixed bug where listbox items with submenus would me selected as active.
2434
- Fixed bug where context menu where throwing an error when rendering.
2435
- Fixed bug where resize both option wasn't working due to resent addClass API change. Patch contributed by Jogai.
2436
- Fixed bug where a hideAll call for container rendered inline toolbars would throw an error.
2437
- Fixed bug where onclick event handler on combobox could cause issues if element.id was a function by some polluting libraries.
2438
- Fixed bug where listboxes wouldn't get proper selected sub menu item when using link_list or image_list.
2439
- Fixed so the UI controls are as wide as 4.1.x to avoid wrapping controls in toolbars.
2440
- Fixed so the imagetools dialog is adaptive for smaller screen sizes.
2441
 
2442
## 4.2.0 - 2015-06-25
2443
 
2444
### Added
2445
- Added new flat default skin to make the UI more modern.
2446
- Added new imagetools plugin, lets you crop/resize and apply filters to images.
2447
- Added new contextual toolbars support to the API lets you add floating toolbars for specific CSS selectors.
2448
- Added new promise feature fill as tinymce.util.Promise.
2449
- Added new built in image upload feature lets you upload any base64 encoded image within the editor as files.
2450
 
2451
### Fixed
2452
- Fixed bug where resize handles would appear in the right position in the wrong editor when switching between resizable content in different inline editors.
2453
- Fixed bug where tables would not be inserted in inline mode due to previous float panel fix.
2454
- Fixed bug where floating panels would remain open when focus was lost on inline editors.
2455
- Fixed bug where cut command on Chrome would thrown a browser security exception.
2456
- Fixed bug where IE 11 sometimes would report an incorrect size for images in the image dialog.
2457
- Fixed bug where it wasn't possible to remove inline formatting at the end of block elements.
2458
- Fixed bug where it wasn't possible to delete table cell contents when cell selection was vertical.
2459
- Fixed bug where table cell wasn't emptied from block elements if delete/backspace where pressed in empty cell.
2460
- Fixed bug where cmd+shift+arrow didn't work correctly on Firefox mac when selecting to start/end of line.
2461
- Fixed bug where removal of bogus elements would sometimes remove whitespace between nodes.
2462
- Fixed bug where the resize handles wasn't updated when the main window was resized.
2463
- Fixed so script elements gets removed by default to prevent possible XSS issues in default config implementations.
2464
- Fixed so the UI doesn't need manual reflows when using non native layout managers.
2465
- Fixed so base64 encoded images doesn't slow down the editor on modern browsers while editing.
2466
- Fixed so all UI elements uses touch events to improve mobile device support.
2467
- Removed the touch click quirks patch for iOS since it did more harm than good.
2468
- Removed the non proportional resize handles since. Unproportional resize can still be done by holding the shift key.
2469
 
2470
## 4.1.10 - 2015-05-05
2471
 
2472
### Fixed
2473
- Fixed bug where plugins loaded with compat3x would sometimes throw errors when loading using the jQuery version.
2474
- Fixed bug where extra empty paragraphs would get deleted in WebKit/Blink due to recent Quriks fix.
2475
- Fixed bug where the editor wouldn't work properly on IE 12 due to some required browser sniffing.
2476
- Fixed bug where formatting shortcut keys where interfering with Mac OS X screenshot keys.
2477
- Fixed bug where the caret wouldn't move to the next/previous line boundary on Cmd+Left/Right on Gecko.
2478
- Fixed bug where it wasn't possible to remove formats from very specific nested contents.
2479
- Fixed bug where undo levels wasn't produced when typing letters using the shift or alt+ctrl modifiers.
2480
- Fixed bug where the dirty state wasn't properly updated when typing using the shift or alt+ctrl modifiers.
2481
- Fixed bug where an error would be thrown if an autofocused editor was destroyed quickly after its initialization. Patch provided by thorn0.
2482
- Fixed issue with dirty state not being properly updated on redo operation.
2483
- Fixed issue with entity decoder not handling incorrectly written numeric entities.
2484
- Fixed issue where some PI element values wouldn't be properly encoded.
2485
 
2486
## 4.1.9 - 2015-03-10
2487
 
2488
### Fixed
2489
- Fixed bug where indentation wouldn't work properly for non list elements.
2490
- Fixed bug with image plugin not pulling the image dimensions out correctly if a custom document_base_url was used.
2491
- Fixed bug where ctrl+alt+[1-9] would conflict with the AltGr+[1-9] on Windows. New shortcuts is ctrl+shift+[1-9].
2492
- Fixed bug with removing formatting on nodes in inline mode would sometimes include nodes outside the editor body.
2493
- Fixed bug where extra nbsp:s would be inserted when you replaced a word surrounded by spaces using insertContent.
2494
- Fixed bug with pasting from Google Docs would produce extra strong elements and line feeds.
2495
 
2496
## 4.1.8 - 2015-03-05
2497
 
2498
### Added
2499
- Added new html5 sizes attribute to img elements used together with srcset.
2500
- Added new elementpath option that makes it possible to disable the element path but keep the statusbar.
2501
- Added new option table_style_by_css for the table plugin to set table styling with css rather than table attributes.
2502
- Added new link_assume_external_targets option to prompt the user to prepend http:// prefix if the supplied link does not contain a protocol prefix.
2503
- Added new image_prepend_url option to allow a custom base path/url to be added to images.
2504
- Added new table_appearance_options option to make it possible to disable some options.
2505
- Added new image_title option to make it possible to alter the title of the image, disabled by default.
2506
 
2507
### Fixed
2508
- Fixed bug where selection starting from out side of the body wouldn't produce a proper selection range on IE 11.
2509
- Fixed bug where pressing enter twice before a table moves the cursor in the table and causes a javascript error.
2510
- Fixed bug where advanced image styles were not respected.
2511
- Fixed bug where the less common Shift+Delete didn't produce a proper cut operation on WebKit browsers.
2512
- Fixed bug where image/media size constrain logic would produce NaN when handling non number values.
2513
- Fixed bug where internal classes where removed by the removeformat command.
2514
- Fixed bug with creating links table cell contents with a specific selection would throw a exceptions on WebKit/Blink.
2515
- Fixed bug where valid_classes option didn't work as expected according to docs. Patch provided by thorn0.
2516
- Fixed bug where jQuery plugin would patch the internal methods multiple times. Patch provided by Drew Martin.
2517
- Fixed bug where backspace key wouldn't delete the current selection of newly formatted content.
2518
- Fixed bug where type over of inline formatting elements wouldn't properly keep the format on WebKit/Blink.
2519
- Fixed bug where selection needed to be properly normalized on modern IE versions.
2520
- Fixed bug where Command+Backspace didn't properly delete the whole line of text but the previous word.
2521
- Fixed bug where UI active states wheren't properly updated on IE if you placed caret within the current range.
2522
- Fixed bug where delete/backspace on WebKit/Blink would remove span elements created by the user.
2523
- Fixed bug where delete/backspace would produce incorrect results when deleting between two text blocks with br elements.
2524
- Fixed bug where captions where removed when pasting from MS Office.
2525
- Fixed bug where lists plugin wouldn't properly remove fully selected nested lists.
2526
- Fixed bug where the ttf font used for icons would throw an warning message on Gecko on Mac OS X.
2527
- Fixed a bug where applying a color to text did not update the undo/redo history.
2528
- Fixed so shy entities gets displayed when using the visualchars plugin.
2529
- Fixed so removeformat removes ins/del by default since these might be used for strikethough.
2530
- Fixed so multiple language packs can be loaded and added to the global I18n data structure.
2531
- Fixed so transparent color selection gets treated as a normal color selection. Patch contributed by Alexander Hofbauer.
2532
- Fixed so it's possible to disable autoresize_overflow_padding, autoresize_bottom_margin options by setting them to false.
2533
- Fixed so the charmap plugin shows the description of the character in the dialog. Patch contributed by Jelle Hissink.
2534
- Removed address from the default list of block formats since it tends to be missused.
2535
- Fixed so the pre block format is called preformatted to make it more verbose.
2536
- Fixed so it's possible to context scope translation strings this isn't needed most of the time.
2537
- Fixed so the max length of the width/height input fields of the media dialog is 5 instead of 3.
2538
- Fixed so drag/dropped contents gets properly processed by paste plugin since it's basically a paste. Patch contributed by Greg Fairbanks.
2539
- Fixed so shortcut keys for headers is ctrl+alt+[1-9] instead of ctrl+[1-9] since these are for switching tabs in the browsers.
2540
- Fixed so "u" doesn't get converted into a span element by the legacy input filter. Since this is now a valid HTML5 element.
2541
- Fixed font families in order to provide appropriate web-safe fonts.
2542
 
2543
## 4.1.7 - 2014-11-27
2544
 
2545
### Added
2546
- Added HTML5 schema support for srcset, source and picture. Patch contributed by mattheu.
2547
- Added new cache_suffix setting to enable cache busting by producing unique urls.
2548
- Added new paste_convert_word_fake_lists option to enable users to disable the fake lists convert logic.
2549
 
2550
### Fixed
2551
- Fixed so advlist style changes adds undo levels for each change.
2552
- Fixed bug where WebKit would sometimes produce an exception when the autolink plugin where looking for URLs.
2553
- Fixed bug where IE 7 wouldn't be rendered properly due to aggressive css compression.
2554
- Fixed bug where DomQuery wouldn't accept window as constructor element.
2555
- Fixed bug where the color picker in 3.x dialogs wouldn't work properly. Patch contributed by Callidior.
2556
- Fixed bug where the image plugin wouldn't respect the document_base_url.
2557
- Fixed bug where the jQuery plugin would fail to append to elements named array prototype names.
2558
 
2559
## 4.1.6 - 2014-10-08
2560
 
2561
### Changed
2562
- Replaced jake with grunt since it is more mainstream and has better plugin support.
2563
 
2564
### Fixed
2565
- Fixed bug with clicking on the scrollbar of the iframe would cause a JS error to be thrown.
2566
- Fixed bug where null would produce an exception if you passed it to selection.setRng.
2567
- Fixed bug where Ctrl/Cmd+Tab would indent the current list item if you switched tabs in the browser.
2568
- Fixed bug where pasting empty cells from Excel would result in a broken table.
2569
- Fixed bug where it wasn't possible to switch back to default list style type.
2570
- Fixed issue where the select all quirk fix would fire for other modifiers than Ctrl/Cmd combinations.
2571
 
2572
 
2573
## 4.1.5 - 2014-09-09
2574
 
2575
### Fixed
2576
- Fixed bug where sometimes the resize rectangles wouldn't properly render on images on WebKit/Blink.
2577
- Fixed bug in list plugin where delete/backspace would merge empty LI elements in lists incorrectly.
2578
- Fixed bug where empty list elements would result in empty LI elements without it's parent container.
2579
- Fixed bug where backspace in empty caret formatted element could produce an type error exception of Gecko.
2580
- Fixed bug where lists pasted from word with a custom start index above 9 wouldn't be properly handled.
2581
- Fixed bug where tabfocus plugin would tab out of the editor instance even if the default action was prevented.
2582
- Fixed bug where tabfocus wouldn't tab properly to other adjacent editor instances.
2583
- Fixed bug where the DOMUtils setStyles wouldn't properly removed or update the data-mce-style attribute.
2584
- Fixed bug where dialog select boxes would be placed incorrectly if document.body wasn't statically positioned.
2585
- Fixed bug where pasting would sometimes scroll to the top of page if the user was using the autoresize plugin.
2586
- Fixed bug where caret wouldn't be properly rendered by Chrome when clicking on the iframes documentElement.
2587
- Fixed so custom images for menubutton/splitbutton can be provided. Patch contributed by Naim Hammadi.
2588
- Fixed so the default action of windows closing can be prevented by blocking the default action of the close event.
2589
- Fixed so nodeChange and focus of the editor isn't automatically performed when opening sub dialogs.
2590
 
2591
## 4.1.4 - 2014-08-21
2592
 
2593
### Added
2594
- Added new media_filter_html option to media plugin that blocks any conditional comments, scripts etc within a video element.
2595
- Added new content_security_policy option allows you to set custom policy for iframe contents. Patch contributed by Francois Chagnon.
2596
 
2597
### Fixed
2598
- Fixed bug where activate/deactivate events wasn't firing properly when switching between editors.
2599
- Fixed bug where placing the caret on iOS was difficult due to a WebKit bug with touch events.
2600
- Fixed bug where the resize helper wouldn't render properly on older IE versions.
2601
- Fixed bug where resizing images inside tables on older IE versions would sometimes fail depending mouse position.
2602
- Fixed bug where editor.insertContent would produce an exception when inserting select/option elements.
2603
- Fixed bug where extra empty paragraphs would be produced if block elements where inserted inside span elements.
2604
- Fixed bug where the spellchecker menu item wouldn't be properly checked if spell checking was started before it was rendered.
2605
- Fixed bug where the DomQuery filter function wouldn't remove non elements from collection.
2606
- Fixed bug where document with custom document.domain wouldn't properly render the editor.
2607
- Fixed bug where IE 8 would throw exception when trying to enter invalid color values into colorboxes.
2608
- Fixed bug where undo manager could incorrectly add an extra undo level when custom resize handles was removed.
2609
- Fixed bug where it wouldn't be possible to alter cell properties properly on table cells on IE 8.
2610
- Fixed so the color picker button in table dialog isn't shown unless you include the colorpicker plugin or add your own custom color picker.
2611
- Fixed so activate/deactivate events fire when windowManager opens a window since.
2612
- Fixed so the table advtab options isn't separated by an underscore to normalize naming with image_advtab option.
2613
- Fixed so the table cell dialog has proper padding when the advanced tab in disabled.
2614
 
2615
## 4.1.3 - 2014-07-29
2616
 
2617
### Added
2618
- Added event binding logic to tinymce.util.XHR making it possible to override headers and settings before any request is made.
2619
 
2620
### Fixed
2621
- Fixed bug where drag events wasn't fireing properly on older IE versions since the event handlers where bound to document.
2622
- Fixed bug where drag/dropping contents within the editor on IE would force the contents into plain text mode even if it was internal content.
2623
- Fixed bug where IE 7 wouldn't open menus properly due to a resize bug in the browser auto closing them immediately.
2624
- Fixed bug where the DOMUtils getPos logic wouldn't produce a valid coordinate inside the body if the body was positioned non static.
2625
- Fixed bug where the element path and format state wasn't properly updated if you had the wordcount plugin enabled.
2626
- Fixed bug where a comment at the beginning of source would produce an exception in the formatter logic.
2627
- Fixed bug where setAttrib/getAttrib on null would throw exception together with any hooked attributes like style.
2628
- Fixed bug where table sizes wasn't properly retained when copy/pasting on WebKit/Blink.
2629
- Fixed bug where WebKit/Blink would produce colors in RGB format instead of the forced HEX format when deleting contents.
2630
- Fixed bug where the width attribute wasn't updated on tables if you changed the size inside the table dialog.
2631
- Fixed bug where control selection wasn't properly handled when the caret was placed directly after an image.
2632
- Fixed bug where selecting the contents of table cells using the selection.select method wouldn't place the caret properly.
2633
- Fixed bug where the selection state for images wasn't removed when placing the caret right after an image on WebKit/Blink.
2634
- Fixed bug where all events wasn't properly unbound when and editor instance was removed or destroyed by some external innerHTML call.
2635
- Fixed bug where it wasn't possible or very hard to select images on iOS when the onscreen keyboard was visible.
2636
- Fixed so auto_focus can take a boolean argument this will auto focus the last initialized editor might be useful for single inits.
2637
- Fixed so word auto detect lists logic works better for faked lists that doesn't have specific markup.
2638
- Fixed so nodeChange gets fired on mouseup as it used to before 4.1.1 we optimized that event to fire less often.
2639
 
2640
### Removed
2641
- Removed the finish menu item from spellchecker menu since it's redundant you can stop spellchecking by toggling menu item or button.
2642
 
2643
## 4.1.2 - 2014-07-15
2644
 
2645
### Added
2646
- Added offset/grep to DomQuery class works basically the same as it's jQuery equivalent.
2647
 
2648
### Fixed
2649
- Fixed bug where backspace/delete or setContent with an empty string would remove header data when using the fullpage plugin.
2650
- Fixed bug where tinymce.remove with a selector not matching any editors would remove all editors.
2651
- Fixed bug where resizing of the editor didn't work since the theme was calling setStyles instead of setStyle.
2652
- Fixed bug where IE 7 would fail to append html fragments to iframe document when using DomQuery.
2653
- Fixed bug where the getStyle DOMUtils method would produce an exception if it was called with null as it's element.
2654
- Fixed bug where the paste plugin would remove the element if the none of the paste_webkit_styles rules matched the current style.
2655
- Fixed bug where contextmenu table items wouldn't work properly on IE since it would some times fire an incorrect selection change.
2656
- Fixed bug where the padding/border values wasn't used in the size calculation for the body size when using autoresize. Patch contributed by Matt Whelan.
2657
- Fixed bug where conditional word comments wouldn't be properly removed when pasting plain text.
2658
- Fixed bug where resizing would sometime fail on IE 11 when the mouseup occurred inside the resizable element.
2659
- Fixed so the iframe gets initialized without any inline event handlers for better CSP support. Patch contributed by Matt Whelan.
2660
- Fixed so the tinymce.dom.Sizzle is the latest version of sizzle this resolves the document context bug.
2661
 
2662
## 4.1.1 - 2014-07-08
2663
 
2664
### Fixed
2665
- Fixed bug where pasting plain text on some WebKit versions would result in an empty line.
2666
- Fixed bug where resizing images inside tables on IE 11 wouldn't work properly.
2667
- Fixed bug where IE 11 would sometimes throw "Invalid argument" exception when editor contents was set to an empty string.
2668
- Fixed bug where document.activeElement would throw exceptions on IE 9 when that element was hidden or removed from dom.
2669
- Fixed bug where WebKit/Blink sometimes produced br elements with the Apple-interchange-newline class.
2670
- Fixed bug where table cell selection wasn't properly removed when copy/pasting table cells.
2671
- Fixed bug where pasting nested list items from Word wouldn't produce proper semantic nested lists.
2672
- Fixed bug where right clicking using the contextmenu plugin on WebKit/Blink on Mac OS X would select the target current word or line.
2673
- Fixed bug where it wasn't possible to alter table cell properties on IE 8 using the context menu.
2674
- Fixed bug where the resize helper wouldn't be correctly positioned on older IE versions.
2675
- Fixed bug where fullpage plugin would produce an error if you didn't specify a doctype encoding.
2676
- Fixed bug where anchor plugin would get the name/id of the current element even if it wasn't anchor element.
2677
- Fixed bug where visual aids for tables wouldn't be properly disabled when changing the border size.
2678
- Fixed bug where some control selection events wasn't properly fired on older IE versions.
2679
- Fixed bug where table cell selection on older IE versions would prevent resizing of images.
2680
- Fixed bug with paste_data_images paste option not working properly on modern IE versions.
2681
- Fixed bug where custom elements with underscores in the name wasn't properly parsed/serialized.
2682
- Fixed bug where applying inline formats to nested list elements would produce an incorrect formatting result.
2683
- Fixed so it's possible to hide items from elements path by using preventDefault/stopPropagation.
2684
- Fixed so inline mode toolbar gets rendered right aligned if the editable element positioned to the documents right edge.
2685
- Fixed so empty inline elements inside empty block elements doesn't get removed if configured to be kept intact.
2686
- Fixed so DomQuery parentsUntil/prevUntil/nextUntil supports selectors/elements/filters etc.
2687
- Fixed so legacyoutput plugin overrides fontselect and fontsizeselect controls and handles font elements properly.
2688
 
2689
## 4.1.0 - 2014-06-18
2690
 
2691
### Added
2692
- Added new file_picker_callback option to replace the old file_browser_callback the latter will still work though.
2693
- Added new custom colors to textcolor plugin will be displayed if a color picker is provided also shows the latest colors.
2694
- Added new color_picker_callback option to enable you to add custom color pickers to the editor.
2695
- Added new advanced tabs to table/cell/row dialogs to enable you to select colors for border/background.
2696
- Added new colorpicker plugin that lets you select colors from a hsv color picker.
2697
- Added new tinymce.util.Color class to handle color parsing and converting.
2698
- Added new colorpicker UI widget element lets you add a hsv color picker to any form/window.
2699
- Added new textpattern plugin that allows you to use markdown like text patterns to format contents.
2700
- Added new resize helper element that shows the current width & height while resizing.
2701
- Added new "once" method to Editor and EventDispatcher enables since callback execution events.
2702
- Added new jQuery like class under tinymce.dom.DomQuery it's exposed on editor instances (editor.$) and globally under (tinymce.$).
2703
 
2704
### Fixed
2705
- Fixed so the default resize method for images are proportional shift/ctrl can be used to make an unproportional size.
2706
- Fixed bug where the image_dimensions option of the image plugin would cause exceptions when it tried to update the size.
2707
- Fixed bug where table cell dialog class field wasn't properly updated when editing an a table cell with an existing class.
2708
- Fixed bug where Safari on Mac would produce webkit-fake-url for pasted images so these are now removed.
2709
- Fixed bug where the nodeChange event would get fired before the selection was changed when clicking inside the current selection range.
2710
- Fixed bug where valid_classes option would cause exception when it removed internal prefixed classes like mce-item-.
2711
- Fixed bug where backspace would cause navigation in IE 8 on an inline element and after a caret formatting was applied.
2712
- Fixed so placeholder images produced by the media plugin gets selected when inserted/edited.
2713
- Fixed so it's possible to drag in images when the paste_data_images option is enabled. Might be useful for mail clients.
2714
- Fixed so images doesn't get a width/height applied if the image_dimensions option is set to false useful for responsive contents.
2715
- Fixed so it's possible to pass in an optional arguments object for the nodeChanged function to be passed to all nodechange event listeners.
2716
- Fixed bug where media plugin embed code didn't update correctly.