Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.10.6->6.2.0⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
tinymce/tinymce
v6.2.0Added
text_patterns_lookupoption to provide additional text patterns dynamically. #TINY-8778promotionoption. #TINY-8840format_noneditable_selectoroption to specify thecontenteditable="false"elements that can be wrapped in a format. #TINY-8905allowas a valid attribute for theiframeelement in the editor schema. #TINY-8939searchfield in theMenuButtonthat shows a search field at the top of the menu, and refetches items when the search field updates. #TINY-8952Improved
contenteditable="false"element by wrapping it. Configurable using theformat_noneditable_selectoroption. #TINY-8905triggerconfiguration. #TINY-8887Changed
@menubar-row-separator-coloroxide variable no longer affects the divider between the Menubar and Toolbar. It only controls the color of the separator lines drawn in multiline Menubars. #TINY-8632@toolbar-separator-coloroxide variable now affects the color of the separator between the Menubar and Toolbar only. #TINY-8632Fixed
editor.getContent({format: 'text'})differed between browsers. #TINY-8579auto_focusoption was not scrolled into the viewport. #TINY-8785contenteditable="false"block did not work properly in some circumstances. #TINY-8814data-*custom attributes were sometimes removed when they should not be removed. #TINY-8755class="image"incorrectly highlighted the link toolbar button. #TINY-8832advlist_bullet_stylesandadvlist_number_stylesoptions was not respected. #TINY-8721contenteditableelements. #TINY-8905urlinputdialog components (commonly but not exclusively presented in the Insert/Edit Link dialog) in certain cases. #TINY-8775contentEditable=falseelement towards a document’s edge did not cause scrolling. #TINY-8874Maximum call stack size exceededexception. #TINY-6945contenteditable="false"lists can no longer be toggled; andcontenteditable="true"list elements within these lists can no longer be indented, split into another list element, or appended to the previous list element by deletion. #TINY-8920tinymce-5skin. #TINY-8980contenteditable="false"<pre>elements. #TINY-9101editor.insertContent()API did not respect theno_eventsargument. #TINY-9140Deprecated
ch, has been deprecated. It will be removed in the next major release. Use thetriggerproperty instead. #TINY-8887v6.1.2Fixed
autolinkplugin as it caused duplicated content in some edge cases. #TINY-8936v6.1.1Fixed
contenteditable="false"element. #TINY-8877sidebar_showoption, its associated toolbar button was not highlighted. #TINY-8873autolinkplugin did not fire anExecCommandevent, nor did it create an undo level. #TINY-8896<pre>content pasted into a<pre>block that had inline styles or wasnoneditablenow merges correctly with the surrounding content. #TINY-8860codesamplewas pasted, the insertion point was placed incorrectly. #TINY-8861v6.1.0Added
sidebar_showoption to show the specified sidebar on initialization. #TINY-8710newline_behavioroption controls what happens when the Return or Enter key is pressed or themceInsertNewLinecommand is used. #TINY-8458iframe_template_callbackoption in the Media plugin. Patch provided by Namstel. #TINY-8684transparentproperty foriframedialog component. #TINY-8534removeAttributeFilterandremoveNodeFilterfunctions added to the DomParser and DOM Serializer APIs. #TINY-7847dispatchChangefunction added to the UndoManager API to fire the change with current editor status as level and current undoManager layer as lastLevel. #TINY-8641Improved
mceLinkcommand can now take the value{ dialog: true }to always open the link dialog. #TINY-8057https://www.tiny.cloudnow includerel="noopener"to avoid potential security issues. #TINY-8834Changed
end_container_on_empty_blockoption can now take a string of blocks, allowing the exiting of a blockquote element by pressing Enter or Return twice. #TINY-6559end_container_on_empty_blockoption has been changed to'blockquote'. #TINY-6559mceLinkcommand. #TINY-8057ResizeEditorevent. #TINY-8701'menuitemradio'aria role to better reflect that only a single item can be active. #TINY-8602Fixed
<pre>tags were not preserved when copying and pasting. #TINY-7719!and:. #TINY-8069preventDefault()was called on the keydown event. #TINY-8661contenteditable="false"element if the element was at the beginning or end of a document. #TINY-7795editor.selection.isForward()API could throw an exception due to an invalid selection. #TINY-8686editor.selection.normalize()API. #TINY-7817InsertParagraphormceInsertNewLinecommands did not delete the current selection like the native command does. #TINY-8606InsertLineBreakcommand did not replace selected content. #TINY-8458'none'on the parent list. #TINY-8078contenteditable="false"element located at the edge of content. #TINY-8729contenteditable="false"block element. #TINY-8588uploadImagesno longer triggers two change events if there is a removal of images on upload. #TINY-8641<pre>elements. #TINY-7715table_style_by_cssoption set tofalsewould sometimes reset the table width. #TINY-8758undefined. #TINY-8592/wwwroot/lib/when TinyMCE is installed into a project. #TINY-8611v6.0.3Fixed
format_empty_linesoption were not kept in the serialized content. #TINY-8639selement was missing from the default schema text inline elements. #TINY-8639v6.0.2Fixed
v6.0.1Fixed
binscripts to build from the source. #TINY-8542AutocompleterStartevent nor close the menu in some cases. #TINY-8552tinymce-5skin when usingtoolbar_location: 'bottom'. #TINY-8564contenteditable="false"elements. #TINY-8563buttonTypeproperty did not work for dialog footer buttons. #TINY-8582v6.0.0Added
editor.optionsAPI to replace the oldeditor.settingsandeditor.getParamAPIs. #TINY-8206editor.annotator.removeAllAPI to remove all annotations by name. #TINY-8195Resource.unloadAPI to make it possible to unload resources. #TINY-8431FakeClipboardAPI on thetinymceglobal. #TINY-8353dispatch()function to replace the now deprecatedfire()function in various APIs. #TINY-8102AutocompleterStart,AutocompleterUpdateandAutocompleterEndevents. #TINY-8279mceAutocompleterClose,mceAutocompleterReloadcommands. #TINY-8279mceInsertTableDialogcommand to open the insert table dialog. #TINY-8273sliderdialog component. #TINY-8304imagepreviewdialog component, allowing preview and zoom of any image URL. #TINY-8333buttonTypeproperty on dialog button components, supportingtoolbarstyle in addition toprimaryandsecondary. #TINY-8304tabindexattribute is now copied from the target element to the iframe. #TINY-8315Improved
tinymce-5andtinymce-5-dark. #TINY-8373200pxto400pxto improve the usability of the editor. #TINY-6860editor.uploadImages()API now includes aremovedflag, reflecting if the image was removed after a failed upload. #TINY-7735ScriptLoader,StyleSheetLoader,AddOnManager,PluginManagerandThemeManagerAPIs will now return aPromisewhen loading resources instead of using callbacks. #TINY-8325ThemeLoadErrorevent is now fired if the theme fails to load. #TINY-8325BeforeSetContentevent will now include the actual serialized content when passing in anAstNodeto theeditor.setContentAPI. #TINY-7996editor.selection.setRngnow update the caret position bookmark used when focus is returned to the editor. #TINY-8450emoticonplugin dialog, toolbar and menu item has been updated to use the more accurateEmojisterm. #TINY-7631redialAPI will now only rerender the changed components instead of the whole dialog. #TINY-8334setDatamethod now uses a deep merge algorithm to support partial nested objects. #TINY-8333initialDatatype is nowPartial<T>to match the underlying implementation details. #TINY-8334Changed
pasteplugin's functionality to TinyMCE core. #TINY-8310paste_data_imagesoption now defaults totrue. #TINY-8310noneditableplugin to TinyMCE core. #TINY-8311noneditable_noneditable_classoption tononeditable_class. #TINY-8311noneditable_editable_classoption toeditable_class. #TINY-8311textpatternplugin to TinyMCE core. #TINY-8312textpattern_patternsoption totext_patterns. #TINY-8312hrplugin's functionality to TinyMCE core. #TINY-8313printplugin's functionality to TinyMCE core. #TINY-8314DomParserAPI no longer uses a custom parser internally and instead uses the nativeDOMParserAPI. #TINY-4627editor.getContent()API can provide custom content by preventing and overridingcontentin theBeforeGetContentevent. This makes it consistent with theeditor.selection.getContent()API. #TINY-8018editor.setContent()API can now be prevented using theBeforeSetContentevent. This makes it consistent with theeditor.selection.setContent()API. #TINY-8018newoperator. #TINY-8256newoperator. #TINY-8322falseor an empty string on removed editors. #TINY-7829mceAddEditorandmceToggleEditorcommands now take an object as their value to specify the id and editor options. #TINY-8138mceInsertTablecommand can no longer open the insert table dialog. Use themceInsertTableDialogcommand instead. #TINY-8273pluginsoption now returns astringarray instead of a space separated string. #TINY-8455mediaplugin no longer treatsiframe,video,audioorobjectelements as "special" and will validate the contents against the schema. #TINY-8382images_upload_handleroption is no longer passed asuccessorfailurecallback and instead requires aPromiseto be returned with the upload result. #TINY-8325tinymce.settingsglobal property is no longer set upon initialization. #TINY-7359changeevent is no longer fired on first modification. #TINY-6920GetContentevent will now always pass astringfor thecontentproperty. #TINY-7996stag when using a html 5 schema. #TINY-8262striketag is automatically converted to thestag when using a html 5 schema. #TINY-8262:control character has been changed to~for the schemavalid_elementsandextended_valid_elementsoptions. #TINY-6726primaryproperty on dialog buttons has been deprecated. Use the newbuttonTypeproperty instead. #TINY-8304»to›. #TINY-8372Powered by Tinybranding text with the Tiny logo. #TINY-8371isDisabled()function with anisEnabled()function for various APIs. #TINY-8101enable()anddisable()functions with asetEnabled(state)function in various APIs. #TINY-8101disabledproperty with anenabledproperty in various APIs. #TINY-8101disable(name)andenable(name)functions with asetEnabled(name, state)function in the Dialog APIs. #TINY-8101tinymce.Env.os.isOSXAPI totinymce.Env.os.isMacOS. #TINY-8175tinymce.Env.browser.isChromeAPI totinymce.Env.browser.isChromiumto better reflect its functionality. #TINY-8300getShortEndedElementsSchema API togetVoidElements. #TINY-8344font_formatsoption tofont_family_formats. #TINY-8328fontselecttoolbar button andfontformatsmenu item tofontfamily. #TINY-8328fontsize_formatsoption tofont_size_formats. #TINY-8328fontsizeselecttoolbar button andfontsizesmenu item tofontsize. #TINY-8328formatselecttoolbar button andblockformatsmenu item toblocks. #TINY-8328styleselecttoolbar button andformatsmenu item tostyles. #TINY-8328lineheight_formatsoption toline_height_formats. #TINY-8328getWhiteSpaceElements()function togetWhitespaceElements()in theSchemaAPI. #TINY-8102mceInsertClipboardContentcommandcontentproperty tohtmlto better reflect what data is passed. #TINY-8310default_link_targetoption tolink_default_targetfor bothlinkandautolinkplugins. #TINY-4603rel_listoption tolink_rel_listfor thelinkplugin. #TINY-4603target_listoption tolink_target_listfor thelinkplugin. #TINY-4603link_default_protocoloption has been changed tohttpsinstead ofhttp. #TINY-7824element_formatoption has been changed tohtml. #TINY-8263schemaoption has been changed tohtml5. #TINY-8261table_style_by_cssoption has been changed totrue. #TINY-8259table_use_colgroupsoption has been changed totrue. #TINY-8259Fixed
editor.fire()API was incorrect if the editor had been removed. #TINY-8018editor.selection.getContent()API did not respect theno_eventsargument. #TINY-8018editor.annotator.removeAPI did not keep selection when removing the annotation. #TINY-8195GetContentevent was not fired when gettingtreeortextformats using theeditor.selection.getContent()API. #TINY-8018beforeinputandinputevents would sometimes not fire as expected when deleting content. #TINY-8168 #TINY-8329tableplugin would sometimes not correctly handle headers in thetfootsection. #TINY-8104silvertheme UI was incorrectly rendered before plugins had initialized. #TINY-8288allow_html_in_named_anchoroption. #TINY-3799AstNodeHTML serializer did not serializepreortextareaelements correctly when they contained newlines. #TINY-8446onActionfunction caused the menu to close. #TINY-8513Removed
pluginsoption allowing a mixture of a string array and of space separated strings. #TINY-8399falsevalue for theforced_root_blockoption. #TINY-8260imagetoolsplugin, which is now classified as a Premium plugin. #TINY-8209imagetoolsdialog component. #TINY-8333tocplugin, which is now classified as a Premium plugin. #TINY-8250tabfocusplugin. #TINY-8315textpatternplugin's API as part of moving it to core. #TINY-8312tableplugin's API. #TINY-8273EditorUploadAPI. #TINY-8325EnvAPI. #TINY-8162filterNodemethod from theDomParserAPI. #TINY-8249SaxParserAPI. #TINY-8218tinymce.utils.PromiseAPI. #TINY-8241toHexfunction for theDOMUtilsandStylesAPIs. #TINY-8163execCommandhandler function from the plugin and theme interfaces. #TINY-7829editor.settingsproperty as it has been replaced by the new Options API. #TINY-8236shortEndedandfixedproperties ontinymce.html.Nodeclass. #TINY-8205mceInsertRawHTMLcommand. #TINY-8214imageplugin dialog advanced tab. #TINY-3422paste_filter_dropoption as native drag and drop handling is no longer supported. #TINY-8511mobiletheme. #TINY-7832$,Class,DomQueryandSizzleAPIs. #TINY-4520 #TINY-8326Color,JSON,JSONPandJSONRequest. #TINY-8162XHRAPI. #TINY-8164setIconStrokeSplit Toolbar Button API. #TINY-8162editorsproperty fromEditorManager. #TINY-8162execCallbackandsetModeAPIs fromEditor. #TINY-8162addComponentsanddependenciesAPIs fromAddOnManager. #TINY-8162clearInterval,clearTimeout,debounce,requestAnimationFrame,setInterval,setTimeoutandthrottleAPIs fromDelay. #TINY-8162Schemaoptions. #TINY-7821file_browser_callback_types,force_hex_style_colorsandimages_dataimg_filteroptions. #TINY-7823filepicker_validator_handler,force_p_newlines,gecko_spellcheck,tab_focus,table_responsive_widthandtoolbar_draweroptions. #TINY-7820media_scriptsoption in themediaplugin. #TINY-8421editor_deselector,editor_selector,elements,modeandtypeslegacy TinyMCE init options. #TINY-7822content_editable_stateandpadd_empty_with_broptions. #TINY-8400autoresize_on_initoption from theautoresizeplugin. #TINY-8400fullpage,spellchecker,bbcode,legacyoutput,colorpicker,contextmenuandtextcolorplugins. #TINY-8192editor.editorCommands.hasCustomCommandAPI. #TINY-7829mceResetDesignMode,mceRepaintandmceBeginUndoLevelcommands. #TINY-7829Deprecated
primaryproperty has been deprecated and will be removed in the next major release. Use the newbuttonTypeproperty instead. #TINY-8304fire()function oftinymce.Editor,tinymce.dom.EventUtils,tinymce.dom.DOMUtils,tinymce.util.Observableandtinymce.util.EventDispatcherhas been deprecated and will be removed in the next major release. Use thedispatch()function instead. #TINY-8102contentproperty on theSetContentevent has been deprecated and will be removed in the next major release. #TINY-8457editor.setContentAPI has been deprecated and will be removed in the next major release. #TINY-8457Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.