Skip to content

fix: hardcoded config variable name for default TinyMCE config#17

Merged
EmilePerron merged 1 commit intomainfrom
fix-default-config-hardcoded-variable-name
Mar 30, 2025
Merged

fix: hardcoded config variable name for default TinyMCE config#17
EmilePerron merged 1 commit intomainfrom
fix-default-config-hardcoded-variable-name

Conversation

@EmilePerron
Copy link
Owner

The default-tinymce-config.js was relying on the additional config variable name being tinymceAdditionalConfig, but this variable name is configurable, so this wasn't always the case.

When this variable name was different, the GPL license config wasn't applied, which caused unwanted "Upgrade" buttons to appear along with other TinyMCE Cloud version elements.

This MR updates the problematic behaviour to use the configured variable name instead of an hardcoded assumption.

closes #16

@EmilePerron EmilePerron force-pushed the fix-default-config-hardcoded-variable-name branch from d8265ac to a7e6635 Compare March 30, 2025 00:08
@EmilePerron EmilePerron merged commit 3b225a3 into main Mar 30, 2025
15 checks passed
@EmilePerron EmilePerron deleted the fix-default-config-hardcoded-variable-name branch March 30, 2025 00:12
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.

Button upgrade always show with licence gpl

1 participant