Description
Adding an Option for Custom Prompt Types
The proposed change aims to make custom prompts more flexible. With this change, users can follow these steps:
When adding custom prompts, there will be an option called "Type." This option can be set to either "Insert" or "Show."
If the object right-clicked on the page is a textbox or textarea, the context menu will display prompts with the type set to "Insert." If the right-clicked object is something else, the context menu will show prompts with the type set to "Show."
Prompts with the "Insert" type will be able to receive input from the user. If text is selected in the textbox/textarea, it can be retrieved. If no text is selected, the prompt will function as usual, and the response will be written to the textbox/textarea.