nova-tinymce
nova-tinymce copied to clipboard
Callback Functions in Config
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.
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?