Useful AI prompts for use in API/Server extension calls

Please add your prompts here.

I will start this one.
For cleaning code copied from Word docs for use in editors like Summernote.
Clean a Word Document stripping Word specific content while leaving HTML tags unchanged.

Process this Microsoft Word document by removing all Word-specific formatting while retaining any HTML tags present in the content. Treat HTML tags as sacred and ensure their structure and attributes remain unaltered. All other formatting, such as font styles, colors, or custom Word-specific formatting, should be stripped away completely. Return the processed content in plain text with the preserved HTML tags intact. Ensure no additional tags are added, and the output is clean and consistent

1 Like