Skip to content

Updated the dependency on TinyMCE from v4.6.1 to v7.9.1#10

Merged
wr2f25 merged 1 commit intomasterfrom
tinymce-7
Jun 25, 2025
Merged

Updated the dependency on TinyMCE from v4.6.1 to v7.9.1#10
wr2f25 merged 1 commit intomasterfrom
tinymce-7

Conversation

@wr2f25
Copy link
Contributor

@wr2f25 wr2f25 commented Jun 24, 2025

This brings it up to the latest released version, bringing with it 8 years of features, bug fixes and security fixes, notably fixing #5.

This also results in a few changes:

  • The graphics of the surrounding paraphenalia have changed as v5 changed the default style from modern to silver
  • The contextmenu and paste plugins have been removed and appear to just be included by default now
  • The print plugin has been removed and we don't appear to have used it

This brings it up to the latest released version, bringing with it 8
years of features, bug fixes and security fixes, notably fixing #5.

This also results in a few changes:
- The graphics of the surrounding paraphenalia have changed as v5
  changed the default style from `modern` to `silver`
- The `contextmenu` and `paste` plugins have been removed and appear to
  just be included by default now
- The `print` plugin has been removed and we don't appear to have used
  it
@wr2f25 wr2f25 self-assigned this Jun 24, 2025
@wr2f25 wr2f25 added the enhancement New feature or request label Jun 24, 2025
@wr2f25 wr2f25 linked an issue Jun 24, 2025 that may be closed by this pull request
Copy link
Contributor

@drn05r drn05r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy for you to merge. There is nothing controversial here, as all the changes relate to TinyMCE rather than the richtext ingredient itself, except for the glue in 60_richtext.js, which looks like an appropriate update.

@wr2f25 wr2f25 merged commit 163eff2 into master Jun 25, 2025
@wr2f25 wr2f25 deleted the tinymce-7 branch June 25, 2025 08:14
wr2f25 added a commit to eprints/eprints3.5 that referenced this pull request Jun 26, 2025
wr2f25 added a commit to wr2f25/easy_pages that referenced this pull request Jul 10, 2025
The `richtext` ingredient now uses TinyMCE 7.9.1
(eprints/richtext#10) so this changes
`initTinyMCE_for_easy_pages` to match the changes in the version bump.

The `textpattern` ingredient has been removed and I believe is just
included by default now so I have just removed that.

The `preview_with_css_branding` is a modified version of `preview` so I
have pulled the new version of `preview` (as the previous version was
for 4.6.1) and then re-applied the modifications (filter content with
`preview_substitutions` and add a font style-sheet).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review XSS vulnerabilities associated with TinyMCE

2 participants