Skip to content

Updates plugin for TinyMCE Upgrade#3

Merged
sdfippinger merged 3 commits intomasterfrom
tinymce-upgrade
Mar 7, 2024
Merged

Updates plugin for TinyMCE Upgrade#3
sdfippinger merged 3 commits intomasterfrom
tinymce-upgrade

Conversation

@sdfippinger
Copy link
Copy Markdown
Contributor

TinyMCE upgrade from 4 to 6 requires a good bit of changes to this plugin. Also cleans up some code formatting to what we use now.

This should stay in Draft until we get the TinyMCE Update merged into master branch of SAM. Otherwise SAM may point to this v6 compatible plugin that will be broke in v4.

TinyMCE upgrade from 4 to 6 requires a good bit of changes to this plugin. Also cleans up some code formatting to what we use now.
@sdfippinger sdfippinger requested a review from sntran January 23, 2024 15:52
Comment thread plugin.js Outdated
var i = 14

while (i--) uri[o.key[i]] = m[i] || ''
function parseUri(str) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Browsers now have the URL construct that can be used to parse. And there is URLSearchParams that can give us the query string. Maybe we switch to that instead?

@sdfippinger sdfippinger marked this pull request as ready for review March 7, 2024 20:41
@sdfippinger sdfippinger merged commit c6198b4 into master Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants