Hi there,
I'd like to have an example on how to define a reference to a JavaScript function for Editor.Conf that actually gets executed when tinymceBlazorWrapper.init is run.
<Editor Value="@Text" ScriptSrc="/js/tinymce/tinymce.min.js" Conf="@_editorConf" ValueChanged="ValueChanged" />
@code {
// ...
private readonly Dictionary<string, object> _editorConf = new()
{
{"setup", "<<What to write here?>>"}
};
}
Can you help me with this issue?
Thank you in advance!
Best regards, David