tinymce
Version:
Web based JavaScript HTML WYSIWYG editor control.
534 lines (533 loc) • 127 kB
Plain Text
Version 5.0.11 (2019-07-04)
Fixed packaging errors caused by a rollup treeshaking bug (https://github.com/rollup/rollup/issues/2970) #TINY-3866
Fixed the customeditor component not able to get data from the dialog api #TINY-3866
Fixed collection component tooltips not being translated #TINY-3855
Version 5.0.10 (2019-07-02)
Added support for all HTML color formats in `color_map` setting #TINY-3837
Changed backspace key handling to outdent content in appropriate circumstances #TINY-3685
Changed default palette for forecolor and backcolor to include some lighter colors suitable for highlights #TINY-2865
Changed the search and replace plugin to cycle through results #TINY-3800
Fixed inconsistent types causing some properties to be unable to be used in dialog components #TINY-3778
Fixed an issue in the Oxide skin where dialog content like outlines and shadows were clipped because of overflow hidden #TINY-3566
Fixed the search and replace plugin not resetting state when changing the search query #TINY-3800
Fixed backspace in lists not creating an undo level #TINY-3814
Fixed the editor to cancel loading in quirks mode where the UI is not supported #TINY-3391
Fixed applying fonts not working when the name contained spaces and numbers #TINY-3801
Fixed so that initial content is retained when initializing on list items #TINY-3796
Fixed inefficient font name and font size current value lookup during rendering #TINY-3813
Fixed mobile font copied into the wrong folder for the oxide-dark skin #TINY-3816
Fixed an issue where resizing the width of tables would produce inaccurate results #TINY-3827
Fixed a memory leak in the Silver theme #TINY-3797
Fixed alert and confirm dialogs using incorrect markup causing inconsistent padding #TINY-3835
Fixed an issue in the Table plugin with `table_responsive_width` not enforcing units when resizing #TINY-3790
Fixed leading, trailing and sequential spaces being lost when pasting plain text #TINY-3726
Fixed exception being thrown when creating relative URIs #TINY-3851
Fixed focus is no longer set to the editor content during mode changes unless the editor already had focus #TINY-3852
Version 5.0.9 (2019-06-26)
Fixed print plugin not working in Firefox #TINY-3834
Version 5.0.8 (2019-06-18)
Added back support for multiple toolbars #TINY-2195
Added support for .m4a files to the media plugin #TINY-3750
Added new base_url and suffix editor init options #TINY-3681
Fixed incorrect padding for select boxes with visible values #TINY-3780
Fixed selection incorrectly changing when programmatically setting selection on contenteditable false elements #TINY-3766
Fixed sidebar background being transparent #TINY-3727
Fixed the build to remove duplicate iife wrappers #TINY-3689
Fixed bogus autocompleter span appearing in content when the autocompleter menu is shown #TINY-3752
Fixed toolbar font size select not working with legacyoutput plugin #TINY-2921
Fixed the legacyoutput plugin incorrectly aligning images #TINY-3660
Fixed remove color not working when using the legacyoutput plugin #TINY-3756
Fixed the font size menu applying incorrect sizes when using the legacyoutput plugin #TINY-3773
Fixed scrollIntoView not working when the parent window was out of view #TINY-3663
Fixed the print plugin printing from the wrong window in IE11 #TINY-3762
Fixed content CSS loaded over CORS not loading in the preview plugin with content_css_cors enabled #TINY-3769
Fixed the link plugin missing the default "None" option for link list #TINY-3738
Fixed small dot visible with menubar and toolbar disabled in inline mode #TINY-3623
Fixed space key properly inserts a nbsp before/after block elements #TINY-3745
Fixed native context menu not showing with images in IE11 #TINY-3392
Fixed inconsistent browser context menu image selection #TINY-3789
Version 5.0.7 (2019-06-05)
Added new toolbar button and menu item for inserting tables via dialog #TINY-3636
Added new API for adding/removing/changing tabs in the Help dialog #TINY-3535
Added highlighting of matched text in autocompleter items #TINY-3687
Added the ability for autocompleters to work with matches that include spaces #TINY-3704
Added new `imagetools_fetch_image` callback to allow custom implementations for cors loading of images #TINY-3658
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
Changed annotations navigation to work the same as inline boundaries #TINY-3396
Changed tabpanel API by adding a `name` field and changing relevant methods to use it #TINY-3535
Fixed text color not updating all color buttons when choosing a color #TINY-3602
Fixed the autocompleter not working with fragmented text #TINY-3459
Fixed the autosave plugin no longer overwrites window.onbeforeunload #TINY-3688
Fixed infinite loop in the paste plugin when IE11 takes a long time to process paste events. Patch contributed by lRawd. #GH-4987
Fixed image handle locations when using `fixed_toolbar_container`. Patch contributed by t00. #GH-4966
Fixed the autoresize plugin not firing `ResizeEditor` events #TINY-3587
Fixed editor in fullscreen mode not extending to the bottom of the screen #TINY-3701
Fixed list removal when pressing backspace after the start of the list item #TINY-3697
Fixed autocomplete not triggering from compositionend events #TINY-3711
Fixed `file_picker_callback` could not set the caption field on the insert image dialog #TINY-3172
Fixed the autocompleter menu showing up after a selection had been made #TINY-3718
Fixed an exception being thrown when a file or number input has focus during initialization. Patch contributed by t00 #GH-2194
Version 5.0.6 (2019-05-22)
Added `icons_url` editor settings to enable icon packs to be loaded from a custom url #TINY-3585
Added `image_uploadtab` editor setting to control the visibility of the upload tab in the image dialog #TINY-3606
Added new api endpoints to the wordcount plugin and improved character count logic #TINY-3578
Changed plugin, language and icon loading errors to log in the console instead of a notification #TINY-3585
Fixed the textpattern plugin not working with fragmented text #TINY-3089
Fixed various toolbar drawer accessibility issues and added an animation #TINY-3554
Fixed issues with selection and ui components when toggling readonly mode #TINY-3592
Fixed so readonly mode works with inline editors #TINY-3592
Fixed docked inline toolbar positioning when scrolled #TINY-3621
Fixed initial value not being set on bespoke select in quickbars and toolbar drawer #TINY-3591
Fixed so that nbsp entities aren't trimmed in white-space: pre-line elements #TINY-3642
Fixed `mceInsertLink` command inserting spaces instead of url encoded characters #GH-4990
Fixed text content floating on top of dialogs in IE11 #TINY-3640
Version 5.0.5 (2019-05-09)
Added menu items to match the forecolor/backcolor toolbar buttons #TINY-2878
Added default directionality based on the configured language #TINY-2621
Added styles, icons and tests for rtl mode #TINY-2621
Fixed autoresize not working with floating elements or when media elements finished loading #TINY-3545
Fixed incorrect vertical caret positioning in IE 11 #TINY-3188
Fixed submenu anchoring hiding overflowed content #TINY-3564
Removed unused and hidden validation icons to avoid displaying phantom tooltips #TINY-2329
Version 5.0.4 (2019-04-23)
Added back URL dialog functionality, which is now available via `editor.windowManager.openUrl()` #TINY-3382
Added the missing throbber functionality when calling `editor.setProgressState(true)` #TINY-3453
Added function to reset the editor content and undo/dirty state via `editor.resetContent()` #TINY-3435
Added the ability to set menu buttons as active #TINY-3274
Added `editor.mode` API, featuring a custom editor mode API #TINY-3406
Added better styling to floating toolbar drawer #TINY-3479
Added the new premium plugins to the Help dialog plugins tab #TINY-3496
Added the linkchecker context menu items to the default configuration #TINY-3543
Fixed image context menu items showing on placeholder images #TINY-3280
Fixed dialog labels and text color contrast within notifications/alert banners to satisfy WCAG 4.5:1 contrast ratio for accessibility #TINY-3351
Fixed selectbox and colorpicker items not being translated #TINY-3546
Fixed toolbar drawer sliding mode to correctly focus the editor when tabbing via keyboard navigation #TINY-3533
Fixed positioning of the styleselect menu in iOS while using the mobile theme #TINY-3505
Fixed the menubutton `onSetup` callback to be correctly executed when rendering the menu buttons #TINY-3547
Fixed `default_link_target` setting to be correctly utilized when creating a link #TINY-3508
Fixed colorpicker floating marginally outside its container #TINY-3026
Fixed disabled menu items displaying as active when hovered #TINY-3027
Removed redundant mobile wrapper #TINY-3480
Version 5.0.3 (2019-03-19)
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
Changed the entire phrase 'Powered by Tiny' in the status bar to be a link instead of just the word 'Tiny' #TINY-3366
Changed `formatselect`, `styleselect` and `align` menus to use the `mceToggleFormat` command internally #TINY-3428
Fixed toolbar keyboard navigation to work as expected when `toolbar_drawer` is configured #TINY-3432
Fixed text direction buttons to display the correct pressed state in selections that have no explicit `dir` property #TINY-3138
Fixed the mobile editor to clean up properly when removed #TINY-3445
Fixed quickbar toolbars to add an empty box to the screen when it is set to `false` #TINY-3439
Fixed an issue where pressing the **Delete/Backspace** key at the edge of tables was creating incorrect selections #TINY-3371
Fixed an issue where dialog collection items (emoticon and special character dialogs) couldn't be selected with touch devices #TINY-3444
Fixed a type error introduced in TinyMCE version 5.0.2 when calling `editor.getContent()` with nested bookmarks #TINY-3400
Fixed an issue that prevented default icons from being overridden #TINY-3449
Fixed an issue where **Home/End** keys wouldn't move the caret correctly before or after `contenteditable=false` inline elements #TINY-2995
Fixed styles to be preserved in IE 11 when editing via the `fullpage` plugin #TINY-3464
Fixed the `link` plugin context toolbar missing the open link button #TINY-3461
Fixed inconsistent dialog component spacing #TINY-3436
Version 5.0.2 (2019-03-05)
Added presentation and document presets to `htmlpanel` dialog component #TINY-2694
Added missing fixed_toolbar_container setting has been reimplemented in the Silver theme #TINY-2712
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
Updated the build process to include package lock files in the dev distribution archive #TINY-2870
Fixed inline dialogs did not have aria attributes #TINY-2694
Fixed default icons are now available in the UI registry, allowing use outside of toolbar buttons #TINY-3307
Fixed a memory leak related to select toolbar items #TINY-2874
Fixed a memory leak due to format changed listeners that were never unbound #TINY-3191
Fixed an issue where content may have been lost when using permanent bookmarks #TINY-3400
Fixed the quicklink toolbar button not rendering in the quickbars plugin #TINY-3125
Fixed an issue where menus were generating invalid HTML in some cases #TINY-3323
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
Fixed mobile theme using a transparent background and not taking up the full width on iOS #TINY-3414
Fixed the template plugin dialog missing the description field #TINY-3337
Fixed input dialog components using an invalid default type attribute #TINY-3424
Fixed an issue where backspace/delete keys after/before pagebreak elements wouldn't move the caret #TINY-3097
Fixed an issue in the table plugin where menu items and toolbar buttons weren't showing correctly based on the selection #TINY-3423
Fixed inconsistent button focus styles in Firefox #TINY-3377
Fixed the resize icon floating left when all status bar elements were disabled #TINY-3340
Fixed the resize handle to not show in fullscreen mode #TINY-3404
Version 5.0.1 (2019-02-21)
Removed paste as text notification banner and paste_plaintext_inform setting #POW-102
Fixed an issue where adding links to images would replace the image with text #TINY-3356
Fixed an issue where the inline editor could use fractional pixels for positioning #TINY-3202
Fixed an issue where uploading non-image files in the Image Plugin upload tab threw an error. #TINY-3244
Added H1-H6 toggle button registration to the silver theme #TINY-3070
Fixed an issue in the media plugin that was causing the source url and height/width to be lost in certain circumstances #TINY-2858
Fixed an issue with the Context Toolbar not being removed when clicking outside of the editor #TINY-2804
Fixed an issue where clicking 'Remove link' wouldn't remove the link in certain circumstances #TINY-3199
Added code sample toolbar button will now toggle on when the cursor is in a code section #TINY-3040
Fixed an issue where the media plugin would fail when parsing dialog data #TINY-3218
Fixed an issue where retrieving the selected content as text didn't create newlines #TINY-3197
Fixed incorrect keyboard shortcuts in the Help dialog for Windows #TINY-3292
Fixed an issue where JSON serialization could produce invalid JSON #TINY-3281
Fixed production CSS including references to source maps #TINY-3920
Fixed development CSS was not included in the development zip #TINY-3920
Fixed the autocompleter matches predicate not matching on the start of words by default #TINY-3306
Added new settings to the emoticons plugin to allow additional emoticons to be added #TINY-3088
Fixed an issue where the page could be scrolled with modal dialogs open #TINY-2252
Fixed an issue where autocomplete menus would show an icon margin when no items had icons #TINY-3329
Fixed an issue in the quickbars plugin where images incorrectly showed the text selection toolbar #TINY-3338
Fixed an issue that caused the inline editor to fail to render when the target element already had focus #TINY-3353
Version 5.0.0 (2019-02-04)
Full documentation for the version 5 features and changes is available at https://www.tiny.cloud/docs/release-notes/
Changes since RC2:
Fixed an issue where tab panel heights weren't sizing properly on smaller screens and weren't updating on resize #TINY-3242
Added links and registered names with * to denote premium plugins in Plugins tab of Help dialog #TINY-3223
Changed Tiny 5 mobile skin to look more uniform with desktop #TINY-2650
Fixed image tools not having any padding between the label and slider #TINY-3220
Blacklisted table, th and td as inline editor target #TINY-717
Fixed context toolbar toggle buttons not showing the correct state #TINY-3022
Fixed missing separators in the spellchecker context menu between the suggestions and actions #TINY-3217
Fixed notification icon positioning in alert banners #TINY-2196
Fixed a typo in the word count plugin name #TINY-3062
Fixed charmap and emoticons dialogs not having a primary button #TINY-3233
Fixed an issue where resizing wouldn't work correctly depending on the box-sizing model #TINY-3278
Version 5.0.0-rc-2 (2019-01-22)
Fixed the link dialog such that it will now retain class attributes when updating links #TINY-2825
Added screen reader accessibility for sidebar and statusbar #TINY-2699
Updated Emoticons and Charmap dialogs to be screen reader accessible #TINY-2693
Fixed "Find and replace" not showing in the "Edit" menu by default #TINY-3061
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
Removed unnecessary 'flex' and unused 'colspan' properties from the new dialog APIs #TINY-2973
Changed checkboxes to use a boolean for its state, instead of a string #TINY-2848
Fixed dropdown buttons missing the 'type' attribute, which could cause forms to be incorrectly submitted #TINY-2826
Fixed emoticon and charmap search not returning expected results in certain cases #TINY-3084
Changed formatting menus so they are registered and made the align toolbar button use an icon instead of text #TINY-2880
Fixed blank rel_list values throwing an exception in the link plugin #TINY-3149
Version 5.0.0-rc-1 (2019-01-08)
Updated the font select dropdown logic to try to detect the system font stack and show "System Font" as the font name #TINY-2710
Fixed readonly mode not fully disabling editing content #TINY-2287
Updated the autocompleter to only show when it has matched items #TINY-2350
Added editor settings functionality to specify title attributes for toolbar groups #TINY-2690
Added icons instead of button text to improve Search and Replace dialog footer appearance #TINY-2654
Added `tox-dialog__table` instead of `mce-table-striped` class to enhance Help dialog appearance #TINY-2360
Added title attribute to iframes so, screen readers can announce iframe labels #TINY-2692
Updated SizeInput labels to "Height" and "Width" instead of Dimensions #TINY-2833
Fixed accessibility issues with the font select, font size, style select and format select toolbar dropdowns #TINY-2713
Fixed accessibility issues with split dropdowns #TINY-2697
Added a wordcount menu item, that defaults to appearing in the tools menu #TINY-2877
Fixed the legacyoutput plugin to be compatible with TinyMCE 5.0 #TINY-2301
Updated the build process to minify and generate ASCII only output for the emoticons database #TINY-2744
Fixed icons not showing correctly in the autocompleter popup #TINY-3029
Fixed an issue where preview wouldn't show anything in Edge under certain circumstances #TINY-3035
Fixed the height being incorrectly calculated for the autoresize plugin #TINY-2807
Version 5.0.0-beta-1 (2018-11-30)
Changed the name of the "inlite" plugin to "quickbars" #TINY-2831
Fixed an inline mode issue where the save plugin upon saving can cause content loss #TINY-2659
Changed the background color icon to highlight background icon #TINY-2258
Added a new `addNestedMenuItem()` UI registry function and changed all nested menu items to use the new registry functions #TINY-2230
Changed Help dialog to be accessible to screen readers #TINY-2687
Changed the color swatch to save selected custom colors to local storage for use across sessions #TINY-2722
Added title attribute to color swatch colors #TINY-2669
Added anchorbar component to anchor inline toolbar dialogs to instead of the toolbar #TINY-2040
Added support for toolbar<n> and toolbar array config options to be squashed into a single toolbar and not create multiple toolbars #TINY-2195
Added error handling for when forced_root_block config option is set to true #TINY-2261
Added functionality for the removed_menuitems config option #TINY-2184
Fixed an issue in IE 11 where calling selection.getContent() would return an empty string when the editor didn't have focus #TINY-2325
Added the ability to use a string to reference menu items in menu buttons and submenu items #TINY-2253
Removed compat3x plugin #TINY-2815
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
Version 5.0.0-preview-4 (2018-11-12)
Fixed distraction free plugin #AP-470
Removed the tox-custom-editor class that was added to the wrapping element of codemirror #TINY-2211
Fixed contents of the input field being selected on focus instead of just recieving an outline highlight #AP-464
Added width and height placeholder text to image and media dialog dimensions input #AP-296
Fixed styling issues with dialogs and menus in IE 11 #AP-456
Fixed custom style format control not honoring custom formats #AP-393
Fixed context menu not appearing when clicking an image with a caption #AP-382
Fixed directionality of UI when using an RTL language #AP-423
Fixed page responsiveness with multiple inline editors #AP-430
Added the ability to keyboard navigate through menus, toolbars, sidebar and the status bar sequentially #AP-381
Fixed empty toolbar groups appearing through invalid configuration of the `toolbar` property #AP-450
Fixed text not being retained when updating links through the link dialog #AP-293
Added translation capability back to the editor's UI #AP-282
Fixed edit image context menu, context toolbar and toolbar items being incorrectly enabled when selecting invalid images #AP-323
Fixed emoji type ahead being shown when typing URLs #AP-366
Fixed toolbar configuration properties incorrectly expecting string arrays instead of strings #AP-342
Changed the editor resize handle so that it should be disabled when the autoresize plugin is turned on #AP-424
Fixed the block formatting toolbar item not showing a "Formatting" title when there is no selection #AP-321
Fixed clicking disabled toolbar buttons hiding the toolbar in inline mode #AP-380
Fixed `EditorResize` event not being fired upon editor resize #AP-327
Fixed tables losing styles when updating through the dialog #AP-368
Fixed context toolbar positioning to be more consistent near the edges of the editor #AP-318
Added `label` component type for dialogs to group components under a label
Fixed table of contents plugin now works with v5 toolbar APIs correctly #AP-347
Fixed the `link_context_toolbar` configuration not disabling the context toolbar #AP-458
Fixed the link context toolbar showing incorrect relative links #AP-435
Fixed the alignment of the icon in alert banner dialog components #TINY-2220
Changed UI text for microcopy improvements #TINY-2281
Fixed the visual blocks and visual char menu options not displaying their toggled state #TINY-2238
Fixed the editor not displaying as fullscreen when toggled #TINY-2237
Version 5.0.0-preview-3 (2018-10-18)
Changed editor layout to use modern CSS properties over manually calculating dimensions #AP-324
Changed `autoresize_min_height` and `autoresize_max_height` configurations to `min_height` and `max_height` #AP-324
Fixed bugs with editor width jumping when resizing and the iframe not resizing to smaller than 150px in height #AP-324
Fixed mobile theme bug that prevented the editor from loading #AP-404
Fixed long toolbar groups extending outside of the editor instead of wrapping
Changed `Whole word` label in Search and Replace dialog to `Find whole words only` #AP-387
Fixed dialog titles so they are now proper case #AP-384
Fixed color picker default to be #000000 instead of #ff00ff #AP-216
Fixed "match case" option on the Find and Replace dialog is no longer selected by default #AP-298
Fixed vertical alignment of toolbar icons #DES-134
Fixed toolbar icons not appearing on IE11 #DES-133
Version 5.0.0-preview-2 (2018-10-10)
Changed configuration of color options has been simplified to `color_map`, `color_cols`, and `custom_colors` #AP-328
Added swatch is now shown for colorinput fields, instead of the colorpicker directly #AP-328
Removed `colorpicker` plugin, it is now in the theme #AP-328
Removed `textcolor` plugin, it is now in the theme #AP-328
Fixed styleselect not updating the displayed item as the cursor moved #AP-388
Changed `height` configuration to apply to the editor frame (including menubar, toolbar, status bar) instead of the content area #AP-324
Added fontformats and fontsizes menu items #AP-390
Fixed preview iframe not expanding to the dialog size #AP-252
Fixed 'meta' shortcuts not translated into platform-specific text #AP-270
Fixed tabbed dialogs (Charmap and Emoticons) shrinking when no search results returned
Fixed a bug where alert banner icons were not retrieved from icon pack. #AP-330
Fixed component styles to flex so they fill large dialogs. #AP-252
Fixed editor flashing unstyled during load (still in progress). #AP-349
Version 5.0.0-preview-1 (2018-10-01)
Developer preview 1
Initial list of features and changes is available at https://tiny.cloud/docs-preview/release-notes/new-features/
Version 4.9.3 (2019-01-31)
Added a visualchars_default_state setting to the Visualchars Plugin. Patch contributed by mat3e.
Fixed a bug where scrolling on a page with more than one editor would cause a ResizeWindow event to fire. #TINY-3247
Fixed a bug where if a plugin threw an error during initialisation the whole editor would fail to load. #TINY-3243
Fixed a bug where getContent would include bogus elements when valid_elements setting was set up in a specific way. #TINY-3213
Fixed a bug where only a few function key names could be used when creating keyboard shortcuts. #TINY-3146
Fixed a bug where it wasn't possible to enter spaces into an editor after pressing shift+enter. #TINY-3099
Fixed a bug where no caret would be rendered after backspacing to a contenteditable false element. #TINY-2998
Fixed a bug where deletion to/from indented lists would leave list fragments in the editor. #TINY-2981
Version 4.9.2 (2018-12-17)
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
Fixed a bug where character composition using quote and space on US International keyboards would produce a space instead of a quote. #TINY-2999
Fixed a bug where remove format wouldn't remove the inner most inline element in some situations. #TINY-2982
Fixed a bug where outdenting an list item would affect attributes on other list items within the same list. #TINY-2971
Fixed a bug where the DomParser filters wouldn't be applied for elements created when parsing invalid html. #TINY-2978
Fixed a bug where setProgressState wouldn't automatically close floating ui elements like menus. #TINY-2896
Fixed a bug where it wasn't possible to navigate out of a figcaption element using the arrow keys. #TINY-2894
Fixed a bug where enter key before an image inside a link would remove the image. #TINY-2780
Version 4.9.1 (2018-12-04)
Added functionality to insert html to the replacement feature of the Textpattern Plugin. #TINY-2839
Fixed a bug where `editor.selection.getContent({format: 'text'})` didn't work as expected in IE11 on an unfocused editor. #TINY-2862
Fixed a bug in the Textpattern Plugin where the editor would get an incorrect selection after inserting a text pattern on Safari. #TINY-2838
Fixed a bug where the space bar didn't work correctly in editors with the forced_root_block setting set to false. #TINY-2816
Version 4.9.0 (2018-11-27)
Added a replace feature to the Textpattern Plugin. #TINY-1908
Added functionality to the Lists Plugin that improves the indentation logic. #TINY-1790
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
Fixed a bug where copying table cells without a text selection would fail to copy anything. #TINY-1789
Implemented missing `autosave_restore_when_empty` functionality in the Autosave Plugin. Patch contributed by gzzo. #GH-4447
Reduced insertion of unnecessary nonbreaking spaces in the editor. #TINY-1879
Version 4.8.5 (2018-10-30)
Added a content_css_cors setting to the editor that adds the crossorigin="anonymous" attribute to link tags added by the StyleSheetLoader. #TINY-1909
Fixed a bug where trying to remove formatting with a collapsed selection range would throw an exception. #GH-4636
Fixed a bug in the image plugin that caused updating figures to split contenteditable elements. #GH-4563
Fixed a bug that was causing incorrect viewport calculations for fixed position UI elements. #TINY-1897
Fixed a bug where inline formatting would cause the delete key to do nothing. #TINY-1900
Version 4.8.4 (2018-10-23)
Added support for the HTML5 `main` element. #TINY-1877
Changed the keyboard shortcut to move focus to contextual toolbars to Ctrl+F9. #TINY-1812
Fixed a bug where content css could not be loaded from another domain. #TINY-1891
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
Fixed a bug with the insertContent method where nonbreaking spaces would be inserted incorrectly. #TINY-1868
Fixed a bug where the toolbar of the inline editor would not be visible in some scenarios. #TINY-1862
Fixed a bug where removing the editor while more than one notification was open would throw an error. #TINY-1845
Fixed a bug where the menubutton would be rendered on top of the menu if the viewport didn't have enough height. #TINY-1678
Fixed a bug with the annotations api where annotating collapsed selections caused problems. #TBS-2449
Fixed a bug where wbr elements were being transformed into whitespace when using the Paste Plugin's paste as text setting. #GH-4638
Fixed a bug where the Search and Replace didn't replace spaces correctly. #GH-4632
Fixed a bug with sublist items not persisting selection. #GH-4628
Fixed a bug with mceInsertRawHTML command not working as expected. #GH-4625
Version 4.8.3 (2018-09-13)
Fixed a bug where the Wordcount Plugin didn't correctly count words within tables on IE11. #TINY-1770
Fixed a bug where it wasn't possible to move the caret out of a table on IE11 and Firefox. #TINY-1682
Fixed a bug where merging empty blocks didn't work as expected, sometimes causing content to be deleted. #TINY-1781
Fixed a bug where the Textcolor Plugin didn't show the correct current color. #TINY-1810
Fixed a bug where clear formatting with a collapsed selection would sometimes clear formatting from more content than expected. #TINY-1813 #TINY-1821
Fixed a bug with the Table Plugin where it wasn't possible to keyboard navigate to the caption. #TINY-1818
Version 4.8.2 (2018-08-09)
Moved annotator from "experimental" to "annotator" object on editor. #TBS-2398
Improved the multiclick normalization across browsers. #TINY-1788
Fixed a bug where running getSelectedBlocks with a collapsed selection between block elements would produce incorrect results. #TINY-1787
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
Removed reference to ShadowDOM event.path as Blink based browsers now support event.composedPath. #TINY-1785
Fixed a bug where a reference to localStorage would throw an "access denied" error in IE11 with strict security settings. #TINY-1782
Fixed a bug where pasting using the toolbar button on an inline editor in IE11 would cause a looping behaviour. #TINY-1768
Version 4.8.1 (2018-07-26)
Fixed a bug where the content of inline editors was being cleaned on every call of `editor.save()`. #TINY-1783
Fixed a bug where the arrow of the Inlite Theme toolbar was being rendered incorrectly in RTL mode. #TINY-1776
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
Version 4.8.0 (2018-06-27)
Added new "experimental" object in editor, with initial Annotator API. #TBS-2374
Fixed a bug where deleting paragraphs inside of table cells would delete the whole table cell. #TINY-1759
Fixed a bug in the Table Plugin where removing row height set on the row properties dialog did not update the table. #TINY-1730
Fixed a bug with the font select toolbar item didn't update correctly. #TINY-1683
Fixed a bug where all bogus elements would not be deleted when removing an inline editor. #TINY-1669
Version 4.7.13 (2018-05-16)
Fixed a bug where Edge 17 wouldn't be able to select images or tables. #TINY-1679
Fixed issue where whitespace wasn't preserved when the editor was initialized on pre elements. #TINY-1649
Fixed a bug with the fontselect dropdowns throwing an error if the editor was hidden in Firefox. #TINY-1664
Fixed a bug where it wasn't possible to merge table cells on IE 11. #TINY-1671
Fixed a bug where textcolor wasn't applying properly on IE 11 in some situations. #TINY-1663
Fixed a bug where the justifyfull command state wasn't working correctly. #TINY-1677
Fixed a bug where the styles wasn't updated correctly when resizing some tables. #TINY-1668
Added missing code menu item from the default menu config. #TINY-1648
Added new align button for combining the separate align buttons into a menu button. #TINY-1652
Version 4.7.12 (2018-05-03)
Added an option to filter out image svg data urls.
Added support for html5 details and summary elements.
Changed so the mce-abs-layout-item css rule targets html instead of body. Patch contributed by nazar-pc.
Fixed a bug where the "read" step on the mobile theme was still present on android mobile browsers.
Fixed a bug where all images in the editor document would reload on any editor change.
Fixed a bug with the Table Plugin where ObjectResized event wasn't being triggered on column resize.
Fixed so the selection is set to the first suitable caret position after editor.setContent called.
Fixed so links with xlink:href attributes are filtered correctly to prevent XSS.
Fixed a bug on IE11 where pasting content into an inline editor initialized on a heading element would create new editable elements.
Fixed a bug where readonly mode would not work as expected when the editor contained contentEditable=true elements.
Fixed a bug where the Link Plugin would throw an error when used together with the webcomponents polyfill. Patch contributed by 4esnog.
Fixed a bug where the "Powered by TinyMCE" branding link would break on XHTML pages. Patch contributed by tistre.
Fixed a bug where the same id would be used in the blobcache for all pasted images. Patch contributed by thorn0.
Version 4.7.11 (2018-04-11)
Added a new imagetools_credentials_hosts option to the Imagetools Plugin.
Fixed a bug where toggling a list containing empty LIs would throw an error. Patch contributed by bradleyke.
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.
Fixed a bug where toggling on the Spellchecker Plugin would trigger isDirty on the editor.
Fixed a bug where it was possible to enter content into selection bookmark spans.
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.
Fixed a bug where dropdown menu panels stayed open and fixed in position when dragging dialog windows.
Fixed a bug where it wasn't possible to extend table cells with the space button in Safari.
Fixed a bug where the setupeditor event would thrown an error when using the Compat3x Plugin.
Fixed a bug where an error was thrown in FontInfo when called on a detached element.
Version 4.7.10 (2018-04-03)
Removed the "read" step from the mobile theme.
Added normalization of triple clicks across browsers in the editor.
Added a `hasFocus` method to the editor that checks if the editor has focus.
Added correct icon to the Nonbreaking Plugin menu item.
Fixed so the `getContent`/`setContent` methods work even if the editor is not initialized.
Fixed a bug with the Media Plugin where query strings were being stripped from youtube links.
Fixed a bug where image styles were changed/removed when opening and closing the Image Plugin dialog.
Fixed a bug in the Table Plugin where some table cell styles were not correctly added to the content html.
Fixed a bug in the Spellchecker Plugin where it wasn't possible to change the spellchecker language.
Fixed so the the unlink action in the Link Plugin has a menu item and can be added to the contextmenu.
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.
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.
Fixed a bug with the UndoManager where undo levels were being added for nbzwsp characters.
Fixed a bug with the Table Plugin where the caret would sometimes be lost when keyboard navigating up through a table.
Fixed a bug where FontInfo.getFontFamily would throw an error when called on a removed editor.
Fixed a bug in Firefox where undo levels were not being added correctly for some specific operations.
Fixed a bug where initializing an inline editor inside of a table would make the whole table resizeable.
Fixed a bug where the fake cursor that appears next to tables on Firefox was positioned incorrectly when switching to fullscreen.
Fixed a bug where zwsp's weren't trimmed from the output from `editor.getContent({ format: 'text' })`.
Fixed a bug where the fontsizeselect/fontselect toolbar items showed the body info rather than the first possible caret position info on init.
Fixed a bug where it wasn't possible to select all content if the editor only contained an inline boundary element.
Fixed a bug where `content_css` urls with query strings wasn't working.
Fixed a bug in the Table Plugin where some table row styles were removed when changing other styles in the row properties dialog.
Version 4.7.9 (2018-02-27)
Fixed a bug where the editor target element didn't get the correct style when removing the editor.
Version 4.7.8 (2018-02-26)
Fixed an issue with the Help Plugin where the menuitem name wasn't lowercase.
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.
Fixed a bug where the "paste as text" option in the Paste Plugin didn't work.
Fixed a bug where dialog list boxes didn't get positioned correctly in documents with scroll.
Fixed a bug where the Inlite Theme didn't use the Table Plugin api to insert correct tables.
Fixed a bug where the Inlite Theme panel didn't hide on blur in a correct way.
Fixed a bug where placing the cursor before a table in Firefox would scroll to the bottom of the table.
Fixed a bug where selecting partial text in table cells with rowspans and deleting would produce faulty tables.
Fixed a bug where the Preview Plugin didn't work on Safari due to sandbox security.
Fixed a bug where table cell selection using the keyboard threw an error.
Fixed so the font size and font family doesn't toggle the text but only sets the selected format on the selected text.
Fixed so the built-in spellchecking on Chrome and Safari creates an undo level when replacing words.
Version 4.7.7 (2018-02-19)
Added a border style selector to the advanced tab of the Image Plugin.
Added better controls for default table inserted by the Table Plugin.
Added new `table_responsive_width` option to the Table Plugin that controls whether to use pixel or percentage widths.
Fixed a bug where the Link Plugin text didn't update when a URL was pasted using the context menu.
Fixed a bug with the Spellchecker Plugin where using "Add to dictionary" in the context menu threw an error.
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.
Fixed a bug where backslashes were being added to some font family names in Firefox in the fontselect toolbar item.
Fixed a bug where errors would be thrown when trying to remove an editor that had not yet been fully initialized.
Fixed a bug where the Imagetools Plugin didn't update the images atomically.
Fixed a bug where the Fullscreen Plugin was throwing errors when being used on an inline editor.
Fixed a bug where drop down menus weren't positioned correctly in inline editors on scroll.
Fixed a bug with a semicolon missing at the end of the bundled javascript files.
Fixed a bug in the Table Plugin with cursor navigation inside of tables where the cursor would sometimes jump into an incorrect table cells.
Fixed a bug where indenting a table that is a list item using the "Increase indent" button would create a nested table.
Fixed a bug where text nodes containing only whitespace were being wrapped by paragraph elements.
Fixed a bug where whitespace was being inserted after br tags inside of paragraph tags.
Fixed a bug where converting an indented paragraph to a list item would cause the list item to have extra padding.
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.
Fixed a bug with a memory leak in the DragHelper. Path contributed by ben-mckernan.
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.
Fixed an outdated eventname in the EventUtils. Patch contributed by nazar-pc.
Fixed an issue where the Json.parse function would throw an error when being used on a page with strict CSP settings.
Fixed so you can place the curser before and after table elements within the editor in Firefox and Edge/IE.
Version 4.7.6 (2018-01-29)
Fixed a bug in the jquery integration where it threw an error saying that "global is not defined".
Fixed a bug where deleting a table cell whose previous sibling was set to contenteditable false would create a corrupted table.
Fixed a bug where highlighting text in an unfocused editor did not work correctly in IE11/Edge.
Fixed a bug where the table resize handles were not being repositioned when activating the Fullscreen Plugin.
Fixed a bug where the Imagetools Plugin dialog didn't honor editor RTL settings.
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.
Fixed a bug where TinyMCE didn't work with module loaders like webpack.
Version 4.7.5 (2018-01-22)
Fixed bug with the Codesample Plugin where it wasn't possible to edit codesamples when the editor was in inline mode.
Fixed bug where focusing on the status bar broke the keyboard navigation functionality.
Fixed bug where an error would be thrown on Edge by the Table Plugin when pasting using the PowerPaste Plugin.
Fixed bug in the Table Plugin where selecting row border style from the dropdown menu in advanced row properties would throw an error.
Fixed bug with icons being rendered incorrectly on Chrome on Mac OS.
Fixed bug in the Textcolor Plugin where the font color and background color buttons wouldn't trigger an ExecCommand event.
Fixed bug in the Link Plugin where the url field wasn't forced LTR.
Fixed bug where the Nonbreaking Plugin incorrectly inserted spaces into tables.
Fixed bug with the inline theme where the toolbar wasn't repositioned on window resize.
Version 4.7.4 (2017-12-05)
Fixed bug in the Nonbreaking Plugin where the nonbreaking_force_tab setting was being ignored.
Fixed bug in the Table Plugin where changing row height incorrectly converted column widths to pixels.
Fixed bug in the Table Plugin on Edge and IE11 where resizing the last column after resizing the table would cause invalid column heights.
Fixed bug in the Table Plugin where keyboard navigation was not normalized between browsers.
Fixed bug in the Table Plugin where the colorpicker button would show even without defining the colorpicker_callback.
Fixed bug in the Table Plugin where it wasn't possible to set the cell background color.
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.
Fixed bug where Firefox would throw an error when intialising an editor inside of a hidden iframe.
Version 4.7.3 (2017-11-23)
Added functionality to open the Codesample Plugin dialog when double clicking on a codesample. Patch contributed by dakuzen.
Fixed bug where undo/redo didn't work correctly with some formats and caret positions.
Fixed bug where the color picker didn't show up in Table Plugin dialogs.
Fixed bug where it wasn't possible to change the width of a table through the Table Plugin dialog.
Fixed bug where the Charmap Plugin couldn't insert some special characters.
Fixed bug where editing a newly inserted link would not actually edit the link but insert a new link next to it.
Fixed bug where deleting all content in a table cell made it impossible to place the caret into it.
Fixed bug where the vertical alignment field in the Table Plugin cell properties dialog didn't do anything.
Fixed bug where an image with a caption showed two sets of resize handles in IE11.
Fixed bug where pressing the enter button inside of an h1 with contenteditable set to true would sometimes produce a p tag.
Fixed bug with backspace not working as expected before a noneditable element.
Fixed bug where operating on tables with invalid rowspans would cause an error to be thrown.
Fixed so a real base64 representation of the image is available on the blobInfo that the images_upload_handler gets called with.
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).
Version 4.7.2 (2017-11-07)
Added newly rewritten Table Plugin.
Added support for attributes with colon in valid_elements and addValidElements.
Added support for dailymotion short url in the Media Plugin. Patch contributed by maat8.
Added support for converting to half pt when converting font size from px to pt. Patch contributed by danny6514.
Added support for location hash to the Autosave plugin to make it work better with SPAs using hash routing.
Added support for merging table cells when pasting a table into another table.
Changed so the language packs are only loaded once. Patch contributed by 0xor1.
Simplified the css for inline boundaries selection by switching to an attribute selector.
Fixed bug where an error would be thrown on editor initialization if the window.getSelection() returned null.
Fixed bug where holding down control or alt keys made the keyboard navigation inside an inline boundary not work as expected.
Fixed bug where applying formats in IE11 produced extra, empty paragraphs in the editor.
Fixed bug where the Word Count Plugin didn't count some mathematical operators correctly.
Fixed bug where removing an inline editor removed the element that the editor had been initialized on.
Fixed bug where setting the selection to the end of an editable container caused some formatting problems.
Fixed bug where an error would be thrown sometimes when an editor was removed because of the selection bookmark was being stored asynchronously.
Fixed a bug where an editor initialized on an empty list did not contain any valid cursor positions.
Fixed a bug with the Context Menu Plugin and webkit browsers on Mac where right-clicking inside a table would produce an incorrect selection.
Fixed bug where the Image Plugin constrain proportions setting wasn't working as expected.
Fixed bug where deleting the last character in a span with decorations produced an incorrect element when typing.
Fixed bug where focusing on inline editors made the toolbar flicker when moving between elements quickly.
Fixed bug where the selection would be stored incorrectly in inline editors when the mouseup event was fired outside the editor body.
Fixed bug where toggling bold at the end of an inline boundary would toggle off the whole word.
Fixed bug where setting the skin to false would not stop the loading of some skin css files.
Fixed bug in mobile theme where pinch-to-zoom would break after exiting the editor.
Fixed bug where sublists of a fully selected list would not be switched correctly when changing list style.
Fixed bug where inserting media by source would break the UndoManager.
Fixed bug where inserting some content into the editor with a specific selection would replace some content incorrectly.
Fixed bug where selecting all content with ctrl+a in IE11 caused problems with untoggling some formatting.
Fixed bug where the Search and Replace Plugin left some