Search and Replace plugin
This plugin adds search/replace dialogs to TinyMCE. It also adds a toolbar button and the menu item Find and replace under the Edit menu dropdown.
Basic setup
tinymce.init({
selector: 'textarea', // change this value according to your HTML
plugins: 'searchreplace',
toolbar: 'searchreplace'
});
Toolbar buttons
The Search and Replace plugin provides the following toolbar buttons:
| Toolbar button identifier | Description |
|---|---|
|
Searches and/or Replaces contents within the editor. |
These toolbar buttons can be added to the editor using:
-
The
toolbarconfiguration option. -
The
quickbars_insert_toolbarconfiguration option.
Menu items
The Search and Replace plugin provides the following menu items:
| Menu item identifier | Default Menu Location | Description |
|---|---|---|
|
Edit |
Opens the search/replace dialog. |
These menu items can be added to the editor using:
-
The
menuconfiguration option. -
The
contextmenuconfiguration option.