UNPKG

tinymce

Version:

Web based JavaScript HTML WYSIWYG editor control.

553 lines (552 loc) 137 kB
Version 5.1.2 (2019-11-19) Fixed desktop touch devices using `mobile` configuration overrides #TINY-4345 Fixed unable to disable the new scrolling toolbar feature #TINY-4345 Fixed touch events passing through any pop-up items to the content underneath on Android devices #TINY-4367 Fixed the table selector handles throwing JavaScript exceptions for non-table selections #TINY-4338 Fixed `cut` operations not removing selected content on Android devices when the `paste` plugin is enabled #TINY-4362 Fixed inline toolbar not constrained to the window width by default #TINY-4314 Fixed context toolbar split button chevrons pointing right when they should be pointing down #TINY-4257 Fixed unable to access the dialog footer in tabbed dialogs on small screens #TINY-4360 Fixed mobile table selectors were hard to select with touch by increasing the size #TINY-4366 Fixed mobile table selectors moving when moving outside the editor #TINY-4366 Fixed inline toolbars collapsing when using sliding toolbars #TINY-4389 Fixed block textpatterns not treating NBSPs as spaces #TINY-4378 Fixed backspace not merging blocks when the last element in the preceding block was a `contenteditable="false"` element #TINY-4235 Fixed toolbar buttons that only contain text labels overlapping on mobile devices #TINY-4395 Fixed quickbars quickimage picker not working on mobile #TINY-4377 Fixed fullscreen not resizing in an iOS WKWebView component #TINY-4413 Version 5.1.1 (2019-10-28) Fixed font formats containing spaces being wrapped in `&quot;` entities instead of single quotes #TINY-4275 Fixed alert and confirm dialogs losing focus when clicked #TINY-4248 Fixed clicking outside a modal dialog focusing on the document body #TINY-4249 Fixed the context toolbar not hiding when scrolled out of view #TINY-4265 Version 5.1.0 (2019-10-17) Added touch selector handles for table selections on touch devices #TINY-4097 Added border width field to Table Cell dialog #TINY-4028 Added touch event listener to media plugin to make embeds playable #TINY-4093 Added oxide styling options to notifications and tweaked the default variables #TINY-4153 Added additional padding to split button chevrons on touch devices, to make them easier to interact with #TINY-4223 Added new platform detection functions to `Env` and deprecated older detection properties #TINY-4184 Added `inputMode` config field to specify inputmode attribute of `input` dialog components #TINY-4062 Added new `inputMode` property to relevant plugins/dialogs #TINY-4102 Added new `toolbar_sticky` setting to allow the iframe menubar/toolbar to stick to the top of the window when scrolling #TINY-3982 Changed default setting for `toolbar_drawer` to `floating` #TINY-3634 Changed mobile phones to use the `silver` theme by default #TINY-3634 Changed some editor settings to default to `false` on touch devices: - `menubar`(phones only) #TINY-4077 - `table_grid` #TINY-4075 - `resize` #TINY-4157 - `object_resizing` #TINY-4157 Changed toolbars and context toolbars to sidescroll on mobile #TINY-3894 #TINY-4107 Changed context menus to render as horizontal menus on touch devices #TINY-4107 Changed the editor to use the `VisualViewport` API of the browser where possible #TINY-4078 Changed visualblocks toolbar button icon and renamed `paragraph` icon to `visualchars` #TINY-4074 Changed Oxide default for `@toolbar-button-chevron-color` to follow toolbar button icon color #TINY-4153 Changed the `urlinput` dialog component to use the `url` type attribute #TINY-4102 Fixed Safari desktop visual viewport fires resize on fullscreen breaking the restore function #TINY-3976 Fixed scroll issues on mobile devices #TINY-3976 Fixed context toolbar unable to refresh position on iOS12 #TINY-4107 Fixed ctrl+left click not opening links on readonly mode and the preview dialog #TINY-4138 Fixed Slider UI component not firing `onChange` event on touch devices #TINY-4092 Fixed notifications overlapping instead of stacking #TINY-3478 Fixed inline dialogs positioning incorrectly when the page is scrolled #TINY-4018 Fixed inline dialogs and menus not repositioning when resizing #TINY-3227 Fixed inline toolbar incorrectly stretching to the full width when a width value was provided #TINY-4066 Fixed menu chevrons color to follow the menu text color #TINY-4153 Fixed table menu selection grid from staying black when using dark skins, now follows border color #TINY-4153 Fixed Oxide using the wrong text color variable for menubar button focused state #TINY-4146 Fixed the autoresize plugin not keeping the selection in view when resizing #TINY-4094 Fixed textpattern plugin throwing exceptions when using `forced_root_block: false` #TINY-4172 Fixed missing CSS fill styles for toolbar button icon active state #TINY-4147 Fixed an issue where the editor selection could end up inside a short ended element (such as `br`) #TINY-3999 Fixed browser selection being lost in inline mode when opening split dropdowns #TINY-4197 Fixed backspace throwing an exception when using `forced_root_block: false` #TINY-4099 Fixed floating toolbar drawer expanding outside the bounds of the editor #TINY-3941 Fixed the autocompleter not activating immediately after a `br` or `contenteditable=false` element #TINY-4194 Fixed an issue where the autocompleter would incorrectly close on IE 11 in certain edge cases #TINY-4205 Version 5.0.16 (2019-09-24) Added new `referrer_policy` setting to add the `referrerpolicy` attribute when loading scripts or stylesheets #TINY-3978 Added a slight background color to dialog tab links when focused to aid keyboard navigation #TINY-3877 Fixed media poster value not updating on change #TINY-4013 Fixed openlink was not registered as a toolbar button #TINY-4024 Fixed failing to initialize if a script tag was used inside a SVG #TINY-4087 Fixed double top border showing on toolbar without menubar when toolbar_drawer is enabled #TINY-4118 Fixed unable to drag inline dialogs to the bottom of the screen when scrolled #TINY-4154 Fixed notifications appearing on top of the toolbar when scrolled in inline mode #TINY-4159 Fixed notifications displaying incorrectly on IE 11 #TINY-4169 Version 5.0.15 (2019-09-02) Added a dark `content_css` skin to go with the dark UI skin #TINY-3743 Changed the enabled state on toolbar buttons so they don't get the hover effect #TINY-3974 Fixed missing CSS active state on toolbar buttons #TINY-3966 Fixed `onChange` callback not firing for the colorinput dialog component #TINY-3968 Fixed context toolbars not showing in fullscreen mode #TINY-4023 Version 5.0.14 (2019-08-19) Added an API to reload the autocompleter menu with additional fetch metadata #MENTIONS-17 Fixed missing toolbar button border styling options #TINY-3965 Fixed image upload progress notification closing before the upload is complete #TINY-3963 Fixed inline dialogs not closing on escape when no dialog component is in focus #TINY-3936 Fixed plugins not being filtered when defaulting to mobile on phones #TINY-3537 Fixed toolbar more drawer showing the content behind it when transitioning between opened and closed states #TINY-3878 Fixed focus not returning to the dialog after pressing the "Replace all" button in the search and replace dialog #TINY-3961 Removed Oxide variable `@menubar-select-disabled-border-color` and replaced it with `@menubar-select-disabled-border` #TINY-3965 Version 5.0.13 (2019-08-06) Changed modal dialogs to prevent dragging by default and added new `draggable_modal` setting to restore dragging #TINY-3873 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 Changed backspace behaviour in lists to outdent nested list items when the cursor is at the start of the list item #TINY-3651 Fixed sidebar growing beyond editor bounds in IE 11 #TINY-3937 Fixed issue with being unable to keyboard navigate disabled toolbar buttons #TINY-3350 Fixed issues with backspace and delete in nested contenteditable true and false elements #TINY-3868 Fixed issue with losing keyboard navigation in dialogs due to disabled buttons #TINY-3914 Fixed `MouseEvent.mozPressure is deprecated` warning in Firefox #TINY-3919 Fixed `default_link_target` not being respected when `target_list` is disabled #TINY-3757 Fixed mobile plugin filter to only apply to the mobile theme, rather than all mobile platforms #TINY-3405 Fixed focus switching to another editor during mode changes #TINY-3852 Fixed an exception being thrown when clicking on an uninitialized inline editor #TINY-3925 Fixed unable to keyboard navigate to dialog menu buttons #TINY-3933 Fixed dialogs being able to be dragged outside the window viewport #TINY-3787 Fixed inline dialogs appearing above modal dialogs #TINY-3932 Version 5.0.12 (2019-07-18) Added ability to utilize UI dialog panels inside other panels #TINY-3305 Added help dialog tab explaining keyboard navigation of the editor #TINY-3603 Changed the "Find and Replace" design to an inline dialog #TINY-3054 Fixed issue where autolink spacebar event was not being fired on Edge #TINY-3891 Fixed table selection missing the background color #TINY-3892 Fixed removing shortcuts not working for function keys #TINY-3871 Fixed non-descriptive UI component type names #TINY-3349 Fixed UI registry components rendering as the wrong type when manually specifying a different type #TINY-3385 Fixed an issue where dialog checkbox, input, selectbox, textarea and urlinput components couldn't be disabled #TINY-3708 Fixed the context toolbar not using viable screen space in inline/distraction free mode #TINY-3717 Fixed the context toolbar overlapping the toolbar in various conditions #TINY-3205 Fixed IE11 edge case where items were being inserted into the wrong location #TINY-3884 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