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.
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.
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”?
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?
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
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.
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.
@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.