Users are advocating for a built-in query replace feature in Discourse’s editor, similar to GitHub’s web-based editor, to avoid manually copying text to external editors for bulk replacements jidanni. merefield and Arkshine support the idea, with Arkshine sharing a visual reference of GitHub’s interface. Lilly demonstrates the functionality using an AI popup to replace text (e.g., “words” → “things”), showing before/after results. Arkshine suggests allowing users to choose or create custom prompts. Falco notes this should be considered for the new composer experiment, and sam humorously illustrates LLM-powered replacements (e.g., “animals” → “amphibian animals”), highlighting the potential of AI integration. The feature would streamline editing, especially for long-form content.
OK this works. using prompt replace all "words" with "things" in the AI popup shown in the screenshot above when you select the text:
before:
Here is a big block of text with lots of repeating words. All the words are words that are words and more words. A group of donkeys are always words, but a group of words are not always donkeys.
after:
Here is a big block of text with lots of repeating things. All the things are things that are things and more things. A group of donkeys are always things, but a group of things are not always donkeys.
“replace all animals with similar amphibian animals”
Here is a big block of text with lots of repeating words. All the words are words that are words and more words. A group of salamanders are always words, but a group of words are not always salamanders.