Hello @nilsklinger1 ,

Thank you for your reply.

Here are a few general recommendations that might help in your use case:

:one: Use “Copy from Static Text” with Rich Text Processing

  • If your rich text is stored in the database as HTML, you may need to process it before copying. Consider using a method to clean or adjust the HTML before pasting.

:two: Use a Custom JavaScript Snippet to Copy Only Formatted Text

  • Instead of using Bubble’s built-in copy actions, a custom JavaScript function could extract just the formatted text, avoiding unwanted extra HTML elements. You can use the Toolbox Plugin in Bubble to run JavaScript that copies only the visible, formatted text.

:three: Use an External API for HTML to Rich Text Conversion

  • Some services allow processing HTML and converting it to formatted text before copying. APIs like html2text or DOMPurify.js can help sanitize and properly format copied text before pasting.

Kindly note, that we provide general recommendations and support for our plugins, we don’t offer consultancy services or custom integration. Thank you for your understanding! Let us know if you manage to find a solution or if the above info proves helpful. :folded_hands:

Best regards,

Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3