UNPKG

tinymce

Version:

Web based JavaScript HTML WYSIWYG editor control.

553 lines (552 loc) 152 kB
Version 5.3.1 (2020-05-27) Fixed the image upload error alert also incorrectly closing the image dialog #TINY-6020 Fixed editor content scrolling incorrectly on focus in Firefox by reverting default content CSS html and body heights added in 5.3.0 #TINY-6019 Version 5.3.0 (2020-05-21) Added html and body height styles to the default oxide content CSS #TINY-5978 Added `uploadUri` and `blobInfo` to the data returned by `editor.uploadImages()` #TINY-4579 Added a new function to the `BlobCache` API to lookup a blob based on the base64 data and mime type #TINY-5988 Added the ability to search and replace within a selection #TINY-4549 Added the ability to set the list start position for ordered lists and added new `lists` context menu item #TINY-3915 Added `icon` as an optional config option to the toggle menu item API #TINY-3345 Added `auto` mode for `toolbar_location` which positions the toolbar and menu bar at the bottom if there is no space at the top #TINY-3161 Changed the default `toolbar_location` to `auto` #TINY-3161 Changed toggle menu items and choice menu items to have a dedicated icon with the checkmark displayed on the far right side of the menu item #TINY-3345 Changed the `link`, `image`, and `paste` plugins to use Promises to reduce the bundle size #TINY-4710 Changed the default icons to be lazy loaded during initialization #TINY-4729 Changed the parsing of content so base64 encoded urls are converted to blob urls #TINY-4727 Changed context toolbars so they concatenate when more than one is suitable for the current selection #TINY-4495 Changed inline style element formats (strong, b, em, i, u, strike) to convert to a span on format removal if a `style` or `class` attribute is present #TINY-4741 Fixed the `selection.setContent()` API not running parser filters #TINY-4002 Fixed formats incorrectly applied or removed when table cells were selected #TINY-4709 Fixed the `quickimage` button not restricting the file types to images #TINY-4715 Fixed search and replace ignoring text in nested contenteditable elements #TINY-5967 Fixed resize handlers displaying in the wrong location sometimes for remote images #TINY-4732 Fixed table picker breaking in Firefox on low zoom levels #TINY-4728 Fixed issue with loading or pasting contents with large base64 encoded images on Safari #TINY-4715 Fixed supplementary special characters being truncated when inserted into the editor. Patch contributed by mlitwin. #TINY-4791 Fixed toolbar buttons not set to disabled when the editor is in readonly mode #TINY-4592 Fixed the editor selection incorrectly changing when removing caret format containers #TINY-3438 Fixed bug where title, width, and height would be set to empty string values when updating an image and removing those attributes using the image dialog #TINY-4786 Fixed `ObjectResized` event firing when an object wasn't resized #TINY-4161 Fixed `ObjectResized` and `ObjectResizeStart` events incorrectly fired when adding or removing table rows and columns #TINY-4829 Fixed the placeholder not hiding when pasting content into the editor #TINY-4828 Fixed an issue where the editor would fail to load if local storage was disabled #TINY-5935 Fixed an issue where an uploaded image would reuse a cached image with a different mime type #TINY-5988 Fixed bug where toolbars and dialogs would not show if the body element was replaced (e.g. with Turbolinks). Patch contributed by spohlenz #GH-5653 Fixed an issue where multiple formats would be removed when removing a single format at the end of lines or on empty lines #TINY-1170 Fixed zero-width spaces incorrectly included in the `wordcount` plugin character count #TINY-5991 Fixed a regression introduced in 5.2.0 whereby the desktop `toolbar_mode` setting would incorrectly override the mobile default setting #TINY-5998 Fixed an issue where deleting all content in a single cell table would delete the entire table #TINY-1044 Version 5.2.2 (2020-04-23) Fixed an issue where anchors could not be inserted on empty lines #TINY-2788 Fixed text decorations (underline, strikethrough) not consistently inheriting the text color #TINY-4757 Fixed `format` menu alignment buttons inconsistently applying to images #TINY-4057 Fixed the floating toolbar drawer height collapsing when the editor is rendered in modal dialogs or floating containers #TINY-4837 Fixed `media` embed content not processing safely in some cases #TINY-4857 Version 5.2.1 (2020-03-25) Fixed the "is decorative" checkbox in the image dialog clearing after certain dialog events #FOAM-11 Fixed possible uncaught exception when a `style` attribute is removed using a content filter on `setContent` #TINY-4742 Fixed the table selection not functioning correctly in Microsoft Edge 44 or higher #TINY-3862 Fixed the table resize handles not functioning correctly in Microsoft Edge 44 or higher #TINY-4160 Fixed the floating toolbar drawer disconnecting from the toolbar when adding content in inline mode #TINY-4725 #TINY-4765 Fixed `readonly` mode not returning the appropriate boolean value #TINY-3948 Fixed the `forced_root_block_attrs` setting not applying attributes to new blocks consistently #TINY-4564 Fixed the editor incorrectly stealing focus during initialization in Microsoft Internet Explorer #TINY-4697 Fixed dialogs stealing focus when opening an alert or confirm dialog using an `onAction` callback #TINY-4014 Fixed inline dialogs incorrectly closing when clicking on an opened alert or confirm dialog #TINY-4012 Fixed the context toolbar overlapping the menu bar and toolbar #TINY-4586 Fixed notification and inline dialog positioning issues when using `toolbar_location: 'bottom'` #TINY-4586 Fixed the `colorinput` popup appearing offscreen on mobile devices #TINY-4711 Fixed special characters not being found when searching by "whole words only" #TINY-4522 Fixed an issue where dragging images could cause them to be duplicated #TINY-4195 Fixed context toolbars activating without the editor having focus #TINY-4754 Fixed an issue where removing the background color of text did not always work #TINY-4770 Fixed an issue where new rows and columns in a table did not retain the style of the previous row or column #TINY-4788 Version 5.2.0 (2020-02-13) Added the ability to apply formats to spaces #TINY-4200 Added new `toolbar_location` setting to allow for positioning the menu and toolbar at the bottom of the editor #TINY-4210 Added new `toolbar_groups` setting to allow a custom floating toolbar group to be added to the toolbar when using `floating` toolbar mode #TINY-4229 Added new `link_default_protocol` setting to `link` and `autolink` plugin to allow a protocol to be used by default #TINY-3328 Added new `placeholder` setting to allow a placeholder to be shown when the editor is empty #TINY-3917 Added new `tinymce.dom.TextSeeker` API to allow searching text across different DOM nodes #TINY-4200 Added a drop shadow below the toolbar while in sticky mode and introduced Oxide variables to customize it when creating a custom skin #TINY-4343 Added `quickbars_image_toolbar` setting to allow for the image quickbar to be turned off #TINY-4398 Added iframe and img `loading` attribute to the default schema. Patch contributed by ataylor32. #GH-5112 Added new `getNodeFilters`/`getAttributeFilters` functions to the `editor.serializer` instance #TINY-4344 Added new `a11y_advanced_options` setting to allow additional accessibility options to be added #FOAM-11 Added new accessibility options and behaviours to the image dialog using `a11y_advanced_options` #FOAM-11 Added the ability to use the window `PrismJS` instance for the `codesample` plugin instead of the bundled version to allow for styling custom languages #TINY-4504 Added error message events that fire when a resource loading error occurs #TINY-4509 Changed the default schema to disallow `onchange` for select elements #TINY-4614 Changed default `toolbar_mode` value from false to `wrap`. The value false has been deprecated #TINY-4617 Changed `toolbar_drawer` setting to `toolbar_mode`. `toolbar_drawer` has been deprecated #TINY-4416 Changed iframe mode to set selection on content init if selection doesn't exist #TINY-4139 Changed table related icons to align them with the visual style of the other icons #TINY-4341 Changed and improved the visual appearance of the color input field #TINY-2917 Changed fake caret container to use `forced_root_block` when possible #TINY-4190 Changed the `requireLangPack` API to wait until the plugin has been loaded before loading the language pack #TINY-3716 Changed the formatter so `style_formats` are registered before the initial content is loaded into the editor #TINY-4238 Changed media plugin to use https protocol for media urls by default #TINY-4577 Changed the parser to treat CDATA nodes as bogus HTML comments to match the HTML parsing spec. A new `preserve_cdata` setting has been added to preserve CDATA nodes if required #TINY-4625 Fixed incorrect parsing of malformed/bogus HTML comments #TINY-4625 Fixed `quickbars` selection toolbar appearing on non-editable elements #TINY-4359 Fixed bug with alignment toolbar buttons sometimes not changing state correctly #TINY-4139 Fixed the `codesample` toolbar button not toggling when selecting code samples other than HTML #TINY-4504 Fixed content incorrectly scrolling to the top or bottom when pressing enter if when the content was already in view #TINY-4162 Fixed `scrollIntoView` potentially hiding elements behind the toolbar #TINY-4162 Fixed editor not respecting the `resize_img_proportional` setting due to legacy code #TINY-4236 Fixed flickering floating toolbar drawer in inline mode #TINY-4210 Fixed an issue where the template plugin dialog would be indefinitely blocked on a failed template load #TINY-2766 Fixed the `mscontrolselect` event not being unbound on IE/Edge #TINY-4196 Fixed Confirm dialog footer buttons so only the "Yes" button is highlighted #TINY-4310 Fixed `file_picker_callback` functionality for Image, Link and Media plugins #TINY-4163 Fixed issue where floating toolbar drawer sometimes would break if the editor is resized while the drawer is open #TINY-4439 Fixed incorrect `external_plugins` loading error message #TINY-4503 Fixed resize handler was not hidden for ARIA purposes. Patch contributed by Parent5446. #GH-5195 Fixed an issue where content could be lost if a misspelled word was selected and spellchecking was disabled #TINY-3899 Fixed validation errors in the CSS where certain properties had the wrong default value #TINY-4491 Fixed an issue where forced root block attributes were not applied when removing a list #TINY-4272 Fixed an issue where the element path isn't being cleared when there are no parents #TINY-4412 Fixed an issue where width and height in svg icons containing `rect` elements were overridden by the CSS reset #TINY-4408 Fixed an issue where uploading images with `images_reuse_filename` enabled and that included a query parameter would generate an invalid URL #TINY-4638 Fixed the `closeButton` property not working when opening notifications #TINY-4674 Fixed keyboard flicker when opening a context menu on mobile #TINY-4540 Fixed issue where plus icon svg contained strokes #TINY-4681 Version 5.1.6 (2020-01-28) Fixed `readonly` mode not blocking all clicked links #TINY-4572 Fixed legacy font sizes being calculated inconsistently for the `FontSize` query command value #TINY-4555 Fixed changing a tables row from `Header` to `Body` incorrectly moving the row to the bottom of the table #TINY-4593 Fixed the context menu not showing in certain cases with hybrid devices #TINY-4569 Fixed the context menu opening in the wrong location when the target is the editor body #TINY-4568 Fixed the `image` plugin not respecting the `automatic_uploads` setting when uploading local images #TINY-4287 Fixed security issue related to parsing HTML comments and CDATA #TINY-4544 Version 5.1.5 (2019-12-19) Fixed the UI not working with hybrid devices that accept both touch and mouse events #TNY-4521 Fixed the `charmap` dialog initially focusing the first tab of the dialog instead of the search input field #TINY-4342 Fixed an exception being raised when inserting content if the caret was directly before or after a `contenteditable="false"` element #TINY-4528 Fixed a bug with pasting image URLs when paste as text is enabled #TINY-4523 Version 5.1.4 (2019-12-11) Fixed dialog contents disappearing when clicking a checkbox for right-to-left languages #TINY-4518 Fixed the `legacyoutput` plugin registering legacy formats after editior initialization, causing legacy content to be stripped on the initial load #TINY-4447 Fixed search and replace not cycling through results when searching using special characters #TINY-4506 Fixed the `visualchars` plugin converting HTML-like text to DOM elements in certain cases #TINY-4507 Fixed an issue with the `paste` plugin not sanitizing content in some cases #TINY-4510 Fixed HTML comments incorrectly being parsed in certain cases #TINY-4511 Version 5.1.3 (2019-12-04) Fixed sticky toolbar not undocking when fullscreen mode is activated #TINY-4390 Fixed the "Current Window" target not applying when updating links using the link dialog #TINY-4063 Fixed disabled menu items not highlighting when focused #TINY-4339 Fixed touch events passing through dialog collection items to the content underneath on Android devices #TINY-4431 Fixed keyboard navigation of the Help dialog's Keyboard Navigation tab #TINY-4391 Fixed search and replace dialog disappearing when finding offscreen matches on iOS devices #TINY-4350 Fixed performance issues where sticky toolbar was jumping while scrolling on slower browsers #TINY-4475 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 set