I can't find what I'm looking for: ui-components/dialog.md
gecko9 opened this issue · 0 comments
gecko9 commented
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');