Services Plugins FAQs

Using Print Pro with Advanced RTE

Hi, I purchased Print Pro and Advanced Rich Text editor in the last day.

My workflow is this. I get a response back from GPT, store in the database and bind it to the Rich Text editor. I’ve want to be able to print the content, and only the content, not the toolbar. What’s the best practice for this? I’ve gotten it to print just the content using JavaScript, however, when I do so it hides the toolbar in the element as well which I don’t want. Let me know if there’s any other details I can provide. Thank you.

Hello @donnie.balliet,

Thank you for reaching out and expressing your interest in our plugins. :raised_hands:

To address your query about hiding the toolbar, this can be done directly within the element itself. Simply uncheck all the options associated with the Toolbar, as shown in the attached screenshot.

But if you want to do that with the “Print Pro” plugin, it may not be possible with the RTE as it treats the text and toolbar as a whole element.

However, as an alternative solution, you can copy the HTML from the RTEs (Rich Text Editors) and paste it into a Bubble “HTML element”. Then, you can print just this element with Print Pro.

I hope this information proves helpful for your specific use case.

If you have any more questions or require additional assistance, please feel free to reach out. :pray:

Best regards,
Stephan

Thank you for the response. The issue I’m seeing with copying into an HTML element (from the Rich Text Input) is that unless the HTML element is visible on the page, there is no way to print it. I dont want to make the HTML element (which is a passthrough) visible - I would simply be using it to print. Any thoughts on getting around that?

Hello @donnie.balliet,

Thanks for getting back. :raised_hands:

To implement this in your workflow, you can assign a custom state to the HTML element, which will hide the element by default and only make it visible when a specific action is triggered. In your case, the action would be generating a PDF. Once the action is completed, the element will be hidden again.

Hope this will assist you in creating the desired feature within your application.

If you need any further assistance or have additional questions, don’t hesitate to contact us. :pray:

All the best,
Stephan