Skip to content

Sample on how to define Key "setup" in Editor.Conf Dictionary #73

@davidmfritz

Description

@davidmfritz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions