tinymce / tinymce/tinymce-docs

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

Open
#2,778 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
96
Forks
219
Avg merge
1d 4h
Merged PRs (30d)
26

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ui-components/dialog.md and the searchreplace command shown in the issue. Clarify how code opens the Find/Replace dialog and whether the Find field can be populated, documenting the supported behavior so the page answers the Angular and JavaScript usage question.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
api, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.