Services Plugins FAQs

Rich Text Issue

Hi,
I just installed the plugin, and I cannot get it to bind to a parent element and replace the the placeholder with that text.

I even made a text field below the RTE to make sure Bubble was displaying the text of the parent group, and it worked, so it makes me believe there is an issue with the plugin, or I am not understanding how to display the text. I used your demo and think I set it up the same way.

Hi, @trevorpollo!

Thanks for reaching out!

I have checked the plugin and it works on our end. Could you please, verify if the dynamic data which you are trying to display contains data.

Here are the result of my tests:

  1. Static data (the data you simply type in the Content field)

  1. Dynamic data (the data you do a search for in the database)



Hope this helps!
Best, Julia.

Thanks @julia.minacova! What data type is your HTML column? Here is my set up that is not returning content:

image

Hi, @trevorpollo!

Thanks for the details. As far as I can see, the HTML_field is empty in the database, so it doesn’t show the initial content. Make sure that the parent group has its own data source as well.

Hope this helps!
Best, Julia.

Thanks @Julia . yeah it is empty but when i type in the RTE it doesn’t update the data field.

The parent group has a type defined, but the content itself is sent by a workflow, so it is blank right now. Does it have to have a data source defined, or can it just “display data”?

image

I tried making the parent look like this and it still doesn’t work @Julia julia

image

here is a video to see it @Julia

Hi, @trevorpollo!

Thanks for the provided video. So, the point is the RTE doesn’t populate anything in the database. It can only display data like the text or HTML from the database through the dynamic data in the Content field. If the field in the database is empty (and it is empty as far as I understood) then there is nothing to display in RTE. So, please make sure that your database is populating with the data which should be displayed in the RTE and give it another try.

If I got you wrong, could you please explain what exactly are you trying to achieve with this plugin to help you better? Maybe am I missing something?

Best, Julia.

Hi @Julia. I think the issue is that when I get data to display from the database (the text field does have a value in it), and I change that text, it does not update the database as i type. Is there a workflow I need to set up or something?

Can someone allow me to see the workflows you set up in your demo editor? I must be doing something wrong because it is not binding to the text field and updating to the parent group when I change the parent

Hello @trevorpollo

Thanks for reaching out!

Of course it is possible to see the demo page - https://zeroqode-demo-06.bubbleapps.io/rte
and the editor: https://bubble.io/page?type=page&name=rte&id=zeroqode-demo-06&tab=tabs-1

it is right on our plugin page - https://zeroqode.com/plugin/zq-rich-text-editor-20-1527080205468x894712503856267300

Also please do check our docs - https://docs.zeroqode.com/plugins/zq-rte-plugin-2.0
which also have the links to demo.

Hope this helps. :pray:

Regards,
Dumitru

hi @Dumitru, thanks! I did just check those out and cannot identify the problem. The RTE is still not binding to the parent element correctly and not refreshing when the parent element behind it updates based on a selection I make elsewhere.

Any thoughts?

As you can see below @Dumitru , the two element (text field and your RTE) are both binded to the same parent group, but present different values. The RTE is presenting what the parent element USED to be before i clicked a button. The text dynamically changed, but the RTE was static.

@trevorpollo I believe you could save it’s value in a custom state and work with this custom state’s value by providing it to Initial Value field or through database.

@Dumitru okay i think i figured it out. However, how do i get the html that is saved to appear as text in bubble for the end user? I.E. an Admin user edits text through the RTE, but an end user should only see the text itself, not an editor. however, bubble doesn’t seem to be able to handle the HTML and preent as text

You can use Bubble’s Text Element to display value of modified value from RTE or use HTML element to display the content from RTE.
So the user will only see the result of the RTE changes.
hope this helps.

Or use another RTE element in Read Only mode to show the content from another RTE.

@Dumitru and @Julia, thanks again for your help. I think i have one more question. Your Demo page doesn’t include a workflow for “when a hashtag is clicked,” and when I assign a workflow to my RTE for that, my cursor acts like it is unclickable. When there is NO workflow assigned, i have the “pointer” cursor when I hover a hashtag, but when there is a workflow assigned, it switches to the vertical cursor, suggesting it is NOT clickable, and I cannot click on it.

Can you explain or point me somewhere that has a workflow for “when hashtag is clicked?”

Sorry, last thing I think. But when I select the RTE Lite and enable the stretch to fit content field, it doesn’t stretch. See below overlap issue and settings.

image

@Dumitru I troubleshooted and found the issue only happens when there are images pasted in the RTE lite field. It causes the element to display the content outside of the bounds and overlap with elements below the element. This doesn’t happen if there is just text.

Hello @trevorpollo

Sorry for delayed answer due to weekend :pray:

Not sure I understand your workflow.

A simple example would be something , like this.

We have RTE element with hashtags set via db -

We have an image on page -

I’ve set my event - a ZQ RTE hashtag is clicked

My image will animate when a hashtag from the editor will be clicked-

On frontend we see a list of hashtags

I’ve selected a hashtag

When I click on any hashtag the image animates -

It is pretty straightforward, I believe. You create for this event a workflow what should happen when a user clicks a hashtag within RTE.

Hope this helps :pray:

Thanks for reporting this, but we could not reproduce this on our side unfortunately. :pray:

Would you kindly provide a step by step instruction to reproduce this, thanks for understanding.

Regards,
Dumitru