HospitalRun / components

Reusable React components used by HospitalRun
https://components.hospitalrun.io
MIT License
121 stars 181 forks source link

chore(deps): bump tinymce from 5.9.2 to 6.1.1 #1013

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps tinymce from 5.9.2 to 6.1.1.

Changelog

Sourced from tinymce's changelog.

6.1.1 - 2022-07-27

Fixed

  • Invalid special elements were not cleaned up correctly during sanitization. #TINY-8780
  • An exception was thrown when deleting all content if the start or end of the document had a contenteditable="false" element. #TINY-8877
  • When a sidebar was opened using the sidebar_show option, its associated toolbar button was not highlighted. #TINY-8873
  • When converting a URL to a link, the autolink plugin did not fire an ExecCommand event, nor did it create an undo level. #TINY-8896
  • Worked around a Firefox bug which resulted in cookies not being available inside the editor content. #TINY-8916
  • <pre> content pasted into a <pre> block that had inline styles or was noneditable now merges correctly with the surrounding content. #TINY-8860
  • After a codesample was pasted, the insertion point was placed incorrectly. #TINY-8861

6.1.0 - 2022-06-29

Added

  • New sidebar_show option to show the specified sidebar on initialization. #TINY-8710
  • New newline_behavior option controls what happens when the Return or Enter key is pressed or the mceInsertNewLine command is used. #TINY-8458
  • New iframe_template_callback option in the Media plugin. Patch provided by Namstel. #TINY-8684
  • New transparent property for iframe dialog component. #TINY-8534
  • New removeAttributeFilter and removeNodeFilter functions added to the DomParser and DOM Serializer APIs. #TINY-7847
  • New dispatchChange function added to the UndoManager API to fire the change with current editor status as level and current undoManager layer as lastLevel. #TINY-8641

Improved

  • Clearer focus states for buttons while navigating with a keyboard. #TINY-8557
  • Support annotating certain block elements directly when using the editor's Annotation API. #TINY-8698
  • The mceLink command can now take the value { dialog: true } to always open the link dialog. #TINY-8057
  • All help dialog links to https://www.tiny.cloud now include rel="noopener" to avoid potential security issues. #TINY-8834

Changed

  • The end_container_on_empty_block option can now take a string of blocks, allowing the exiting of a blockquote element by pressing Enter or Return twice. #TINY-6559
  • The default value for end_container_on_empty_block option has been changed to 'blockquote'. #TINY-6559
  • Link menu and toolbar buttons now always execute the mceLink command. #TINY-8057
  • Toggling fullscreen mode when using the Fullscreen plugin now also fires the ResizeEditor event. #TINY-8701
  • Getting the editor's text content now returns newlines instead of an empty string if more than one empty paragraph exists. #TINY-8578
  • Custom elements are now treated as non-empty elements by the schema. #TINY-4784
  • The autocompleter's menu HTML element is now positioned instead of the wrapper. #TINY-6476
  • Choice menu items will now use the 'menuitemradio' aria role to better reflect that only a single item can be active. #TINY-8602

Fixed

  • Some Template plugin option values were not escaped properly when doing replacement lookups with Regular Expressions. #TINY-7433
  • Copy events were not dispatched in readonly mode. #TINY-6800
  • <pre> tags were not preserved when copying and pasting. #TINY-7719
  • The URL detection used for autolink and smart paste did not work if a path segment contained valid characters such as ! and :. #TINY-8069
  • In some cases pressing the Backspace or Delete key would incorrectly step into tables rather than remain outside. #TINY-8592
  • Links opened when Alt+Enter or Option+Return was typed even when preventDefault() was called on the keydown event. #TINY-8661
  • Inconsistent visual behavior between choosing Edit -> Select All and typing Ctrl+A or Cmd+A when a document contained an image. #TINY-4550
  • Ctrl+Shift+Home/End or Cmd+Shift+Up-arrow/Down-arrow did not expand the selection to a contenteditable="false" element if the element was at the beginning or end of a document. #TINY-7795
  • Triple-clicking did not select a paragraph in Google Chrome in some circumstances. #TINY-8215
  • Images were not showing as selected when selected along with other content. #TINY-5947
  • Selection direction was not stored or restored when getting or setting selection bookmarks. #TINY-8599
  • When text within an inline boundary element was selected and the right-arrow key was pressed, the insertion point incorrectly moved to the left. #TINY-8601

... (truncated)

Commits
  • ee9f989 DOC-1769: copy edits and additions to 6.1.1 section of CHANGELOG.md (#8000)
  • 0ff9715 TINY-8861: fix cursor position after pasting a codesample snippet (#8003)
  • 7b01c93 TINY-8860: Correctly merge pre content from paste (#7999)
  • 2943819 TINY-8916: Worked around a Firefox bug whereby cookies weren't available insi...
  • b517d20 TINY-8780: Fixed a regression in how special elements were sanitized while pa...
  • f5c2ce9 TINY-8896: Fixed a regression in the autolink conversion logic (#7975)
  • 86c54b4 TINY-8877: Fixed a regression introduced in 6.1.0 that caused an exception to...
  • 71140fa TINY-8873: Fix sidebar toggle button active state when using sidebar_show o...
  • 14b1489 TINY-8099: Updated changelogs and SECURITY.md for 6.1.0 release
  • 0df5b80 DOC-1742: copy-edit changelog.md so it has a consistent use of full-stops thr...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by tinymce, a new releaser for tinymce since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #1014.