此页更新时间:2021-10-27 10:59
此页英文文档:
https://www.tiny.cloud/docs/changelog/
此页不定期更新,可能不是最新消息,最新消息请参见英文源地址。
Ver 5.10.0
2021.10.11
-
Added a new
URI.isDomSafe(uri)
API to check if a URI is considered safe to be inserted into the DOM.
-
Added the
ESC
key code constant to the
VK
API.
-
Added a new
deprecation_warnings
setting for turning off deprecation console warning messages.
The element argument of the editor.selection.scrollIntoView() API is now optional, and if it is not provided the current selection will be scrolled into view.
-
The deprecated
scope
attribute is no longer added to
td
cells when converting a row to a header row.
-
The number of
col
elements is normalized to match the number of columns in a table after a table action.
-
Fixed a regression that caused block wrapper formats to apply and remove incorrectly when using a collapsed selection with multiple words.
-
Resizing table columns in some scenarios would resize the column to an incorrect position.
-
Inserting a table where the parent element had padding would cause the table width to be incorrect.
-
The resize backdrop element did not have the
data-mce-bogus="all"
attribute set to prevent it being included in output.
-
Resize handles appeared on top of dialogs and menus when using an inline editor.
-
Fixed the
autoresize
plugin incorrectly scrolling to the top of the editor content in some cases when changing content.
-
Fixed the
editor.selection.scrollIntoView()
type signature, as it incorrectly required an
Element
instead of
HTMLElement
.
-
Table cells that were both row and column headers did not retain the correct state when converting back to a regular row or column.
-
Clicking beside a non-editable element could cause the editor to incorrectly scroll to the top of the content.
-
Clicking in a table cell, with a non-editable element in an adjacent cell, incorrectly caused the non-editable element to be selected.
-
Split toolbar buttons incorrectly had nested
tabindex="-1"
attributes.
-
Fixed notifications rendering in the wrong place initially and when the page was scrolled.
-
Fixed an exception getting thrown when the number of
col
elements didn’t match the number of columns in a table.
-
The table selection state could become incorrect after selecting a noneditable table cell.
-
As of Mozilla Firefox 91, toggling fullscreen mode with
toolbar_sticky
enabled would cause the toolbar to disappear.
-
Fixed URLs not cleaned correctly in some cases in the
link
and
image
plugins.
-
Fixed the
image
and
media
toolbar buttons incorrectly appearing to be in an inactive state in some cases.
-
Fixed the
editor.selection.selectorChanged
API not firing if the selector matched the current selection when registered in some cases.
-
Inserting content into a
contenteditable="true"
element that was contained within a
contenteditable="false"
element would move the selection to an incorrect location.
-
Dragging and dropping
contenteditable="false"
elements could result in the element being placed in an unexpected location.
-
Pressing the Escape key would not cancel a drag action that started on a
contenteditable="false"
element within the editor.
-
video
and
audio
elements were unable to be played when the
media
plugin live embeds were enabled in some cases.
-
Pasting images would throw an exception if the clipboard
items
were not files (for example, screenshots taken from gnome-software). Patch contributed by cedric-anne.
一些API被弃用,详情参见
官方发行说明
。
一些编辑器设置被弃用,详情参见
官方发行说明
。
目录生成插件(Toc)和图像工具插件(imagetools)在下个版本将会变为高级(付费)插件。
paste粘贴
插件对word的支持将在下个大版本中被删除。
Ver 5.9.2
2021.9.8
-
修复特定情况下 disabling 事件和设置内容时引发的异常。
Ver 5.9.1
2021.8.27
修复Tinymce无法在 strict mode(严格模式)下编译的问题。
修复事件
TableModified
在执行某些表操作时不会触发的问题。
Ver 5.9.0
2021.8.26
-
Added a new
mceFocus
command that focuses the editor. Equivalent to using
editor.focus()
.
-
Added a new
mceTableToggleClass
command which toggles the provided class on the currently selected table.
-
Added a new
mceTableCellToggleClass
command which toggles the provided class on the currently selected table cells.
-
Added a new
tablecellvalign
toolbar button and menu item for vertical table cell alignment.
-
Added a new
tablecellborderwidth
toolbar button and menu item to change table cell border width.
-
Added a new
tablecellborderstyle
toolbar button and menu item to change table cell border style.
-
Added a new
tablecaption
toolbar button and menu item to toggle captions on tables.
-
Added a new
mceTableToggleCaption
command that toggles captions on a selected table.
-
Added a new
tablerowheader
toolbar button and menu item to toggle the header state of row cells.
-
Added a new
tablecolheader
toolbar button and menu item to toggle the header state of column cells.
-
Added a new
tablecellbordercolor
toolbar button and menu item to select table cell border colors, with an accompanying setting
table_border_color_map
to customize the available values.
-
Added a new
tablecellbackgroundcolor
toolbar button and menu item to select table cell background colors, with an accompanying setting
table_background_color_map
to customize the available values.
-
Added a new
language
menu item and toolbar button to add
lang
attributes to content, with an accompanying
content_langs
setting to specify the languages available.
-
A new
lang
format is now available that can be used with
editor.formatter
, or applied with the
Lang
editor command.
-
Added a new
language
icon for the
language
toolbar button.
-
Added a new
table-row-numbering
icon.
-
Added new plugin commands:
mceEmoticons
(Emoticons),
mceWordCount
(Word Count), and
mceTemplate
(Template).
-
Added a new
iframe_aria_text
setting to set the iframe title attribute.
-
Added a new DomParser
Node.children()
API to return all the children of a
Node
.
-
Sticky toolbars can now be offset from the top of the page using the new
toolbar_sticky_offset
setting.
-
Fancy menu items now accept an
initData
property to allow custom initialization data.
-
Improved the load time of the
fullpage
plugin by using the existing editor schema rather than creating a new one.
-
Improved the performance when UI components are rendered.
-
The context toolbar no longer unnecessarily repositions to the top of large elements when scrolling.
-
The context toolbar will now move out of the way when it overlaps with the selection, such as in table cells.
-
The context toolbar now uses a short animation when transitioning between different locations.
-
Env.browser
now uses the User-Agent Client Hints API where it is available.
-
Icons with a
-rtl
suffix in their name will now automatically be used when the UI is rendered in right-to-left mode.
-
The
formatter.match
API now accepts an optional
similar
parameter to check if the format partially matches.
-
The
formatter.formatChanged
API now supports providing format variables when listening for changes.
-
The formatter will now fire
FormatApply
and
FormatRemove
events for the relevant actions.
-
The
autolink
plugin link detection now permits custom protocols.
-
The
autolink
plugin valid link detection has been improved.
-
Changed the load order so content CSS is loaded before the editor is populated with content.
-
Changed the
emoticons
,
wordcount
,
code
,
codesample
, and
template
plugins to open dialogs using commands.
-
The context toolbar will no longer show an arrow when it overlaps the content, such as in table cells.
-
The context toolbar will no longer overlap the statusbar for toolbars using
node
or
selection
positions.
-
The
editor.fire
API was incorrectly mutating the original
args
provided.
-
Unbinding an event handler did not take effect immediately while the event was firing.
-
Binding an event handler incorrectly took effect immediately while the event was firing.
-
Unbinding a native event handler inside the
remove
event caused an exception that blocked editor removal.
-
The
SetContent
event contained the incorrect
content
when using the
editor.selection.setContent()
API.
-
The editor content could be edited after calling
setProgressState(true)
in iframe mode.
-
Tabbing out of the editor after calling
setProgressState(true)
behaved inconsistently in iframe mode.
-
Flash of unstyled content while loading the editor because the content CSS was loaded after the editor content was rendered.
-
Partially transparent RGBA values provided in the
color_map
setting were given the wrong hex value.
-
HTML comments with mismatched quotes were parsed incorrectly under certain circumstances.
-
The editor could crash when inserting certain HTML content.
-
Inserting certain HTML content into the editor could result in invalid HTML once parsed.
-
Links in notification text did not show the correct mouse pointer.
-
Using the Tab key to navigate into the editor on Microsoft Internet Explorer 11 would incorrectly focus the toolbar.
-
The editor selection could be placed in an incorrect location when undoing or redoing changes in a document containing
contenteditable="false"
elements.
-
Menus and context menus were not closed when clicking into a different editor.
-
Context menus on Android were not displayed when more than one HTML element was selected.
-
Disabled nested menu items could still be opened.
-
The nested menu item chevron icon was not fading when the menu item was disabled.
-
imagetools
buttons were incorrectly enabled for remote images without
imagetools_proxy
set.
-
Only table content would be deleted when partially selecting a table and content outside the table.
-
The table cell selection handling was incorrect in some cases when dealing with nested tables.
-
Removing a table row or column could result in the cursor getting placed in an invalid location.
-
Pressing the Tab key to navigate through table cells did not skip noneditable cells.
-
Clicking on a noneditable table cell did not show a visual selection like other noneditable elements.
-
Some table operations would incorrectly cause table row attributes and styles to be lost.
-
The selection was incorrectly lost when using the
mceTableCellType
and
mceTableRowType
commands.
-
The
mceTableRowType
was reversing the order of the rows when converting multiple header rows back to body rows.
-
The table dialog did not always respect the
table_style_with_css
option.
-
Pasting into a table with multiple cells selected could cause the content to be pasted in the wrong location.
-
The
TableModified
event was not fired when pasting cells into a table.
-
The table paste column before and after icons were not flipped in RTL mode.
-
Fixed table corruption when deleting a
contenteditable="false"
cell.
-
The
dir
attribute was being incorrectly applied to list items.
-
Applying selector formats would sometimes not apply the format correctly to elements in a list.
-
For formats that specify an attribute or style that should be removed, the formatter
match
API incorrectly returned
false
.
-
The type signature on the
formatter.matchNode
API had the wrong return type (was
boolean
but should have been
Formatter | undefined
).
-
The
formatter.formatChanged
API would ignore the
similar
parameter if another callback had already been registered for the same format.
-
The
formatter.formatChanged
API would sometimes not run the callback the first time the format was removed.
-
Base64 encoded images with spaces or line breaks in the data URI were not displayed correctly. Patch contributed by RoboBurned
插件
bbcode
、
fullpage(全屏插件)
、
legacyoutput
、
spellchecker(拼写检查)
将在下个版本中被干掉。
Ver 5.8.2
2021.6.23
-
修复包含
colgroup
单元格的粘贴问题
-
修复单页面包含多个内联编辑器时,工具栏按钮异常问题。
Ver 5.8.1
2021.5.20
当切换只读模式并调整编辑器宽度时,可能会抛出异常的问题。
当使用
pagebreak_split_block
配置并配置启用时,可能会导致内容丢失。
使用清除格式命令会导致部分列表样式存在
list-style-type: none;
的嵌套内容的style被错误的清除。
URLs were not always detected when pasting over a selection. Patch contributed by jwcooper.
OpenNotification
事件属性不正确。
Ver 5.8.0
2021.5.6
Added the
PAGE_UP
and
PAGE_DOWN
key code constants to the
VK
API.
The editor resize handle can now be controlled using the keyboard.
新增配置项:
fixed_toolbar_container_target
用于指定浮动工具栏容器,作用于 fixed_toolbar_container 相同,不同的是此参数值是一个
HTMLElement
. Patch contributed by pvrobays
-
The
inline_boundaries
feature now supports the
home
,
end
,
pageup
, and
pagedown
keys.
-
Updated the
formatter.matchFormat
API to support matching formats with variables in the
classes
property.
-
Added HTML5
audio
and
video
elements to the default alignment formats.
-
Added support for alpha list numbering to the list properties dialog.
-
Updated the
image
dialog to display the class list dropdown as full-width if the caption checkbox is not present.
-
Renamed the “H Align” and “V Align” input labels in the Table Cell Properties dialog to “Horizontal align” and “Vertical align” respectively.
-
The undocumented
setIconStroke
Split Toolbar Button API has been deprecated and will be removed in a future release.
-
Fixed a bug where it wasn’t possible to align nested list items.
-
The RGB fields in the color picker dialog were not staying in sync with the color palette and hue slider.
-
The color preview box in the color picker dialog was not correctly displaying the saturation and value of the chosen color.
-
The color picker dialog will now show an alert if it is submitted with an invalid hex color code.
-
Fixed a bug where the
TableModified
event was not fired when adding a table row with the Tab key.
-
Added missing
images_file_types
setting to the exported TypeScript types.
-
Fixed a bug where lists pasted from Word with Roman numeral markers were not displayed correctly. Patch contributed by aautio.
-
The
editor.insertContent
API was incorrectly handling nested
span
elements with matching styles.
-
The HTML5
small
element could not be removed when clearing text formatting.
-
The Oxide button text transform variable was incorrectly using
capitalize
instead of
none
. Patch contributed by dakur.
-
Fix dialog button text that was using title-style capitalization.
-
Table plugin could perform operations on tables containing the inline editor.
-
Fixed Tab key navigation inside table cells with a ranged selection.
-
The foreground and background toolbar button color indicator is no longer blurry.
-
Fixed a regression in the
tinymce.create()
API that caused issues when multiple objects were created.
-
Fixed the
LineHeight
command causing the
change
event to be fired inconsistently.
Ver 5.7.1
2021.3.17
Fixed the
help
dialog incorrectly linking to the changelog of TinyMCE 4 instead of TinyMCE 5.
Fixed a bug where error messages were displayed incorrectly in the image dialog.
Fixed an issue where URLs were not correctly filtered in some cases.
Fixed a bug where context menu items with names that contained uppercase characters were not displayed.
Fixed context menu items lacking support for the
disabled
and
shortcut
properties.
Fixed a regression where the width and height were incorrectly set when embedding content using the
media
dialog.
Ver 5.7.0
2021.2.10
added
API支持 IPv6
added
new
structure
and
style
properties to the
TableModified
event to indicate what kinds of modifications were made.
added
video
and
audio
live embed support for the
media
plugin.
added
the ability to resize
video
and
iframe
media elements.
added
a new
font_css
setting for adding fonts to both the editor and the parent document.
added
a new
ImageUploader
API to simplify uploading image data to the configured
images_upload_url
or
images_upload_handler
.
added
an Oxide variable to define the container background color in fullscreen mode.
added
Oxide variables for setting the toolbar background colors for inline and sticky toolbars.
added
a new
AfterProgressState
event that is fired after
editor.setProgressState
calls complete.
added
support for
table_column_resizing
when inserting or deleting columns.
changed
table and table column copy behavior to retain an appropriate width when pasted.
changed
the
lists
plugin to apply list styles to all text blocks within a selection.
changed
the
advlist
plugin to log a console error message when the
list
plugin isn’t enabled.
changed
the z-index of the
setProgressState(true)
throbber so it does not hide notifications.
changed
the type signature for
editor.selection.getRng()
incorrectly returning
null
.
changed
some
SaxParser
regular expressions to improve performance.
changed
editor.setProgressState(true)
to close any open popups.
fixed
codesample
highlighting performance issues for some languages.
fixed
an issue where cell widths were lost when merging table cells.
fixed
col
elements incorrectly transformed to
th
elements when converting columns to header columns.
fixed
a number of table operations not working when selecting 2 table cells on Mozilla Firefox.
fixed
a memory leak by backporting an upstream Sizzle fix.
fixed
table
width
style was removed when copying.
fixed
focus lost while typing in the
charmap
or
emoticons
dialogs when the editor is rendered in a shadow root.
fixed
corruption of base64 URLs used in style attributes when parsing HTML.
fixed
the order of CSS precedence of
content_style
and
content_css
in the
preview
and
template
plugins.
content_style
now has precedence.
fixed
an issue where the image dialog tried to calculate image dimensions for an empty image URL.
fixed
an issue where
scope
attributes on table cells would not change as expected when merging or unmerging cells.
fixed
the plugin documentation links in the
help
plugin.
fixed
events bound using
DOMUtils
not returning the correct result for
isDefaultPrevented
in some cases.
fixed
the “Dropped file type is not supported” notification incorrectly showing when using an inline editor.
fixed
an issue with external styles bleeding into TinyMCE.
fixed
an issue where parsing malformed comments could cause an infinite loop.
fixed
incorrect return types on
editor.selection.moveToBookmark
.
fixed
the type signature for
editor.selection.setCursorLocation()
incorrectly allowing a node with no
offset
.
fixed
incorrect behavior when editor is destroyed while loading stylesheets.
fixed
figure elements incorrectly splitting from a valid parent element when editing the image within.
fixed
inserting multiple rows or columns in a table cloning from the incorrect source row or column.
fixed
an issue where new lines were not scrolled into view when pressing Shift+Enter or Shift+Return.
fixed
an issue where list elements would not be removed when outdenting using the Enter or Return key.
fixed
an issue where file extensions with uppercase characters were treated as invalid.
fixed
dialog block messages were not passed through TinyMCE’s translation system.
Ver 5.6.2
2020.12.8
fixed
修复文档body使用
display: flex
时的异常问题。
Ver 5.6.1
2020.11.25
fixed
修复
mceTableRowType
和
mceTableCellType
命令未触发
newCell
事件的问题
fixed
修复清除文本格式时,HTML的
s
元素未被识别出来的问题。
fixed
修复当存在colgroups时,复制和粘贴表列导致无效HTML的问题。
fixed
某些情况下内联编辑器的宽度可能会因为工具栏宽度不正确而出现错误的问题。
Ver 5.6.0
2020.11.18
added
新增
BeforeOpenNotification
和
OpenNotification
事件,在打开通知之前捕获通知内容。
added
为内联对话框中增加
block
和
unblock
方法。
added
新增
TableModified
事件用于捕获当 table 发生任何改变时进行处理。
added
新增
images_file_types
设置参数,用于当使用paste插件进行粘贴时,那些格式的图片被自动处理为
img
。
added
新增
images_file_types
配置用于指定图片上传时的图片文件扩展名。
added
新增
format_empty_lines
配置用于确定当选择范围内包含空行是否被格式化。
added
模板新增
autocompleter
用于自定义自动完成器。
added
UI新增
enable
,
disable
, 和
isDisabled
三个方法。
added
格式刷新增
closest
API 用于获取最近选择过的格式。
added
默认的
emojiimages
表情数据使用 twemoji CDN 。
added
新增
emoticons_database
配置用于指定使用什么表情数据。
added
style_formats
新增
name
字段用于自定义格式名称。
changed
readonly
现在允许点击超链接了。
fixed
修复成功上传图片后
change
事件未触发的问题。
fixed
修复
entity_encoding
配置中不支持分隔列表。
fixed
修复某些空
tr
从表格中删除时布局错误的问题。
fixed
上传图片时允许选择例如
.jfif
之类的扩展名。
fixed
修复URL未正确清理的安全问题
fixed
DOMUtils.getParents
返回数据中错误地包含了shadow root。
fixed
修复当对话框在一个shadow root中打开时root document可以鼓动的问题。
fixed
修复
getContent
当编辑器内容为空时返回一个空行
fixed
修复table的行列调整大小时未遵照
data-mce-resize
属性的问题。
fixed
修复通过
mceInsertTable
命令插入表格时,错误地在undo列表中中追加了两次撤销。
fixed
修复带有
colgroup
属性的表格调整大小异常的问题。
fixed
修复
visualchars
插件在初始化时不正确的获取焦点。
fixed
fullpage
插件在
editor.getContent()
时可能会改变文本内容。
fixed
修复
fullscreen
插件在多个编辑器和 shadow DOM 的情况下不工作的问题。
fixed
修复字体大小关键字,如
medium
在字体大小列表中显示不正确的问题。
fixed
修复表格单元格的某些属性未被复制到新行或新列中的问题。
fixed
删除范围内所选内容的格式时,错误地删除相邻空格上的格式。
fixed
修复
Cut
菜单在新版 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.
Ver 5.5.1
2020.10.1
fixed
在文档结尾按下键出现异常的问题。
fixed
Typescript 类型在
Tools
API 中出现。
Ver 5.5.0
2020.9.29
added
TinyMCE 内核bundle输出一个 TypeScript 声明文件
added
新增
table_column_resizing
配置选项,用于控制调整表格列大小时的行为
added
新增 当使用
images_upload_handler
上传失败后移除图片的功能
added
新增
hasPlugin
方法用于确定插件是否存在。
added
新增
ToggleToolbarDrawer
命令和查询状态的能力,允许程序控制工具栏抽屉模式的状态、以及获得当前状态。
added
新增在表格中可使用
colgroup
的方法。
added
新增一个配置选项
table_use_colgroups
,用于设置是否开启 colgroup。
added
新增在不使用
media
插件的情况下,也可以选中和删除媒体元素。
added
fullscreen
插件新增
fullscreen_native
设置,可启用浏览器全屏模式(F11)
added
oxide 主题新增多个对表格细节的控制
added
新增配置
toolbar_persist
用于 inline toolbar 的显示。
added
新增 API 控制 inline toolbar 的显示。
added
新增
ObjectResized
和
ObjectResizeStart
事件,可用于控制调整大小。
added
新增 StyleSheetLoader
unload
和
unloadAll
API 用于移除已经加载的样式表。
added
新增
LineHeight
行高命令。
added
工具栏和菜单栏现在新增
lineheight
行高功能了, 同时在默认格式列表加入了行高
lineheight
。
added
新增配置
contextmenu_avoid_overlap
用于避免上下文菜单重复匹配节点的问题。
added
对话框UI组件新增listbox用于展示多级下拉列表。
added
增强了
image_class_list
,
link_class_list
,
link_list
,
table_class_list
,
table_cell_class_list
,
table_row_class_list
配置的能力。
changed
改变在选中多个单元格时的外观。
changed
激发事件的target属性使用原始node。打开原始node的 shadow root 可以使用
event.getComposedPath()
changed
当编辑器使用中的样式表被移除时,编辑器将重新整理所有样式。
changed
imagetools
image
部分图标变了。
changed
editor.insertContent()
和
editor.selection.setContent()
API 保留前后空格。
changed
改变了
table
插件的列菜单,现包含了剪切、复制、粘贴项目。
changed
修改了默认css文件使之适配本次在
table
插件上的所有改动。
removed
弃用
Env.experimentalShadowDom
fixed
修复在
preview
预览窗口中使用默认边框样式显示无边框的表格。
fixed
在 non-breaking space 后插入内容丢失空格的问题。
fixed
修复
event.getComposedPath()
产生异常的问题。
fixed
修复编辑器中使用 ShadowRoot 时不显示通知的问题。
fixed
修复编辑器中使用 ShadowRoot 时内联焦点的问题。
fixed
修复
template
模板插件预览时缺少一些样式的问题。
fixed
修复
media
媒体插件在某些情况下不保存 alternative source url (替代资源地址)的问题。
fixed
修复了在fixed表格或相对宽表格中,调整列大小时表格宽度不一致的问题。
fixed
修复了在表格中执行拖放动作会选中单元格的问题。
fixed
修复导航键盘上下键不适用于内联
contenteditable="false"
元素的问题。
fixed
修复对话框没有关闭图标的问题。
fixed
修复当选中多个链接时
unlink
工具按钮未正常工作的问题。
fixed
修复
link
链接对话框有时候不显示“显示文字”(Text to display)的问题。
fixed
修复了
DOMUtils.split()
API 可能会意外删除某些内容的问题。
fixed
修复使用多个工具栏时按ESC键未正确获取焦点的问题。
fixed
修复
AddUndo
事件的一些问题。
fixed
修复
editor.selection.setCursorLocation
把焦点放到
pre
元素外部的问题。
fixed
修复当
br_in_pre
设为 false时,在 pre 元素里按回车键会抛出异常的问题。
Ver 5.4.2
2020.8.17
fixed
修复编辑器在全屏模式下浏览器调整窗口大小时,编辑器大小不随之变化。
fixed
inline内联模式下,点通知时可能会导致编辑器隐藏的问题。
fixed
在某些情况下,链接对话框中无法删除或编辑链接的问题。
fixed
anchor_top
或
anchor_bottom
选项设为
false
时不起作用。
fixed
插件
anchor
不支持
allow_html_in_named_anchor
配置的问题。
fixed
修复在删除一个包含样式或类的的内联元素时可能会抛出异常的问题。
fixed
修复IE11中上下文菜单在边缘定位异常的问题。
fixed
当有多个
removeformat
规则存在时,可能导致没有正确删除内联格式的问题。
fixed
在清除格式时,会导致内容周围的空格也别一并删除的问题。
fixed
列表工具栏按钮在当前关闭位于选定列表时不显示激活状态的问题。
fixed
调用show或hide方法时,UI有时不会显示或隐藏的问题。
fixed
复制列表项时不保留列表样式的问题。
fixed
修复了 paste 插件将纯文本中的制表符转换为单个空格字符的问题。新增一个
paste_tab_spaces
选项用于设置用于替换制表符的空格数,详见粘贴插件配置说明。
Ver 5.4.1
2020.7.8
fixed
修复了查找替换插件搜索结果含有0宽度对象的问题。
fixed
修复拖拽不支持的文件时导致用浏览器打开而非编辑器接收文件的问题。
fixed
浏览器拖拽事件未创建撤销级别的问题。
fixed
将iframe内解析为dom
fixed
打印时主题异常。
fixed
scope
属性未添加到thead内单元格的问题。
Ver 5.4.0
2020.6.30
added
编辑器在ShadowRoot中,菜单和工具栏也支持键盘导航。
added
在shadow root 中也可点击菜单了。
added
新增API
Editor.ui.styleSheetLoader
用于在 Document 或 ShadowRoot 加载css样式。
added
在公共API新增了
StyleSheetLoader
模块。
added
新增Oxide主题变量用于改变内置的
select
元素和标题对话框外观。
added
自带图标新增
table
行列的剪切、复制、粘贴工具栏图标。
added
table
插件包含的菜单项已经可以拿出来在其它地方使用了。
added
table
插件增加
mceTableApplyCellStyle
命令。
added
为
table
插件新增剪切、复制、粘贴命令及工具栏。
added
Oxide主题新增跟字体相关的变量,允许自定义样式。
added
新增
table_header_type
用来设置表格标题部分的结构。
added
新增
table_sizing_mode
参数设置替换从前的
table_responsive_width
(已废弃)
added
新增
mceTableSizingMode
命令用于改变表格大小单位模式。
added
新增
mceTableRowType
,
mceTableColType
,
mceTableCellType
命令。
changed
advlist
插件的工具栏按钮变更为只有存在多个项目时出现下拉选项。
changed
为
mceInsertTable
命令和
insertTable
API 加入了标题、行、列相关的参数。
changed
修改部分UI使得在 ShadowRoot 中能正确加载。
changed
修改DOM使得在 ShadowRoot 中正常显示。
changed
表格插件验证和检测DOM时能给正确处理本次更新的部分。
fixed
将未定义宽度的表格设定为
fixed
模式
fixed
autosave
的
isEmpty
API 错误地把非空内容检测为空。
fixed
在无可粘贴内容时
Paste row after
和
Paste row before
菜单没有被禁用。
fixed
在 IE 和 Edge 中选择大表的性能问题。
fixed
筛选撤消堆栈中的命令的筛选器不区分大小写
fixed
当编辑器注销时
fullscreen
插件自动移除所有的类。
fixed
handling of mixed-case icon identifiers (names) for UI elements.
fixed
使用
editor.selection.getContent({ format: 'text' })
获取纯文本时丢失前后空格的问题。
fixed
使用快速链接工具会导致意外的问题。
fixed
删除表格单元格中的格式将导致 IE11 滚动到表格的末尾。
fixed
allow_html_data_urls
未正确应用设置的问题。
fixed
the
autolink
现在不会将包含多个 “@” 的字符串当做电子邮件地址。
fixed
修复移除编辑器后会在生成的元素中遗留不应出现的属性的问题。
fixed
link
插件现在支持生成
mailto:
链接,当字符串中包含 ‘@’且不存在 (
/
)时会被视为邮件地址。
fixed
valid_children
设置在检查自定义元素时,允许名称的字符范围更广了。
Ver 5.3.2
2020.6.10
fixed
a regression introduced in 5.3.0, where images_dataimg_filter was no-longer called.
Ver 5.3.1
2020.5.27
fixed
修复图片上传错误警告以及非正常关闭对话框的问题。
fixed
修复在火狐中编辑器内容滚动错误;移除(打脸)了在5.3.0中默认皮肤里加入的html和body高度。
Ver 5.3.0
2020.5.21
added
在默认皮肤 oxide 中加入了html和body的高。
added
uploadUri
和
blobInfo
现在可以从
editor.uploadImages()
得到返回值了。
added
新增一个函数
BlobCache
API 可基于base64数据和mime类型查找blob。
added
新增在选中范围内进行查找替换。
added
在上下文菜单中新增一个
lists
可选菜单项。
added
UI API 切换菜单的配置中新增可选的
icon
参数。
added
toolbar_location
加入了
auto
参数,如果顶部没有空间,则工具栏和菜单栏将显示在底部。
changed
toolbar_location
的默认值变为
auto
。
changed
现在,单选菜单(如行高插件提供的菜单)和复选菜单的选中状态变为一个专用的具体的图标,该图标显示在菜单项的右侧。
changed
插件
link
,
image
和
paste
使用 Promise 减少包的大小。
changed
默认图标将在初始化时延迟加载(猜测用来解决自定义图标的覆盖顺序问题)。
changed
内核将base64编码的URL转换为blob URL。
changed
上下文菜单会根据内容提供更合适的选项。
changed
自带外观的内联元素(如strong, b, em, i, u, strike) 含有样式时,在清除他们的样式后,如果含有style或其他属性,转换为span时的逻辑。
fixed
修复使用
selection.setContent()
API 后未执行分析器的问题。
fixed
修复表格单元格被选中时导致异常格式错误的问题。
fixed
修复
quickimage
按钮没有限制选择文件类型为图片的问题。
fixed
修复内容中嵌套 contenteditable 元素时忽略查找替换的问题。
fixed
修复非本地图片的调整大小控件有时没在正确位置的问题。
fixed
修复火狐中在极低的缩放下表格选取器出现错误的问题。
fixed
修复在 Safari 中粘贴或加载超大base64图像时会崩溃的问题。
fixed
修复在编辑器插入特殊字符或导致错误的问题(mlitwin提供补丁)。
fixed
修复只读模式时,工具栏按钮未禁用的问题。
fixed
the editor selection incorrectly changing when removing caret format containers.
fixed
修复图片对话框中删除标题宽高这些属性时,这些属性会被设置为空字符串的问题。
fixed
修复
ObjectResized
事件在没有resize时触发的问题。
fixed
修复在给表格添加行或列时意外触发
ObjectResized
和
ObjectResizeStart
事件的问题。
fixed
占位符在粘贴进编辑器后未隐藏。
fixed
禁用 localstorage 编辑器会无法加载的问题。
fixed
an issue where an uploaded image would reuse a cached image with a different mime type.
fixed
如果body元素被替换(例如使用Turbolinks),工具栏和对话框将无法显示。 (spohlenz提供补丁)
fixed
修复在段落最末尾或一个空行移除一项格式时,会导致多个格式被移除的问题。
fixed
修复0宽度空格错误地被
wordcount
插件统计的问题。
fixed
修复桌面端配置
toolbar_mode
错误地覆盖移动端配置的问题。
fixed
删除某个单元格的内容时会错误地删除整个表格的问题。
Ver 5.2.2
2020.4.23
fixed
锚点不能在空行里插入的问题。
fixed
下划线 和 删除线 未继承文本颜色。
fixed
format
菜单中指定image的对齐方式时,工具栏对齐状态异常的问题。
fixed
当编辑器在模态框或浮动容器中时,floating抽屉工具栏高度异常的问题。
fixed
media
中嵌入的内容未做安全处理。
Ver 5.2.1
2020.3.25
fixed
图片对话框新增的可访问性“仅用于装饰”的checkbox在某些对话框事件中被清除的问题。
fixed
使用
setContent
中内容过滤器移除style属性时肯恩光辉出现异常的问题。
fixed
在 Microsoft Edge 44 及更改版本中表格选中不正确的问题。
fixed
在 Microsoft Edge 44 及更改版本中表格调整大小控件不工作的问题。
fixed
在inline模式中插入内容时,使用floating抽屉工具栏模式导致工具栏显示错位的问题。
fixed
readonly
模式未返回正确的布尔值。
fixed
forced_root_block_attrs
强制块元素配置有时未作用于新的块元素。
fixed
编辑器在IE初始化中未获得正确的焦点。
fixed
对话框在使用
onAction
回调打开alert或confirm对话框时转移焦点的问题。
fixed
点击 alert 或 confirm 对话框时,内联对话框错误的关闭的问题。
fixed
上下文菜单与菜单栏和工具栏重叠的问题。
fixed
当使用
toolbar_location: 'bottom'
配置时,notification 和 内联对话框定位错误的问题。
fixed
在移动设备中
colorinput
的弹出框出现在屏幕外的问题。
fixed
搜索时开启 “whole words only” 时搜不到特殊字符。
fixed
拖动图片导致图片被复制的问题。
fixed
编辑器失去焦点但上下文工具栏依然出现的问题。
fixed
删除文本背景色有时不管用的问题。
fixed
在表中插入新的行或列,没有与之前行列保持一致样式的问题。
Ver 5.2.0
2020.2.13
added
支持格式化空格(暂)。
added
新的配置
toolbar_location
可以在编辑底部定义菜单栏和工具栏。
added
引入新的配置
toolbar_groups
,用于设置使用
floating
工具栏模式时,定义工具栏按钮分组。
added
引入新的
link_default_protocol
配置,目的是为
link
和
autolink
插件定义默认使用的协议。
added
新增
placeholder
参数,用于当编辑器内容为空时显示占位说明文本(placeholder,群众的呼声)。
added
新的API
tinymce.dom.TextSeeker
可以跨越DOM搜索文本。
added
自定义皮肤在sticky模式工具栏下显示阴影。
added
quickbars_image_toolbar
配置可以关闭image的工具栏。
added
在默认schema中加入 iframe 和 img
loading
属性。
added
新增
getNodeFilters
/
getAttributeFilters
方法到
editor.serializer
中。
added
image 插件新增的
a11y_advanced_options
配置为图片添加role="presentation"。
added
codesample
插件使用
PrismJS
实例,不再捆绑版本,以允许开发者自定义语言样式。
added
当资源加载错误时会触发error message息事件。
changed
默认 schema 不允许
onchange
作用于选定的元素。
changed
参数
toolbar_mode
的默认值由 false 变为
wrap
. 值 false 已不再支持.
changed
toolbar_drawer
变更为
toolbar_mode
,废弃了
toolbar_drawer
参数(真任性)。
changed
如果选区没有取消,iframe模式初始后会设置选择。
changed
对齐显示表格相关的图标。
changed
改善了颜色值输入的外观。
changed
如果开启
forced_root_block
,则对伪容器强制使用。
changed
对于
requireLangPack
API 在语言包加载完之后再加载插件.
changed
格式化程序将在内容加载到编辑器之前
style_formats
完成参数加载,以便使得初始内容能立刻应用格式规则。
changed
media 插件默认使用 https 。
changed
tiny的解析器会将CDATA按一般大的HTML注释来对待, 新的配置选项
preserve_cdata
可用来保护CDATA节点。
fixed
修复部分异常HTML注释解析错误
fixed
修复
quickbars
在不可编辑元素上出现的bug.
fixed
对齐工具栏按钮有时候无法切换状态。
fixed
当点击
codesample
插件相关的对象时,工具栏的按钮没有切换状态。
fixed
修复内容在视图中按回车,滚动条会异常地滚动到顶部或底部。
fixed
修复
scrollIntoView
隐藏在工具栏后面的问题
fixed
因历史遗留问题导致
resize_img_proportional
配置未生效的问题
fixed
inline模式下浮动抽屉工具栏闪烁的问题
fixed
修复打开模板对话框加载模板失败导致该对话框被锁死的问题
fixed
修复
mscontrolselect
事件未绑定到 IE/Edge 环境
fixed
Confirm对话框底部按钮只有“Yes”按钮高亮的问题
fixed
修复
file_picker_callback
功能在插件 Image, Link 和 Media 上的作用。
fixed
修复在打开抽屉模式调整编辑器大小时,可能会导致浮动抽屉显示异常。
fixed
修改
external_plugins
的加载错误信息
fixed
修复因为支持无障碍(ARIA)导致调整大小没有隐藏的问题。补丁贡献人:Parent5446
fixed
修复当选拼写错误的单词且拼写检查禁用时,导致内容丢失的问题
fixed
修复某些属性包含错误的默认值时导致css验证错误的问题。
fixed
当删除列表时未强制根元素block的问题
fixed
没有父元素时元素路径未被清除的问题。
fixed
修复包含 rect 的svg图标中的宽高会被css覆盖的问题。
fixed
修复图片上传时如果开启
images_reuse_filename
参数会返回错误地址的问题
fixed
修复打开通知时
closeButton
属性没起作用。
fixed
在移动端打开上下文菜单时键盘闪烁的问题
fixed
修复svg图标含有stroke时可能导致的问题
Ver 5.1.6
2020.1.28
fixed
readonly
只读模式没有阻止链接。
fixed
FontSize
查询命令计算值遗弃过时的字体大小。
fixed
将表格的一行从
Header
转到
Body
时错误地移动到最后一行的问题。
fixed
修复在某些设备中上下文菜单不显示的问题。
fixed
修复当在编辑器body中上下文错误的打开位置.
fixed
修复
image
插件在上传本地图片时没有考虑配置参数:
automatic_uploads
。
fixed
解析HTML注释和 CDATA 相关的安全问题.
Ver 5.1.5
2019.12.19
fixed
修复UI不能同时接受触摸和鼠标事件的问题。
fixed
当
paste as text
开启时仍能粘贴图像URL的问题。
fixed
修复
charmap
对话框焦点没在搜索字段。
fixed
修复包含
contenteditable="false"
属性的元素前后插入内容时引发的异常。
Ver 5.1.4
2019.12.11
fixed
修复单击 "从右到左" 的 checkbox 时对话框消失的问题。
fixed
修复
legacyoutput
插件在编辑器初始化时导致内容丢失的问题。
fixed
修复“查找替换”使用特殊字符搜索时不循环浏览结果的问题。
fixed
修复
visualchars
插件在某些情况下将类似html的文本转化为dom的问题。
fixed
修复
paste
插件在某些情况下无法清除内容的问题。
fixed
修复某些情况下无法正确解析HTML注释的问题。
Ver 5.1.3
2019.12.4
fixed
修复 “sticky toolbar” 在全屏时未取消的问题。
fixed
修复使用链接对话框更新链接时, 目标为“当前窗口” 时未更新修改的问题。
fixed
修复禁用的菜单项目获取焦点的逻辑。
fixed
修复Android设备中 touch 事件穿透到对话框下方的问题。
fixed
修复帮助对话框的键盘导航。
fixed
修复“查找替换”在iOS设备上的异常。
fixed
修复在某些较差的浏览器中滚动时 sticky toolbar 跳跃的性能问题。
Ver 5.1.2
2019.11.19
fixed
桌面触摸设备
mobile
配置参数。
fixed
修复不会禁言新的滚动工具栏功能的问题。
fixed
修复在Android设备中 touch 事件穿透的问题。
fixed
修复表格选择控件抛出异常的问题。
fixed
修复在Android设备中使用
paste
插件时,剪切无法移除选择内容的问题。
fixed
修复 inline toolbar 默认不受窗口限制的问题。
fixed
修复上下文菜单UI中尖角指向的问题。
fixed
修复在小屏幕上对话框无法显示底部的问题。
fixed
修复在移动端触摸表格选择很难调整大小的问题。
fixed
修复可移动表格的范围问题。
fixed
修复使用 sliding toolbars 时 inline toolbars 折叠的问题。
fixed
修复不将nbsp视为空格的问题。
fixed
修复当最后一个元素属性包含
contenteditable="false"
时,退格不合并元素的问题。
fixed
修复在移动设备中工具栏按钮是文字时会重叠的问题。
fixed
quickbars
修复在移动端不工作的问题。
fixed
修复在 iOS
WKWebView
无法调整全屏大小的问题。
Ver 5.1.1
2019.10.28
fixed
font formats用
"
实体代替单引号。
fixed
修复alert和confirm类型的对话框在点击后丢失焦点的问题。
fixed
修复在模态框外点击焦点跑到底层正文的问题。
fixed
修复滚出视图后上下文工具栏未隐藏的问题。
Ver 5.1.0
2019.10.17
added
为触摸设备加入选择表格的工具。
added
为单元格属性窗口加入边框宽度输入。
added
为“媒体”插件加入触摸事件监听器,使之可以播放。
added
调整 oxide 皮肤的部分默认参数。
added
提升触摸设备上的交互体验,为按钮增大了部分间距和填充。
added
推荐使用新的设备检测
Env
来代替旧的用法。
added
为插件/对话框添加一个新的属性
inputMode
。
added
使用
inputMode
来设置
input
对话框的输入模式。
added
新增
toolbar_sticky
设置 菜单栏/工具栏当屏幕滚动时始终保持在顶部。
changed
在默认配置中
toolbar_drawer
的值将为
floating
(从前默认为
false
)。
changed
重大变更:手机端将默认使用
silver
主题。
changed
在触摸设备中,以下配置将设为
false
:
-
menubar
(仅手机端).
-
table_grid
.
-
resize
.
-
object_resizing
.
changed
工具栏和上下文工具栏中移动设备中将采用侧滚的形式。
changed
触摸设备中上下文菜单将变为水平菜单。
changed
尽可能的使用浏览器的
VisualViewport
API 。
changed
visualblocks 工具栏按钮的图标 和
paragraph
图标使用
visualchars
。
changed
Oxide 皮肤默认使用
@toolbar-button-chevron-color
设置工具栏按钮图标颜色。
changed
为
urlinput
输入框使用
type="url"
属性。
fixed
修复Safari全屏resize导致的问题。
fixed
修复移动设备上的滚动问题。
fixed
修复在iOS12中上下文菜单无法刷新定位的问题。
fixed
修复ctrl+鼠标左键 在只读模式和预览中未打开新窗口。
fixed
修复滑动UI组件在触摸设备中未触发
onChange
事件。
fixed
通知采用覆盖而不是堆叠的方式。
fixed
修复当页面滚动时内联对话框位置不正确的问题。
fixed
修复调整大小时内联对话框和菜单未重新定位的问题。
fixed
修复当提供width的值时,内联工具栏拉伸到全屏宽度的问题。
fixed
菜单标识颜色跟随菜单文本颜色。
fixed
使用暗色皮肤时表格菜单选择网格仍是黑色,现在遵循边框颜色。
fixed
修复 Oxide 皮肤 菜单按钮焦点状态使用错误颜色值的问题。
fixed
修复 autoresize 插件在调整大小时为保留选中内容。
fixed
修复配置参数
forced_root_block: false
时,textpattern 插件会抛出异常的问题。
fixed
修复工具栏按钮激活状态缺少css样式。
fixed
修复编辑器选择元素时碰到短标签元素(如br)时可能会意外结束的问题。
fixed
修复内联模式中打开拆分下拉列表可能会导致选中内容丢失的问题。
fixed
修复当使用配置
forced_root_block: false
时,退格键可能会抛出异常的问题。
fixed
修复工具栏抽屉在编辑器外展开的问题。
fixed
修复在
br
或
contenteditable=false
元素之后 autocompleter 未激活的问题。
fixed
修复 IE11 中 autocompleter 未正确关闭。
Ver 5.0.16
2019.9.24
added
新增一个配置选项
referrer_policy
,用于配置
referrerpolicy
用于加载脚本和样式文件的安全策略(详见w3c)。
added
为对话框选项卡添加一个用于键盘导航的背景色。
fixed
修复video的poster值无法更新的问题。
fixed
修复
openlink
未被注册为 toolbar 按钮。
fixed
修复了在SVG中包含脚本标签时导致的初始化失败问题。
fixed
修复当开启
toolbar_drawer
同时禁用menuber时,显示双重上边框线的问题。
fixed
修复滚动后无法将内联对话框拖动到屏幕底部的问题。
fixed
修复当内联模式下滚动时通知出现正toolbar顶部的问题。
fixed
修复通知在IE11中显示错误的问题。
Ver 5.0.15
2019.9.2
added
为深色皮肤新增
content_css
。
changed
现在当工具栏按钮在启用状态时,不会获得hover效果。
fixed
修复工具栏按钮缺少激活状态css的问题。
fixed
修复拾色器未触发
onChange
回调的问题.
fixed
修复全屏时不显示上下文菜单的问题。
Ver 5.0.14
2019.8.19
added
新增一个API用于重载下拉菜单元数据。
fixed
修复工具栏按钮的边框.
fixed
修复了图片上传完成之前就关闭上传进度通知的问题。
fixed
修复内联对话框在有焦点时按ESC不关闭的问题。
fixed
修复默认手机模式未过滤插件的问题。
fixed
修复当工具栏抽屉模式在开关状态切换时,会跑到内容区下面的问题。
fixed
修复了“查找替换”对话框中点“全部替换”后焦点未返回对话框的问题。
removed
在皮肤 Oxide 中移除了
@menubar-select-disabled-border-color
并使用
@menubar-select-disabled-border
替代。
Ver 5.0.13
2019.8.6
changed
模态框变为默认无法拖动,增加一个配置选项
draggable_modal
可开启拖动。
changed
变更:nonbreaking插件插入不间断空格时用span包裹nbsp(此举为防止不间断空格被过滤掉)。 该行为能通过配置选项
nonbreaking_wrap
关闭。
changed
当光标位于列表项目开头时,退格键的行为变更为该前行跳出当前列表项。
fixed
修复 sidebar 超过编辑器范围(IE 11)。
fixed
修复键盘导航不到禁用的工具栏按钮。
fixed
修复退格键和删除键在遇到嵌套元素时的逻辑。
fixed
修复碰到禁用的按钮导致丢失键盘导航。
fixed
修复在Firefox中的警告
MouseEvent.mozPressure is deprecated
。
fixed
修复
target_list
禁用时,
default_link_target
未起作用。
fixed
修复移动端插件过滤模式只支持mobile主题,而不是所有移动平台.
fixed
修复模式切换时焦点跑到另一个编辑器。
fixed
修复当点击未初始化完成的编辑器时抛出异常。
fixed
修复不能使用键盘导航到对话框菜单按钮。
fixed
修复可将对话框拖到可视窗口外。
fixed
修复内联对话框出现在模态框之上。
Ver 5.0.12
2019.7.18
added
现在能在UI对话框中再此使用对话框。
added
帮助窗口加入键盘导航。
changed
查找替换使用内联对话框重新设计。
fixed
修复Edge未触发自动链接末尾加入空格的事件。
fixed
修复表格选择缺少背景色。
fixed
移除部分没用的快捷键。
fixed
修复无效的UI组件类型名。
fixed
修复UI组件注册使用手动类型导致错误的问题。
fixed
修复输入类组件无法禁用的问题。
fixed
修复上下文菜单中内联或勿扰模式下未使用可用的屏幕空间。
fixed
修复上下文菜单可能与工具栏重叠的问题。
fixed
修复在IE11和edge可能会出现插入项目位置出错的问题。
Ver 5.0.11
2019.7.4
fixed
修复一个打包错误(
问题详情
)。
fixed
修复 customeditor 组件无法从对话框API获取到数据的问题。
fixed
修复 collection 组件提示未被执行多语言翻译的问题。
Ver 5.0.10
2019.7.2
-
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.
Ver 5.0.9
2019.6.26
-
fixed
修复了打印插件在 Firefox 中无效的问题。
Ver 5.0.8
2019.6.18
-
added
back support for multiple toolbars.
-
added
support for .m4a files to the media plugin.
-
added
new
base_url
and
suffix
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.
Ver 5.0.7
2019.6.5
-
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'
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.
-
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.
Ver 5.0.6
2019.5.22
-
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.
Ver 5.0.5
2019.5.9
-
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.
Ver 5.0.4
2019.4.23
-
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 via
editor.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
and
colorpicker
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 as
active
when hovered.
-
removed
redundant mobile wrapper.
Ver 5.0.3
2019.3.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
.
-
changed
the entire phrase ‘Powered by Tiny’ in the status bar to be a link instead of just the word ‘Tiny’.
-
changed
formatselect
,
styleselect
, and
align
menus to use the
mceToggleFormat
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.
Ver 5.0.2
2019.3.5
-
added
演示和文档加入
htmlpanel
组件。
-
added
已在Silver主题加入了缺失的
fixed_toolbar_container
配置选项。
-
added
新增了一个新的配置选项
toolbar_drawer
它可自动收缩超过宽度的工具栏,当点击抽屉图标时,该配置可定义被隐藏的工具栏滑出
sliding
或浮动
floating
显示。
-
changed
打包开发版时加入锁文件。
-
fixed
修复内联对话框没有aria属性的问题。
-
fixed
注册UI时增加灵活性,包含预置图标且可在工具栏按钮之外使用。
-
fixed
修复操作工具栏项目时可能出现内存泄漏的问题。
-
fixed
修复因格式更改而监听器并未解除绑定而导致的内存泄漏问题。
-
fixed
修复使用书签时可能会丢失内容的问题。
-
fixed
修复了
quicklink
工具栏按钮没有出现在
quickbars
插件中的问题。
-
fixed
修复某种情况下菜单栏可能会生成无效HTML的问题。
-
fixed
修复当编辑器位于
overflow:hidden
元素中时,可能导致移动主题显示白屏的问题。
-
fixed
修复在iOS中移动主题使用透明背景且不占用全部宽度的问题。
-
fixed
修复模板插件对话框缺少
description
字段的问题。
-
fixed
修复了输入对话框组件使用了无效的
type
属性的问题。
-
fixed
修复了在分页符之前或之后按退格键或删除键不会移动插入符的问题。
-
fixed
修复了表格插件的菜单项和工具栏项目无法根据所选内容显示正确组件的问题。
-
fixed
修复了在 Firefox 中按钮焦点不一致的问题。
-
fixed
修复当状态栏被禁用时调整大小图标飘在左侧的问题。
-
fixed
在全屏模式下不显示调整大小图标。
Ver 5.0.1
2019.2.21
-
added
在 silver 主题中增加了 H1-H6 切换按钮。
-
added
优“化代码示例”插件,当光标在代码框中时,工具栏按钮新增状态切换显示。
-
added
为“表情”插件添加新的配置选项
emoticons_append
,现在可以用它来追加新表情了。
-
fixed
修复了为图片添加链接会替换掉图片文本的问题。
-
fixed
修复了内联模式定位使用分数像素的问题。
-
fixed
修复图片插件中上传图片选项卡内的文件是非图像文件时抛出异常的问题。
-
fixed
修复了媒体插件的一个问题,该问题可能导致源URL和宽高在某些情况下丢失。
-
fixed
修复在焦点离开编辑器时上下文菜单未关闭的问题。
-
fixed
修复了有时候“删除链接”并未删掉链接的问题。
-
fixed
修复了打开媒体插件分析当前数据时可能出错的问题。
-
fixed
修复检索选中的纯文本时不会跨新行的问题。
-
fixed
修复帮助窗口中键盘快捷键不正确的问题。
-
fixed
修复JSON序列化后可能产生无效JSON格式的问题。
-
fixed
修复了生成环境CSS包含在资源映射中。
-
fixed
修复开发版的css没有包含在开发版压缩包中的问题。
-
fixed
修复
autocompleter
没匹配第一个字的问题。
-
fixed
修复打开模态窗页面依然可以滚动的问题。
-
fixed
修复了当自动完成菜单没有项目时,依然显示图标边距的问题。
-
fixed
修复了
quickbars
插件中的一个问题,该问题可能导致图像错误地显示在文本选择工具栏上。
-
fixed
修复了当内联模式初始化时,焦点在目标元素上导致编辑器异常的问题。
-
removed
移除了“粘贴为纯文本”的通知以及设置项
paste_plaintext_inform
。
Ver 5.0.0
2019.2.4
-
added
在帮助插件中在插件名称后加入
*
用于表示该插件为高级插件。
-
changed
优化了 TinyMCE 5 移动端皮肤的显示效果。
-
fixed
修复了在小屏幕中选项卡高度和调整大小后未更新的问题。
-
fixed
修复图片工具标签和滑动条之间没有间距。
-
fixed
将
table, th, td
加入内联黑名单。
-
fixed
修复上下文工具栏按钮未显示正确的切换状态。
-
fixed
修复拼写检查器的上下文菜单中建议和操作缺少分隔符。
-
fixed
修复通知UI中图标的定位问题。
-
fixed
修复了字数统计插件的一处拼写错误。
-
fixed
修复 “符号”和“表情”对话框中没有主按钮。
-
fixed
修复了调整大小逻辑中没有考虑
box-sizing
的问题.