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.
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.