Skip to content

Omit explicit wp-tinymce dependency to work around third party vendor conflict - #269

Merged
mlwilkerson merged 3 commits into
mainfrom
toolset-compat
Oct 2, 2025
Merged

Omit explicit wp-tinymce dependency to work around third party vendor conflict#269
mlwilkerson merged 3 commits into
mainfrom
toolset-compat

Conversation

@mlwilkerson

@mlwilkerson mlwilkerson commented Sep 25, 2025

Copy link
Copy Markdown
Member

This PR omits the wp-tinymce dependency when registering this plugins classic editor JavaScript.

This plugin's classic editor script does rely on the presence of the tinymce global, hence the explicit declaration of that dependence. However, we found that doing this impacts loading order and/or execution time in a way that results in a bug that is observed in interaction with Toolset Types. See here.

Customers experiencing that problem reported that this change resolves the issue. The root cause seems to be something to do with Toolset's assumptions. Toolset should not break due to changing the load order of standard scripts. However, this workaround seems low enough risk to do it anyway.

@mlwilkerson
mlwilkerson marked this pull request as ready for review October 2, 2025 22:32
@mlwilkerson mlwilkerson changed the title Experiment: work around Toolset Types incompatibility by omitting explicit wp-tinymce dependency Omit explicit wp-tinymce dependency to work around third party vendor conflict Oct 2, 2025
@mlwilkerson
mlwilkerson merged commit 93a3d12 into main Oct 2, 2025
9 checks passed
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.

1 participant