Skip to content

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

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');

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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