I can’t pull a custom state value and show it on the text editor, does this only work for JSON? My application will take some input from the user, run that input through an API and then get an answer back, which then I would like to have it appear in the rich text editor so the user can further customize their result. Is this possible? I can do this on normal text plugins and other rich text editors.
Hi @danielnn, if you want to show rich text data in the plugin it should be in the JSON format the plugin outputs. You can also display plain text data (non-json data), by using the ‘Display Text’ workflow action. You can see how this works by using the ‘display text’ button on the demo page: Texteditordemo | Bubble Editor
Update 1.15.0
Added an embed feature that automatically embed links of below services inside the text editor! You can also disable this feature. cc: @csakon
In your demo, the “inspect” button doesn’t work. CSS conflict?
Are you thinking about adding translation?
I can’t see, but a state that shows what was the last change? (usecase : last element changed was a checkbox, checkbox text is “x”, then it’s easy to create tasks or other…)
Thanks for flagging! Just pushed an update that should fix this!
Yes, but this is actually quite a big implementation. I will try to prioritize it when I have a couple days to fully focus on it!
Not sure if I completely understand, but there is a workflow action that gets triggered when the value changes of the editor. You can use this to trigger all kinds of workflows!
Hi @alonsocarballo! The plugin does not support resizing/cropping of the original image. You can’t really display videos from your Bubble database right now, but you can embed videos from Youtube, Vimeo etc. in the editor! See this post
Hey Thimo, thanks for the reply. Both the JSON format and non-json data is pulling from the “editor” database, although I don’t want to save every API call into a database. I would simply like to show the result of the API on the page, as a custom temporary state. This normally works in the “initial content” of other rich text editors. Is there something similar to this on your plugin?
Hi @danielnn Just for clarity, the text editor only accepts JSON data that originates from the text editor itself as initial data. So, you can’s use plain text here. If you want to use plain text you will need to use the ‘Display Text’ workflow action (after that you can, optionally, save the output of the text editor to your database for future use. Does this make sense?
Interesting feature idea. I am not sure of the library has support for ‘shortcuts’ like this, but I will look into it!
I saw on Github that this is actually on the roadmap for the library. When this is supported I will definitely implement it because it will be a very nice feature to have!
Your plugin looks very promising! I have a couple of questions, as I am trying to chose which RTE to use.
My base use case is this: I want to be able to give my “admin” user the ability to edit text in the text editor and then (in a different page or state) give “non-admin” user the ability simply read this content (NO toolbars and NO editing ability). Much like a blog, if you will. Is that something I could do with your plugin?
I am a little concerned as I don’t see anywhere an option to change font type. Is it just me, or is this attribute really fundamental for a RTE?
If I wanted to use this to write blog post content is the best way of displaying the content through placing the element on the page in ‘read only’ mode? Do you know if all the header tags etc render correctly for SEO purposes in the read only mode?
Thanks for creating such an amazing plugin.
My app is currently set at a max width of 428 px. And while it looks great on mobile, I noticed that the plugin layout changes according to the width of the web browser and not the app itself. Would it be possible to have the editor layout adjust to the width assigned to the plugin instead?