Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix civicrmtoken when mosaicoConfig hook is used #646

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

MegaphoneJon
Copy link
Contributor

When using an extension that uses hook_civicrm_mosaicoConfig I would get this error:

image

Failed to load plugin: civicrmtoken from url https://mysite.org/sites/all/civicrm-custom/extensions/uk.co.vedaconsulting.mosaico/packages/mosaico/dist/rs/plugins/civicrmtoken/plugin.min.js

I thought that tinymceConfigFull was supposed to inherit tinymceConfig - but perhaps that happens differently when the hook is invoked. At any rate, I found that explicitly defining the path to civicrmtoken fixed the issue.

@mattwire mattwire merged commit 886e961 into veda-consulting-company:2.x Sep 5, 2024
1 check 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.

2 participants