I want users to be able to copy to clipboard the contents in Bubble’s official rich text editor with formatting, so they can paste easily in Word, WordPress, etc.
However, when using the state “value”, it comes with the bbcode, e.g.
[h2]some header[/h2]
I tried tinkering with the plugin code, and at best, I can only access the HTML in plaintext, e.g.
<h2>some header</h2>
What I really want is for users to be able to copy the formatted text and not plaintext with those tags.
No, it’s not working.
Yesterday I sent a video to Zeroqode team since they are the owners of the plugin copy to clipboard that I’m using (@ZeroqodeSupport). They’ll check if it’s possible to achieve this.
We’ve created an investigation for the developers to determine if the plugin can copy text in the specified format instead of as plain text with those tags.
We’ll inform you as soon as we receive an answer from the developers!
Thanks for sharing this information! However, we suspect that this is happening because the Copy to Clipboard plugin is copying the text in plain text format instead of preserving the original formatting. The developers are still investigating this and will provide a response as soon as possible!
In the meantime, please let us know if you have any other questions
We’re still working on implementing an action to copy the text in the specified format in the Copy to Clipboard plugin. The Markdown Parser plugin has a copy feature, but it’s only for code blocks since they have a copy button - screenshot for reference - which would trigger the “Code copied” event.
Please don’t hesitate to ask if you have any further questions. We’d be happy to provide more information and assistance
We have some exciting news about the Copy to Clipboard plugin! A new update - version 2.36.0 - has been released, introducing a new action called “Copy to clipboard with formatting.”
This action has two fields. You need to assign the ID of the element you want to copy in the first field. The second optional field allows you to select a nested element inside the main element, which is very useful for RTE elements with tooltips.
We’ve added more information in the show documentation field to help everyone understand this feature.
However, we’ve noticed that pasting to an alternative RTE, such as plugins using the Editor.js library, doesn’t work as expected. This is because the library itself accepts formatting differently.
We’d appreciate it if you could update your plugin to include this new feature and test it out. Any feedback would be great