Why don’t you add a custom button with the functionality you require? You could attach a JavaScript method to do the search and replace as requested?
Check out:
How to add a custom button to the tinyMCE toolbar?
Hope this helps…
Related Posts:
- Search results with custom loop don’t update when paged
- Default WP search excluding specific characters, is it possible?
- Add a searchbox to the body of a page
- Strip HTML Tags From Search Results
- Search & Replace trailing strings
- Search and replace titles of posts with specific tags
- Search is always exact [closed]
- Empty search returns home page, how to return not found search page?
- How to look at code in WordPress repositories without downloading?
- Insert DIV container below 1st search result
- How to make WordPress search prioritise page titles?
- How to add the author search in the default wordpress search?
- How to customize the default HTML for WordPress Attachments
- How to search for users based on added user metadata
- Search by Post ID and display content of the post in search result
- Exclude top-level pages from search results
- Search in non-English language returns only one result
- How can I implement faceted search with WordPress 3.x?
- How to customize search result page title?
- Add visual editor capability to custom excerpt window?
- Customise search form in the Widget
- Search results URL without query string variables
- Comment filtering (search)
- How to control WordPress Search Behavior?
- Get the selected term in a dropdown search
- Separating search results collectively by type
- Changing the search results destination URL
- Noindex, nofollow stuck on homepage
- Making a list of post tags in string
- Strange Search Queries in Apache Status
- WP_User_Query search with multiple search queries
- update default search function and get postmeta entries
- Need to do blank search.
- Search function works improperly
- Is there a wordpress plugin enabling an autocomplete search box, then jump to page?
- Date_query problems
- Hide editor with specific post meta value
- Custom URL going to 404
- Publishing html directly from ftp to wordpress
- Need to return a list based on Slug
- Custom search to display results within same page
- Customize position of social icons in upme plugin [closed]
- Using parent slug variable to display proper submenu not working properly
- Get Adjacent post by search query
- How can I have a common background color across multiple WordPress blocks?
- How to exclude pages from WP search based on page title
- Inline style HTML attribute is being stripped from all elements of a post
- Custom Search on Custom Page while preserving the main search function
- why pre_get_posts works fine in post type archive, but not in search result list?
- How to get started?
- Search.php display results differently based on post type
- Improved WordPress search functionality and search form plugin
- Use wordpress search to display results within a post
- How to query two meta fields and display results between them
- Where do I go to edit this area? [closed]
- List post by title length
- how to search everything
- changing search result from only excerpt to full content
- Localization of WP theme
- How to have multiple instances of the same taxonomy in a search form
- WP + Google analytics = /search?
- Search result count not matching actual result
- How to search for post content and attached file names
- Is there a syntax highlighting plugin for HTML View? [duplicate]
- Searching for one letter returns extra empty post
- How to create a search form with multiple search fields
- Easily add custom HTML outside the main container?
- REST API: Search products only in the names
- Bots using internal wordpress search
- Replace only the first CSS class
- Redirecting wordpress search query to archive page
- Altering search results to handle a post meta field not working in current WordPress
- WordPress Search by tags
- WP_User_Query Search Multiple Keywords from a Multi-Select Field?
- WordPress search post using unicode
- Create search box on Archive Custom post type
- Custom dropdown search form that allows users to select option B based from Option 1
- How to use regular page template for search results?
- Search only blog posts on blog page
- WooCommerce – Adding custom HTML to specific product pages
- Auto search field without buttons, shows first result from search page
- Can I set up a search box that uses fields?
- Remove heading tags on line break
- Returning the entire line of a custom search result filter
- search does not yield access restricted results
- Customizing Home Page with Pagelines Platform
- Search Limited to Categories Not Working
- Google Search and Own Website Search?
- How we filter the search base on post-meta tags
- Make search result returned only from tags! [duplicate]
- Form Data Causes “Page Not Found”
- WordPress search form and input type=”image”
- Search options/filters
- How to search pdf attachment?
- Website Search Results Not Showing Images
- How to search for articles containing two words?
- Wp eCommerce meta information search [closed]
- adding new html css to wordpress section from codepen [closed]
- How can I make a search term redirect to a page
- Add multiple HTML attributes to an Elementor button