Subversion Repositories oidplus

Rev

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