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

Callback Functions in Config #56

Open
temp1029 opened this issue Mar 26, 2021 · 1 comment
Open

Callback Functions in Config #56

temp1029 opened this issue Mar 26, 2021 · 1 comment

Comments

@temp1029
Copy link

Is there a known way to include callback functions in the config?

I am asking because several plugins have options which allow a callback to be provided. One example is the media plugin which has the options 'media_url_resolver' and 'video_template_callback'.

Maybe I'm missing something simple here, but from what I can see the options are passed directly to the vue element as a json string via the init prop.

This might really be an issue for the tinymce-vue team, but since we'd also need to convert the function from PHP to json I figured I'd start here.

@temp1029
Copy link
Author

temp1029 commented Mar 26, 2021

Ah, looks like this might need to be handled in a similar way to LFM.

Any chance a PR would be accepted for this if I can up with one for the media plugin callbacks?

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

No branches or pull requests

1 participant