This is the TinyMCE Community version changelog. For information about the latest Tiny Cloud or TinyMCE Enterprise Release, see: TinyMCE Release Notes.
Version 5.6.2 December 8, 2020
- fixed a UI rendering regression when the document body is using
display: flex
.
Version 5.6.1 November 25, 2020
- fixed the
mceTableRowType
andmceTableCellType
commands were not firing thenewCell
event. - fixed the HTML5
s
element was not recognized when editing or clearing text formatting. - fixed an issue where copying and pasting table columns resulted in invalid HTML when using colgroups.
- fixed an issue where the toolbar would render with the wrong width for inline editors in some situations.
Version 5.6.0 November 18, 2020
- added new
BeforeOpenNotification
andOpenNotification
events which allow internal notifications to be captured and modified before display. - added support for
block
andunblock
methods on inline dialogs. - added new
TableModified
event which is fired whenever changes are made to a table. - added new
images_file_types
setting to determine which image file formats will be automatically processed intoimg
tags on paste when using thepaste
plugin. - added support for
images_file_types
setting in the image file uploader to determine which image file extensions are valid for upload. - added new
format_empty_lines
setting to control if empty lines are formatted in a ranged selection. - added template support to the
autocompleter
for customizing the autocompleter items. - added new user interface
enable
,disable
, andisDisabled
methods. - added new
closest
formatter API to get the closest matching selection format from a set of formats. - added new
emojiimages
emoticons database that uses the twemoji CDN by default. - added new
emoticons_database
setting to configure which emoji database to use. - added new
name
field to thestyle_formats
setting object to enable specifying a name for the format. - changed
readonly
mode to allow hyperlinks to be clickable. - fixed the
change
event not firing after a successful image upload. - fixed the type signature for the
entity_encoding
setting not accepting delimited lists. - fixed layout issues when empty
tr
elements were incorrectly removed from tables. - fixed image file extensions lost when uploading an image with an alternative extension, such as
.jfif
. - fixed a security issue where URLs in attributes weren’t correctly sanitized.
- fixed a security issue in the
codesample
plugin by upgrading dependencies. - fixed
DOMUtils.getParents
incorrectly including the shadow root in the array of elements returned. - fixed an issue where the root document could be scrolled while an editor dialog was open inside a shadow root.
- fixed
getContent
with text format returning a new line when the editor is empty. - fixed table column and row resizers not respecting the
data-mce-resize
attribute. - fixed inserting a table via the
mceInsertTable
command incorrectly creating 2 undo levels. - fixed nested tables with
colgroup
elements incorrectly always resizing the inner table. - fixed the
visualchars
plugin causing the editor to steal focus when initialized. - fixed
fullpage
plugin altering text content ineditor.getContent()
. - fixed
fullscreen
plugin not working correctly with multiple editors and shadow DOM. - fixed font size keywords such as
medium
not displaying correctly in font size menus. - fixed an issue where some attributes in table cells were not copied over to new rows or columns.
- fixed incorrectly removing formatting on adjacent spaces when removing formatting on a ranged selection.
- fixed the
Cut
menu item not working in the latest version of Mozilla Firefox. - fixed some incorrect types in the new TypeScript declaration file.
- fixed a regression where a fake offscreen selection element was incorrectly created for the editor root node.
- fixed an issue where menus would incorrectly collapse in small containers.
- fixed an issue where only one table column at a time could be converted to a header.
- fixed some minor memory leaks that prevented garbage collection for editor instances.
- fixed resizing a
responsive
table not working when using the column resize handles. - fixed incorrectly calculating table
col
widths when resizing responsive tables. - fixed an issue where spaces were not preserved in pre-blocks when getting text content.
- fixed a regression that caused the selection to be difficult to see in tables with backgrounds.
- fixed content pasted multiple times in the editor when using Microsoft Internet Explorer 11. Patch contributed by mattford.
Version 5.5.1 October 1, 2020
- fixed pressing the down key near the end of a document incorrectly raising an exception.
- fixed incorrect Typescript types for the
Tools
API.
Version 5.5.0 September 29, 2020
- added a TypeScript declaration file to the bundle output for TinyMCE core.
- added new
table_column_resizing
setting to control how table columns are resized when using the resize bars. - added the ability to remove images on a failed upload using the
images_upload_handler
failure callback. - added
hasPlugin
function to the editor API to determine if a plugin exists or not. - added new
ToggleToolbarDrawer
command and query state handler to allow the toolbar drawer to be programmatically toggled and the toggle state to be checked. - added the ability to use
colgroup
elements in tables. - added a new setting
table_use_colgroups
for toggling whether colgroups are used in new tables. - added the ability to delete and navigate HTML media elements without the
media
plugin. - added
fullscreen_native
setting to thefullscreen
plugin to enable use of the entire monitor. - added table related oxide variables to the Style API for more granular control over table cell selection appearance.
- added new
toolbar_persist
setting to control the visibility of the inline toolbar. - added new APIs to allow for programmatic control of the inline toolbar visibility.
- added the
origin
property to theObjectResized
andObjectResizeStart
events, to specify which handle the resize was performed on. - added new StyleSheetLoader
unload
andunloadAll
APIs to allow loaded stylesheets to be removed. - added the
LineHeight
query command and action to the editor. - added the
lineheight
toolbar and menu items, and addedlineheight
to the default format menu. - added a new
contextmenu_avoid_overlap
setting to allow context menus to avoid overlapping matched nodes. - added new listbox dialog UI component for rendering a dropdown that allows nested options.
- added back the ability to use nested items in the
image_class_list
,link_class_list
,link_list
,table_class_list
,table_cell_class_list
, andtable_row_class_list
settings. - changed how CSS manipulates table cells when selecting multiple cells to achieve a semi-transparent selection.
- changed the
target
property on fired events to use the native event target. The original target for an open shadow root can be obtained usingevent.getComposedPath()
. - changed the editor to clean-up loaded CSS stylesheets when all editors using the stylesheet have been removed.
- changed
imagetools
context menu icon for accessing theimage
dialog to use theimage
icon. - changed the
editor.insertContent()
andeditor.selection.setContent()
APIs to retain leading and trailing whitespace. - changed the
table
pluginColumn
menu to include the cut, copy and paste column menu items. - changed the default table styles in the content CSS files to better support the styling options available in the
table
dialog. - deprecated the
Env.experimentalShadowDom
flag. - fixed tables with no borders displaying with the default border styles in the
preview
dialog. - fixed loss of whitespace when inserting content after a non-breaking space.
- fixed the
event.getComposedPath()
function throwing an exception for events fired from the editor. - fixed notifications not appearing when the editor is within a ShadowRoot.
- fixed focus issues with inline dialogs when the editor is within a ShadowRoot.
- fixed the
template
plugin previews missing some content styles. - fixed the
media
plugin not saving the alternative source url in some situations. - fixed an issue where column resizing using the resize bars was inconsistent between fixed and relative table widths.
- fixed an issue where dragging and dropping within a table would select table cells.
- fixed up and down keyboard navigation not working for inline
contenteditable="false"
elements. - fixed dialog not retrieving
close
icon from icon pack. - fixed the
unlink
toolbar button not working when selecting multiple links. - fixed the
link
dialog not showing the “Text to display” field in some valid cases. - fixed the
DOMUtils.split()
API incorrectly removing some content. - fixed pressing the escape key not focusing the editor when using multiple toolbars.
- fixed the
dirty
flag not being correctly set during anAddUndo
event. - fixed
editor.selection.setCursorLocation
incorrectly placing the cursor outsidepre
elements in some circumstances. - fixed an exception being thrown when pressing the enter key inside pre elements while
br_in_pre
setting is false.
Version 5.4.2 August 17, 2020
- fixed the editor not resizing when resizing the browser window in fullscreen mode.
- fixed clicking on notifications causing inline editors to hide.
- fixed an issue where link URLs could not be deleted or edited in the link dialog in some cases.
- fixed a regression where setting the
anchor_top
oranchor_bottom
options tofalse
was not working. - fixed the
anchor
plugin not supporting theallow_html_in_named_anchor
option. - fixed an exception thrown when removing inline formats that contained additional styles or classes.
- fixed an exception thrown when positioning the context toolbar on Internet Explorer 11 in some edge cases.
- fixed inline formats not removed when more than one
removeformat
format rule existed. - fixed an issue where spaces were sometimes removed when removing formating on nearby text.
- fixed the list toolbar buttons not showing as active when a list is selected.
- fixed an issue where the UI would sometimes not be shown or hidden when calling the show or hide API methods on the editor.
- fixed the list type style not retained when copying list items.
- fixed the Paste plugin converting tabs in plain text to a single space character. A
paste_tab_spaces
option has been included for setting the number of spaces used to replace a tab character.
Version 5.4.1 July 8, 2020
- fixed the Search and Replace plugin incorrectly including zero-width caret characters in search results.
- fixed dragging and dropping unsupported files navigating the browser away from the editor.
- fixed undo levels not created on browser handled drop or paste events.
- fixed content in an iframe element parsing as DOM elements instead of text content.
- fixed Oxide checklist styles not showing when printing.
- fixed bug with
scope
attribute not being added to the cells of header rows.
Version 5.4.0 June 30, 2020
- added keyboard navigation support to menus and toolbars when the editor is in a ShadowRoot.
- added the ability for menus to be clicked when the editor is in an open shadow root.
- added the
Editor.ui.styleSheetLoader
API for loading stylesheets within the Document or ShadowRoot containing the editor UI. - added the
StyleSheetLoader
module to the public API. - added Oxide variables for styling the
select
element and headings in dialog content. - added icons for
table
column and row cut, copy, and paste toolbar buttons. - added all
table
menu items to the UI registry, so they can be used by name in other menus. - added new
mceTableApplyCellStyle
command to thetable
plugin. - added new
table
cut, copy, and paste column editor commands and menu items. - added font related Oxide variables for secondary buttons, allowing for custom styling.
- added new
table_header_type
setting to control how table header rows are structured. - added new
table_sizing_mode
setting to replace thetable_responsive_width
setting, which has now been deprecated. - added new
mceTableSizingMode
command for changing the sizing mode of a table. - added new
mceTableRowType
,mceTableColType
, andmceTableCellType
commands and value queries. - changed
advlist
toolbar buttons to only show a dropdown list if there is more than one option. - changed
mceInsertTable
command andinsertTable
API method to take optional header rows and columns arguments. - changed stylesheet loading, so that UI skin stylesheets can load in a ShadowRoot if required.
- changed the DOM location of menus so that they display correctly when the editor is in a ShadowRoot.
- changed the table plugin to correctly detect all valid header row structures.
- fixed tables with no defined width being converted to a
fixed
width table when modifying the table. - fixed the
autosave
isEmpty
API incorrectly detecting non-empty content as empty. - fixed table
Paste row after
andPaste row before
menu items not disabled when nothing was available to paste. - fixed a selection performance issue with large tables on Microsoft Internet Explorer and Edge.
- fixed filters for screening commands from the undo stack to be case-insensitive.
- fixed
fullscreen
plugin now removes all classes when the editor is closed. - fixed handling of mixed-case icon identifiers (names) for UI elements.
- fixed leading and trailing spaces lost when using
editor.selection.getContent({ format: 'text' })
. - fixed an issue where changing the URL with the quicklink toolbar caused unexpected undo behavior.
- fixed an issue where removing formatting within a table cell would cause Internet Explorer 11 to scroll to the end of the table.
- fixed an issue where the
allow_html_data_urls
setting was not correctly applied. - fixed the
autolink
feature so that it no longer treats a string with multiple “@” characters as an email address. - fixed an issue where removing the editor would leave unexpected attributes on the target element.
- fixed the
link
plugin now suggestmailto:
when the text contains an ‘@’ and no slashes (/
). - fixed the
valid_children
check of custom elements now allows a wider range of characters in names.
Version 5.3.2 June 10, 2020
- fixed a regression introduced in 5.3.0, where
images_dataimg_filter
was no-longer called.
Version 5.3.1 May 27, 2020
- fixed the image upload error alert also incorrectly closing the image dialog.
- fixed editor content scrolling incorrectly on focus in Firefox by reverting default content CSS html and body heights added in 5.3.0.
Version 5.3.0 May 21, 2020
- added html and body height styles to the default oxide content CSS.
- added
uploadUri
andblobInfo
to the data returned byeditor.uploadImages()
. - added a new function to the
BlobCache
API to lookup a blob based on the base64 data and mime type. - added the ability to search and replace within a selection.
- added the ability to set the list start position for ordered lists and added new
lists
context menu item. - added
icon
as an optional config option to the toggle menu item API. - added
auto
mode fortoolbar_location
which positions the toolbar and menu bar at the bottom if there is no space at the top. - changed the default
toolbar_location
toauto
. - 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.
- changed the
link
,image
, andpaste
plugins to use Promises to reduce the bundle size. - changed the default icons to be lazy loaded during initialization.
- changed the parsing of content so base64 encoded urls are converted to blob urls.
- changed context toolbars so they concatenate when more than one is suitable for the current selection.
- changed inline style element formats (strong, b, em, i, u, strike) to convert to a span on format removal if a
style
orclass
attribute is present. - fixed the
selection.setContent()
API not running parser filters. - fixed formats incorrectly applied or removed when table cells were selected.
- fixed the
quickimage
button not restricting the file types to images. - fixed search and replace ignoring text in nested contenteditable elements.
- fixed resize handlers displaying in the wrong location sometimes for remote images.
- fixed table picker breaking in Firefox on low zoom levels.
- fixed issue with loading or pasting contents with large base64 encoded images on Safari.
- fixed supplementary special characters being truncated when inserted into the editor. Patch contributed by mlitwin.
- fixed toolbar buttons not set to disabled when the editor is in readonly mode.
- fixed the editor selection incorrectly changing when removing caret format containers.
- 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.
- fixed
ObjectResized
event firing when an object wasn’t resized. - fixed
ObjectResized
andObjectResizeStart
events incorrectly fired when adding or removing table rows and columns. - fixed the placeholder not hiding when pasting content into the editor.
- fixed an issue where the editor would fail to load if local storage was disabled.
- fixed an issue where an uploaded image would reuse a cached image with a different mime type.
- fixed bug where toolbars and dialogs would not show if the body element was replaced (e.g. with Turbolinks). Patch contributed by spohlenz.
- fixed an issue where multiple formats would be removed when removing a single format at the end of lines or on empty lines.
- fixed zero-width spaces incorrectly included in the
wordcount
plugin character count. - fixed a regression introduced in 5.2.0 whereby the desktop
toolbar_mode
setting would incorrectly override the mobile default setting. - fixed an issue where deleting all content in a single cell table would delete the entire table.
Version 5.2.2 April 23, 2020
- fixed an issue where anchors could not be inserted on empty lines.
- fixed text decorations (underline, strikethrough) not consistently inheriting the text color.
- fixed
format
menu alignment buttons inconsistently applying to images. - fixed the floating toolbar drawer height collapsing when the editor is rendered in modal dialogs or floating containers.
- fixed
media
embed content not processing safely in some cases.
Version 5.2.1 March 25, 2020
- fixed the “is decorative” checkbox in the image dialog clearing after certain dialog events.
- fixed possible uncaught exception when a
style
attribute is removed using a content filter onsetContent
. - fixed the table selection not functioning correctly in Microsoft Edge 44 or higher.
- fixed the table resize handles not functioning correctly in Microsoft Edge 44 or higher.
- fixed the floating toolbar drawer disconnecting from the toolbar when adding content in inline mode.
- fixed
readonly
mode not returning the appropriate boolean value. - fixed the
forced_root_block_attrs
setting not applying attributes to new blocks consistently. - fixed the editor incorrectly stealing focus during initialization in Microsoft Internet Explorer.
- fixed dialogs stealing focus when opening an alert or confirm dialog using an
onAction
callback. - fixed inline dialogs incorrectly closing when clicking on an opened alert or confirm dialog.
- fixed the context toolbar overlapping the menu bar and toolbar.
- fixed notification and inline dialog positioning issues when using
toolbar_location: 'bottom'
. - fixed the
colorinput
popup appearing offscreen on mobile devices. - fixed special characters not being found when searching by “whole words only”.
- fixed an issue where dragging images could cause them to be duplicated.
- fixed context toolbars activating without the editor having focus.
- fixed an issue where removing the background color of text did not always work.
- fixed an issue where new rows and columns in a table did not retain the style of the previous row or column.
Version 5.2.0 February 13, 2020
- added the ability to apply formats to spaces.
- added new
toolbar_location
setting to allow for positioning the menu and toolbar at the bottom of the editor. - added new
toolbar_groups
setting to allow a custom floating toolbar group to be added to the toolbar when usingfloating
toolbar mode. - added new
link_default_protocol
setting tolink
andautolink
plugin to allow a protocol to be used by default. - added new
placeholder
setting to allow a placeholder to be shown when the editor is empty. - added new
tinymce.dom.TextSeeker
API to allow searching text across different DOM nodes. - added a drop shadow below the toolbar while in sticky mode and introduced Oxide variables to customize it when creating a custom skin.
- added
quickbars_image_toolbar
setting to allow for the image quickbar to be turned off. - added iframe and img
loading
attribute to the default schema. Patch contributed by ataylor32. - added new
getNodeFilters
/getAttributeFilters
functions to theeditor.serializer
instance. - added new
a11y_advanced_options
setting to allow additional accessibility options to be added. - added new accessibility options and behaviours to the image dialog using
a11y_advanced_options
. - added the ability to use the window
PrismJS
instance for thecodesample
plugin instead of the bundled version to allow for styling custom languages. - added error message events that fire when a resource loading error occurs.
- changed the default schema to disallow
onchange
for select elements. - changed the fallback
toolbar_mode
value from false towrap
. The value false has been deprecated. - changed
toolbar_drawer
setting totoolbar_mode
.toolbar_drawer
has been deprecated. - changed iframe mode to set selection on content init if selection doesn’t exist.
- changed table related icons to align them with the visual style of the other icons.
- changed and improved the visual appearance of the color input field.
- changed fake caret container to use
forced_root_block
when possible. - changed the
requireLangPack
API to wait until the plugin has been loaded before loading the language pack. - changed the formatter so
style_formats
are registered before the initial content is loaded into the editor. - changed media plugin to use https protocol for media urls by default.
- 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. - fixed incorrect parsing of malformed/bogus HTML comments.
- fixed
quickbars
selection toolbar appearing on non-editable elements. - fixed bug with alignment toolbar buttons sometimes not changing state correctly.
- fixed the
codesample
toolbar button not toggling when selecting code samples other than HTML. - fixed content incorrectly scrolling to the top or bottom when pressing enter if when the content was already in view.
- fixed
scrollIntoView
potentially hiding elements behind the toolbar. - fixed editor not respecting the
resize_img_proportional
setting due to legacy code. - fixed flickering floating toolbar drawer in inline mode.
- fixed an issue where the template plugin dialog would be indefinitely blocked on a failed template load.
- fixed the
mscontrolselect
event not being unbound on IE/Edge. - fixed Confirm dialog footer buttons so only the “Yes” button is highlighted.
- fixed
file_picker_callback
functionality for Image, Link and Media plugins. - fixed issue where floating toolbar drawer sometimes would break if the editor is resized while the drawer is open.
- fixed incorrect
external_plugins
loading error message. - fixed resize handler was not hidden for ARIA purposes. Patch contributed by Parent5446.
- fixed an issue where content could be lost if a misspelled word was selected and spellchecking was disabled.
- fixed validation errors in the CSS where certain properties had the wrong default value.
- fixed an issue where forced root block attributes were not applied when removing a list.
- fixed an issue where the element path isn’t being cleared when there are no parents.
- fixed an issue where width and height in svg icons containing
rect
elements were overridden by the CSS reset. - fixed an issue where uploading images with
images_reuse_filename
enabled and that included a query parameter would generate an invalid URL. - fixed the
closeButton
property not working when opening notifications. - fixed keyboard flicker when opening a context menu on mobile.
- fixed issue where plus icon svg contained strokes.
Version 5.1.6 January 28, 2020
- fixed
readonly
mode not blocking all clicked links. - fixed legacy font sizes being calculated inconsistently for the
FontSize
query command value. - fixed changing a tables row from
Header
toBody
incorrectly moving the row to the bottom of the table. - fixed the context menu not showing in certain cases with hybrid devices.
- fixed the context menu opening in the wrong location when the target is the editor body.
- fixed the
image
plugin not respecting theautomatic_uploads
setting when uploading local images. - fixed security issue related to parsing HTML comments and CDATA.
Version 5.1.5 December 19, 2019
- fixed the UI not working with hybrid devices that accept both touch and mouse events.
- fixed a bug with pasting image URLs when paste as text is enabled.
- fixed the
charmap
dialog initially focusing the first tab of the dialog instead of the search input field. - fixed an exception being raised when inserting content if the caret was directly before or after a
contenteditable="false"
element.
Version 5.1.4 December 11, 2019
- fixed dialog contents disappearing when clicking a checkbox for right-to-left languages.
- fixed the
legacyoutput
plugin registering legacy formats after editor initialization, causing legacy content to be stripped on the initial load. - fixed search and replace not cycling through results when searching using special characters.
- fixed the
visualchars
plugin converting HTML-like text to DOM elements in certain cases. - fixed an issue with the
paste
plugin not sanitizing content in some cases. - fixed HTML comments incorrectly being parsed in certain cases.
Version 5.1.3 December 4, 2019
- fixed sticky toolbar not undocking when fullscreen mode is activated.
- fixed the “Current Window” target not applying when updating links using the link dialog.
- fixed disabled menu items not highlighting when focused.
- fixed touch events passing through dialog collection items to the content underneath on Android devices.
- fixed keyboard navigation of the Help dialog’s Keyboard Navigation tab.
- fixed search and replace dialog disappearing when finding offscreen matches on iOS devices.
- fixed performance issues where sticky toolbar was jumping while scrolling on slower browsers.
Version 5.1.2 November 19, 2019
- fixed desktop touch devices using
mobile
configuration overrides. - fixed unable to disable the new scrolling toolbar feature.
- fixed touch events passing through any pop-up items to the content underneath on Android devices.
- fixed the table selector handles throwing JavaScript exceptions for non-table selections.
- fixed
cut
operations not removing selected content on Android devices when thepaste
plugin is enabled. - fixed inline toolbar not constrained to the window width by default.
- fixed context toolbar split button chevrons pointing right when they should be pointing down.
- fixed unable to access the dialog footer in tabbed dialogs on small screens.
- fixed mobile table selectors were hard to select with touch by increasing the size.
- fixed mobile table selectors moving when moving outside the editor.
- fixed inline toolbars collapsing when using sliding toolbars.
- fixed block textpatterns not treating NBSPs as spaces.
- fixed backspace not merging blocks when the last element in the preceding block was a
contenteditable="false"
element. - fixed toolbar buttons that only contain text labels overlapping on mobile devices.
- fixed
quickbars
quickimage picker not working on mobile. - fixed fullscreen not resizing in an iOS WKWebView component.
Version 5.1.1 October 28, 2019
- fixed font formats containing spaces being wrapped in
"
entities instead of single quotes. - fixed alert and confirm dialogs losing focus when clicked.
- fixed clicking outside a modal dialog focusing on the document body.
- fixed the context toolbar not hiding when scrolled out of view.
Version 5.1.0 October 17, 2019
- added touch selector handles for table selections on touch devices.
- added border width field to Table Cell dialog.
- added touch event listener to media plugin to make embeds playable.
- added oxide styling options to notifications and tweaked the default variables.
- added additional padding to split button chevrons on touch devices, to make them easier to interact with.
- added new platform detection functions to
Env
and deprecated older detection properties. - added
inputMode
config field to specify inputmode attribute ofinput
dialog components. - added new
inputMode
property to relevant plugins/dialogs. - added new
toolbar_sticky
setting to allow the iframe menubar/toolbar to stick to the top of the window when scrolling. - changed default setting for
toolbar_drawer
tofloating
. - changed mobile phones to use the
silver
theme by default. -
changed some editor settings to default to
false
on touch devices:menubar
(phones only).table_grid
.resize
.object_resizing
.
- changed toolbars and context toolbars to sidescroll on mobile.
- changed context menus to render as horizontal menus on touch devices.
- changed the editor to use the
VisualViewport
API of the browser where possible. - changed visualblocks toolbar button icon and renamed
paragraph
icon tovisualchars
. - changed Oxide default for
@toolbar-button-chevron-color
to follow toolbar button icon color. - changed the
urlinput
dialog component to use theurl
type attribute. - fixed Safari desktop visual viewport fires resize on fullscreen breaking the restore function.
- fixed scroll issues on mobile devices.
- fixed context toolbar unable to refresh position on iOS12.
- fixed ctrl+left click not opening links on readonly mode and the preview dialog.
- fixed Slider UI component not firing
onChange
event on touch devices. - fixed notifications overlapping instead of stacking.
- fixed inline dialogs positioning incorrectly when the page is scrolled.
- fixed inline dialogs and menus not repositioning when resizing.
- fixed inline toolbar incorrectly stretching to the full width when a width value was provided.
- fixed menu chevrons color to follow the menu text color.
- fixed table menu selection grid from staying black when using dark skins, now follows border color.
- fixed Oxide using the wrong text color variable for menubar button focused state.
- fixed the autoresize plugin not keeping the selection in view when resizing.
- fixed textpattern plugin throwing exceptions when using
forced_root_block: false
. - fixed missing CSS fill styles for toolbar button icon active state.
- fixed an issue where the editor selection could end up inside a short ended element (such as
br
). - fixed browser selection being lost in inline mode when opening split dropdowns.
- fixed backspace throwing an exception when using
forced_root_block: false
. - fixed floating toolbar drawer expanding outside the bounds of the editor.
- fixed the autocompleter not activating immediately after a
br
orcontenteditable=false
element. - fixed an issue where the autocompleter would incorrectly close on IE 11 in certain edge cases.
Version 5.0.16 September 24, 2019
- added new
referrer_policy
setting to add thereferrerpolicy
attribute when loading scripts or stylesheets. - added a slight background color to dialog tab links when focused to aid keyboard navigation.
- fixed media poster value not updating on change.
- fixed
openlink
was not registered as a toolbar button. - fixed failing to initialize if a script tag was used inside a SVG.
- fixed double top border showing on toolbar without menubar when
toolbar_drawer
is enabled. - fixed unable to drag inline dialogs to the bottom of the screen when scrolled.
- fixed notifications appearing on top of the toolbar when scrolled in inline mode.
- fixed notifications displaying incorrectly on IE 11.
Version 5.0.15 September 2, 2019
- added a dark
content_css
skin to go with the dark UI skin. - changed the enabled state on toolbar buttons so they don’t get the hover effect.
- fixed missing CSS active state on toolbar buttons.
- fixed
onChange
callback not firing for the colorinput dialog component. - fixed context toolbars not showing in fullscreen mode.
Version 5.0.14 August 19, 2019
- added an API to reload the autocompleter menu with additional fetch metadata.
- fixed missing toolbar button border styling options.
- fixed image upload progress notification closing before the upload is complete.
- fixed inline dialogs not closing on escape when no dialog component is in focus.
- fixed plugins not being filtered when defaulting to mobile on phones.
- fixed toolbar more drawer showing the content behind it when transitioning between opened and closed states.
- fixed focus not returning to the dialog after pressing the “Replace all” button in the search and replace dialog.
- removed Oxide variable
@menubar-select-disabled-border-color
and replaced it with@menubar-select-disabled-border
.
Version 5.0.13 August 6, 2019
- changed modal dialogs to prevent dragging by default and added new
draggable_modal
setting to restore dragging. - changed the nonbreaking plugin to insert nbsp characters wrapped in spans to aid in filtering. This can be disabled using the
nonbreaking_wrap
setting. - changed backspace behaviour in lists to outdent nested list items when the cursor is at the start of the list item.
- fixed sidebar growing beyond editor bounds in IE 11.
- fixed issue with being unable to keyboard navigate disabled toolbar buttons.
- fixed issues with backspace and delete in nested contenteditable true and false elements.
- fixed issue with losing keyboard navigation in dialogs due to disabled buttons.
- fixed MouseEvent.mozPressure is deprecated warning in Firefox.
- fixed
default_link_target
not being respected whentarget_list
is disabled. - fixed mobile plugin filter to only apply to the mobile theme, rather than all mobile platforms.
- fixed focus switching to another editor during mode changes.
- fixed an exception being thrown when clicking on an uninitialized inline editor.
- fixed unable to keyboard navigate to dialog menu buttons.
- fixed dialogs being able to be dragged outside the window viewport.
- fixed inline dialogs appearing above modal dialogs.
Version 5.0.12 July 18, 2019
- added ability to utilize UI dialog panels inside other panels.
- added help dialog tab explaining keyboard navigation of the editor.
- changed the “Find and Replace” design to an inline dialog.
- fixed issue where autolink spacebar event was not being fired on Edge.
- fixed table selection missing the background color.
- fixed removing shortcuts not working for function keys.
- fixed non-descriptive UI component type names.
- fixed UI registry components rendering as the wrong type when manually specifying a different type.
- fixed an issue where dialog checkbox, input, selectbox, textarea and urlinput components couldn’t be disabled.
- fixed the context toolbar not using viable screen space in inline/distraction free mode.
- fixed the context toolbar overlapping the toolbar in various conditions.
- fixed IE11 edge case where items were being inserted into the wrong location.
Version 5.0.11 July 4, 2019
- fixed packaging errors caused by a rollup treeshaking bug.
- fixed the customeditor component not able to get data from the dialog api.
- fixed collection component tooltips not being translated.
Version 5.0.10 July 2, 2019
- added support for all HTML color formats in
color_map
setting. - changed backspace key handling to outdent content in appropriate circumstances.
- changed default palette for forecolor and backcolor to include some lighter colors suitable for highlights.
- changed the search and replace plugin to cycle through results.
- fixed inconsistent types causing some properties to be unable to be used in dialog components.
- fixed an issue in the Oxide skin where dialog content like outlines and shadows were clipped because of overflow hidden.
- fixed the search and replace plugin not resetting state when changing the search query.
- fixed backspace in lists not creating an undo level.
- fixed the editor to cancel loading in quirks mode where the UI is not supported.
- fixed applying fonts not working when the name contained spaces and numbers.
- fixed so that initial content is retained when initializing on list items.
- fixed inefficient font name and font size current value lookup during rendering.
- fixed mobile font copied into the wrong folder for the oxide-dark skin.
- fixed an issue where resizing the width of tables would produce inaccurate results.
- fixed a memory leak in the Silver theme.
- fixed alert and confirm dialogs using incorrect markup causing inconsistent padding.
- fixed an issue in the Table plugin with
table_responsive_width
not enforcing units when resizing. - fixed leading, trailing and sequential spaces being lost when pasting plain text.
- fixed exception being thrown when creating relative URIs.
- fixed focus is no longer set to the editor content during mode changes unless the editor already had focus.
Version 5.0.9 June 26, 2019
- fixed print plugin not working in Firefox.
Version 5.0.8 June 18, 2019
- added back support for multiple toolbars.
- added support for .m4a files to the media plugin.
- added new
base_url
andsuffix
editor init options. - fixed incorrect padding for select boxes with visible values.
- fixed selection incorrectly changing when programmatically setting selection on contenteditable false elements.
- fixed sidebar background being transparent.
- fixed the build to remove duplicate iife wrappers.
- fixed bogus autocompleter span appearing in content when the autocompleter menu is shown.
- fixed toolbar font size select not working with legacyoutput plugin.
- fixed the legacyoutput plugin incorrectly aligning images.
- fixed remove color not working when using the legacyoutput plugin.
- fixed the font size menu applying incorrect sizes when using the legacyoutput plugin.
- fixed scrollIntoView not working when the parent window was out of view.
- fixed the print plugin printing from the wrong window in IE11.
- fixed content CSS loaded over CORS not loading in the preview plugin with content_css_cors enabled.
- fixed the link plugin missing the default “None” option for link list.
- fixed small dot visible with menubar and toolbar disabled in inline mode.
- fixed space key properly inserts a nbsp before/after block elements.
- fixed native context menu not showing with images in IE11.
- fixed inconsistent browser context menu image selection.
Version 5.0.7 June 5, 2019
- added new toolbar button and menu item for inserting tables via dialog.
- added new API for adding/removing/changing tabs in the Help dialog.
- added highlighting of matched text in autocompleter items.
- added the ability for autocompleters to work with matches that include spaces.
- added new
imagetools_fetch_image
callback to allow custom implementations for cors loading of images. - added
'http'
andhttps
options tolink_assume_external_targets
to prependhttp://
orhttps://
prefixes when URL does not contain a protocol prefix. Patch contributed by francoisfreitag. - changed annotations navigation to work the same as inline boundaries.
- changed tabpanel API by adding a
name
field and changing relevant methods to use it. - fixed text color not updating all color buttons when choosing a color.
- fixed the autocompleter not working with fragmented text.
- fixed the autosave plugin no longer overwrites window.onbeforeunload.
- fixed infinite loop in the paste plugin when IE11 takes a long time to process paste events. Patch contributed by lRawd.
- fixed image handle locations when using
fixed_toolbar_container
. Patch contributed by t00. - fixed the autoresize plugin not firing
ResizeEditor
events. - fixed editor in fullscreen mode not extending to the bottom of the screen.
- fixed list removal when pressing backspace after the start of the list item.
- fixed autocomplete not triggering from compositionend events.
- fixed
file_picker_callback
could not set the caption field on the insert image dialog. - fixed the autocompleter menu showing up after a selection had been made.
- fixed an exception being thrown when a file or number input has focus during initialization. Patch contributed by t00.
Version 5.0.6 May 22, 2019
- added
icons_url
editor settings to enable icon packs to be loaded from a custom url. - added
image_uploadtab
editor setting to control the visibility of the upload tab in the image dialog. - added new api endpoints to the wordcount plugin and improved character count logic.
- changed plugin, language and icon loading errors to log in the console instead of a notification.
- fixed the textpattern plugin not working with fragmented text.
- fixed various toolbar drawer accessibility issues and added an animation.
- fixed issues with selection and ui components when toggling readonly mode.
- fixed so readonly mode works with inline editors.
- fixed docked inline toolbar positioning when scrolled.
- fixed initial value not being set on bespoke select in quickbars and toolbar drawer.
- fixed so that nbsp entities aren’t trimmed in white-space: pre-line elements.
- fixed
mceInsertLink
command inserting spaces instead of url encoded characters. - fixed text content floating on top of dialogs in IE11.
Version 5.0.5 May 9, 2019
- added menu items to match the forecolor/backcolor toolbar buttons.
- added default directionality based on the configured language.
- added styles, icons, and tests for RTL mode.
- fixed autoresize not working with floating elements or when media elements finished loading.
- fixed incorrect vertical caret positioning in IE 11.
- fixed submenu anchoring hiding overflowed content.
- removed unused and hidden validation icons to avoid displaying phantom tooltips.
Version 5.0.4 April 23, 2019
- added back URL dialog functionality, which is now available via
editor.windowManager.openUrl()
. - added the missing throbber functionality when calling
editor.setProgressState(true)
. - added function to reset the editor content and
undo
/dirty
state viaeditor.resetContent()
. - added the ability to set menu buttons as
active
. - added
editor.mode
API, featuring a custom editor mode API. - added better styling to
floating
toolbar drawer. - added the new premium plugins to the Help dialog plugins tab.
- added the linkchecker context menu items to the default configuration.
- fixed image context menu items showing on placeholder images.
- fixed dialog labels and text color contrast within notifications/alert banners to satisfy WCAG 4.5:1 contrast ratio for accessibility.
- fixed the
selectbox
andcolorpicker
items not being translated. - fixed toolbar drawer
sliding
mode to correctly focus the editor when tabbing via keyboard navigation. - fixed positioning of the styleselect menu in iOS while using the mobile theme.
- fixed the
menubutton
onSetup
callback to be correctly executed when rendering the menu buttons. - fixed
default_link_target
setting to be correctly utilized when creating a link. - fixed
colorpicker
floating marginally outside its container. - fixed
disabled
menu items displaying asactive
when hovered. - removed redundant mobile wrapper.
Version 5.0.3 March 19, 2019
- changed empty nested-menu items within the style formats menu to be disabled or hidden if the value of
style_formats_autohide
istrue
. - changed the entire phrase ‘Powered by Tiny’ in the status bar to be a link instead of just the word ‘Tiny’.
- changed
formatselect
,styleselect
, andalign
menus to use themceToggleFormat
command internally. - fixed toolbar keyboard navigation to work as expected when
toolbar_drawer
is configured. - fixed text direction buttons to display the correct pressed state in selections that have no explicit
dir
property. - fixed the mobile editor to clean up properly when removed.
- fixed quickbar toolbars to add an empty box to the screen when it is set to
false
. - fixed an issue where pressing the Delete/Backspace key at the edge of tables was creating incorrect selections.
- fixed an issue where dialog collection items (emoticon and special character dialogs) couldn’t be selected with touch devices.
- fixed a type error introduced in TinyMCE version 5.0.2 when calling
editor.getContent()
with nested bookmarks. - fixed an issue that prevented default icons from being overridden.
- fixed an issue where Home/End keys wouldn’t move the caret correctly before or after
contenteditable=false
inline elements. - fixed styles to be preserved in IE 11 when editing via the
fullpage
plugin. - fixed the
link
plugin context toolbar missing the open link button. - fixed inconsistent dialog component spacing.
Version 5.0.2 March 5, 2019
- added presentation and document presets to
htmlpanel
dialog component. - added missing
fixed_toolbar_container
setting that has been reimplemented in the Silver theme. - added a new toolbar setting
toolbar_drawer
that moves toolbar groups which overflow the editor width into either a sliding or floating toolbar section. - changed the build process to include package lock files in the dev distribution archive.
- fixed inline dialogs that did not have aria attributes.
- fixed the UI registry to include default icons to enhance flexibility and allow use outside of toolbar buttons.
- fixed a memory leak related to select toolbar items.
- fixed a memory leak due to format changed listeners that were never unbound.
- fixed an issue where content may have been lost when using permanent bookmarks.
- fixed the
quicklink
toolbar button not rendering in thequickbars
plugin. - fixed an issue where menus were generating invalid HTML in some cases.
- fixed an issue that could cause the mobile theme to show a blank white screen when the editor was inside an
overflow:hidden
element. - fixed mobile theme using a transparent background and not taking up the full width on iOS.
- fixed the template plugin dialog missing the
description
field. - fixed input dialog components using an invalid default
type
attribute. - fixed an issue where pressing the Backspace/Delete keys before or after page break elements wouldn’t move the caret.
- fixed an issue in the table plugin where menu items and toolbar buttons weren’t showing correctly based on the selection.
- fixed inconsistent button focus styles in Firefox.
- fixed the resize icon floating left when all status bar elements were disabled.
- fixed the resize handle to not show in fullscreen mode.
Version 5.0.1 February 21, 2019
- added H1-H6 toggle button registration to the silver theme.
- added code sample toolbar button will now toggle on when the cursor is in a code section.
- added new settings to the emoticons plugin to allow additional emoticons to be added.
- fixed an issue where adding links to images would replace the image with text.
- fixed an issue where the inline editor could use fractional pixels for positioning.
- fixed an issue where uploading non-image files in the Image Plugin upload tab threw an error.
- fixed an issue in the media plugin that was causing the source URL and height/width to be lost in certain circumstances.
- fixed an issue with the Context Toolbar not being removed when clicking outside of the editor.
- fixed an issue where clicking ‘Remove link’ wouldn’t remove the link in certain circumstances.
- fixed an issue where the media plugin would fail when parsing dialog data.
- fixed an issue where retrieving the selected content as text didn’t create new lines.
- fixed incorrect keyboard shortcuts in the Help dialog for Windows.
- fixed an issue where JSON serialization could produce invalid JSON.
- fixed production CSS including references to source maps.
- fixed development CSS was not included in the development zip.
- fixed the
autocompleter
matches predicate not matching on the start of words by default. - fixed an issue where the page could be scrolled with modal dialogs open.
- fixed an issue where autocomplete menus would show an icon margin when no items had icons.
- fixed an issue in the
quickbars
plugin where images incorrectly showed the text selection toolbar. - fixed an issue that caused the inline editor to fail to render when the target element already had focus.
- removed paste as text notification banner and
paste_plaintext_inform
setting.
Version 5.0.0 February 4, 2019
- added links and registered names with
*
to denote premium plugins in Plugins tab of Help dialog. - changed TinyMCE 5 mobile skin to look more uniform with the desktop.
- fixed an issue where tab panel heights weren’t sizing properly on smaller screens and weren’t updating on resize.
- fixed an issue where tab panel heights weren’t sizing properly on smaller screens and weren’t updating on resize.
- fixed image tools not having any padding between the label and slider.
- fixed Blacklisted table,
th
andtd
as inline editor target. - fixed context toolbar toggle buttons not showing the correct state.
- fixed missing separators in the spellchecker context menu between the suggestions and actions.
- fixed notification icon positioning in alert banners.
- fixed a typo in the word count plugin name.
- fixed
charmap
and emoticons dialogs not having a primary button. - fixed an issue where resizing wouldn’t work correctly depending on the box-sizing model.
Version 5.0.0-rc-2 January 22, 2019
- added screen reader accessibility for sidebar and status bar.
- changed Emoticons and Charmap dialogs to be screen reader accessible.
- changed the
textpattern
plugin to support nested patterns properly and to allow running a command with a value for a pattern with a start and an end. - changed checkboxes to use a boolean for its state, instead of a string.
- changed formatting menus, so they are registered and made the align toolbar button use an icon instead of text.
- fixed the link dialog such that it will now retain class attributes when updating links.
- fixed “Find and replace” not showing in the “Edit” menu by default.
- fixed dropdown buttons missing the ‘type’ attribute, which could cause forms to be incorrectly submitted.
- fixed
emoticon
andcharmap
search not returning expected results in certain cases. - fixed blank rel_list values throwing an exception in the link plugin.
- removed unnecessary ‘flex’ and unused ‘colspan’ properties from the new dialog APIs.
Version 5.0.0-rc-1 January 8, 2019
- added editor settings functionality to specify title attributes for toolbar groups.
- added icons instead of button text to improve Search and Replace dialog footer appearance.
- added
tox-dialog__table
instead ofmce-table-striped
class to enhance Help dialog appearance. - added title attribute to iframes so, screen readers can announce iframe labels.
- added a wordcount menu item, that defaults to appearing in the tools menu.
- changed the
autocompleter
to only show when it has matched items. - changed SizeInput labels to Height and Width instead of Dimensions.
- changed the build process to minify and generate ASCII only output for the emoticons database.
- changed the font select dropdown logic to try to detect the system font stack and show “System Font” as the font name.
- fixed read-only mode not fully disabling editing content.
- fixed accessibility issues with the font select, font size, style select, and format select toolbar dropdowns.
- fixed accessibility issues with split dropdowns.
- fixed the
legacyoutput
plugin to be compatible with TinyMCE 5.0. - fixed icons not showing correctly in the
autocompleter
popup. - fixed an issue where preview wouldn’t show anything in Edge under certain circumstances.
- fixed the height being incorrectly calculated for the
autoresize
plugin.
Version 5.0.0-beta-1 November 30, 2018
- added a new
addNestedMenuItem()
UI registry function and changed all nested menu items to use the new registry functions. - added
title
attribute to color swatch colors. - added
anchorbar
component to anchor inline toolbar dialogs to instead of the toolbar. - added support for toolbar<n> and toolbar array config options to be squashed into a single toolbar and not create multiple toolbars.
- added error handling for when
forced_root_block
config option is set totrue
. - added functionality for the
removed_menuitems
config option. - added the ability to use a string to reference menu items in menu buttons and submenu items.
- changed the name of the “inlite” plugin to “quickbars”.
- changed the background color icon to highlight background icon.
- changed Help dialog to be accessible to screen readers.
- changed the color swatch to save selected custom colors to local storage for use across sessions.
- changed
WindowManager
API - methodsgetParams
,setParams
andgetWindows
, and the legacywindows
property, have been removed.alert
andconfirm
dialogs are no longer tracked in the window list. - fixed an inline mode issue where the save plugin upon saving can cause content loss.
- fixed an issue in IE 11 where calling
selection.getContent()
would return an empty string when the editor didn’t have focus. - removed compat3x plugin.
Version 5.0.0-preview-4 November 12, 2018
- added width and height placeholder text to image and media dialog dimensions input.
- added the ability to keyboard navigate through menus, toolbars, sidebar and the status bar sequentially.
- added translation capability back to the editor’s UI.
- added
label
component type for dialogs to group components under a label. - changed the editor resize handle so that it should be disabled when the
autoresize
plugin is turned on. - changed UI text for microcopy improvements.
- fixed distraction free plugin.
- fixed contents of the input field selected on focus instead of just receiving an outline highlight.
- fixed styling issues with dialogs and menus in IE 11.
- fixed custom style format control not honoring custom formats.
- fixed context menu not appearing when clicking an image with a caption.
- fixed directionality of UI when using an RTL language.
- fixed page responsiveness with multiple inline editors.
- fixed empty toolbar groups appearing through an invalid configuration of the
toolbar
property. - fixed text not being retained when updating links through the link dialog.
- fixed edit image context menu, context toolbar, and toolbar items being incorrectly enabled when selecting invalid images.
- fixed emoji type ahead being shown when typing URLs.
- fixed toolbar configuration properties incorrectly expecting string arrays instead of strings.
- fixed the block formatting toolbar item not showing a “Formatting” title when there is no selection.
- fixed clicking disabled toolbar buttons hiding the toolbar in inline mode.
- fixed
EditorResize
event not being fired upon editor resize. - fixed tables losing styles when updating through the dialog.
- fixed context toolbar positioning to be more consistent near the edges of the editor.
- fixed table of contents plugin now works with v5 toolbar APIs correctly.
- fixed the
link_context_toolbar
configuration not disabling the context toolbar. - fixed the link context toolbar showing incorrect relative links.
- fixed the alignment of the icon in alert banner dialog components.
- fixed the visual blocks and visual char menu options not displaying their toggled state.
- fixed the editor not displaying as fullscreen when toggled.
- removed the tox-custom-editor class that was added to the wrapping element of codemirror.
Version 5.0.0-preview-3 October 18, 2018
- changed editor layout to use modern CSS properties over manually calculating dimensions.
- changed
autoresize_min_height
andautoresize_max_height
configurations tomin_height
andmax_height
. - changed
Whole word
label in Search and Replace dialog toFind whole words only
. - fixed bugs with editor width jumping when resizing and the iframe not resizing to smaller than
150px
in height. - fixed mobile theme bug that prevented the editor from loading.
- fixed long toolbar groups extending outside of the editor instead of wrapping.
- fixed dialog titles so they are now the proper case.
- fixed color picker default to be
#000000
instead of#ff00ff
. - fixed “match case” option on the Find and Replace dialog is no longer selected by default.
- fixed vertical alignment of toolbar icons.
- fixed toolbar icons not appearing on IE11.
Version 5.0.0-preview-2 October 10, 2018
- added swatch is now shown for
colorinput
fields, instead of thecolorpicker
directly. - added
fontformats
andfontsizes
menu items. - changed configuration of color options has been simplified to
color_map
,color_cols
, andcustom_colors
. - changed
height
configuration to apply to the editor frame (including menubar, toolbar, status bar) instead of the content area. - fixed
styleselect
not updating the displayed item as the cursor moved. - fixed preview iframe not expanding to the dialog size.
- fixed ‘meta’ shortcuts not translated into platform-specific text.
- 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.
- fixed component styles to flex, so they fill large dialogs.
- fixed editor flashing unstyled during load (still in progress).
- removed
colorpicker
plugin, it is now in the theme. - removed
textcolor
plugin, it is now in the theme.
Version 5.0.0-preview-1 October 1, 2018
- Developer preview 1
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Can't find what you're looking for? Let us know.
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.