Skip to content

I can't find what I'm looking for: ui-components/dialog.md #2778

@gecko9

Description

@gecko9

Please forgive such a basic question.
How do I open the Find/Replace dialog box, and populate the Find entry, from code? It's in an Angular 16 app and I have a 'handle' to the TinyMCE object.

Edit:
The following code opens the dialog but how to populate the find input box when it opens?
var editor = tinymce.activeEditor;
editor.execCommand('searchreplace');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions