Iâm about to acquire the plugin and the line break problem for me is very serious.
I hope you get a reply as soon as possible.
And congratulations on the plugin, it will solve our problems regarding reports.
Iâm about to acquire the plugin and the line break problem for me is very serious.
I hope you get a reply as soon as possible.
And congratulations on the plugin, it will solve our problems regarding reports.
.
The problem is resolved.
Now in the âeditor Text Contentâ state the text is written with the normal display of line breaks.
Itâs also possible now:
Get âeditor Text Contentâ via âSaveâ action
.
.
Or get âeditor Text Contentâ via âGet Textâ action
Version 1.0.2
Thanks for the quick fix/update
The hover state is actually pretty neat for minimal styling with the bubble mode in places like comment sections of websites⌠Not mandatory but often ânice to haveâ.
Thanks very much
Version 1.0.3
Added edit area border settings.
You can now set the border-width, border-radius, border-color, and separately the border color on hover and when the edit area gains focus.
.
You can see a small example on the demo page.,
.
You rock!
Question : When loading âinitial contentâ from an API (aka from âParent groupâs X api received dataâ, the editor doesnât load the actual data (although it shows up in the debugger under âinitial contentâ. If i use the same editor and just change the initial content to a âdo a search forâ in bubbleâs db, it works fine. Any idea what could be wrong?
Hello!
âinitial contentâ is used only once during initial loading (initialization) of the editor.
It is possible that at the time of initializing the editor, the data from the API does not have time to load yet. That is why the editor remains empty after loading.
I donât know how you have everything connected and configured, but I think that in this case you just need to use the âSet Contentsâ action or set some static value in the âInitial Contentâ field and then use the âAppend Contentsâ action.
Those. after loading the page or after receiving data from the API, launch the âSet Contentsâ or âAppend Contentâ action and pass the necessary data to the editor.
Ok, i may sound dumb but hereâs my thing :
When the page loads, i get data from an API call. The editor element can be in multiple places on the same page (in repeating groups and others). I just donât see the reason why we have to setup a workflow action to set the data in each editor instance? To be honest, I didnât get it to work in a repeating group and in some cases (like mine) it defeats the purpose of the API call (an action will proxy the api call through bubble instead of sending the data directly to the userâs device).
Would it be possible to add a listener for data in parent group? âWhen parent groupâs data is not emptyâ : âset contentâ (in the UI instead of an action?)
Thanks again
Hello!
I just tested the editor in a repeating group using the API.
For example, I placed the editor in a repeating group and passed data from the API to the repeating group.
Hereâs a demo:
You can go to the editor for connection details (OPEN EDITOR)
I didnât do any tricky tricks. I set up a repeating group, connected the API, installed the editor in the repeating group cell, connected the data in the âInitial Contentâ of the editor using âCurrent Cellâsâ
And everything works fine.
Please give a little more information. How did you connect the editor and the repeating group?
Iâve been looking for a text editor that can support either LaTeX or KaTeX for so long!
If I want to print the 10 items of the editor, in this case, how would this look?
Yes, this feature was also very useful to us in one of our projects.
Sorry, I didnât understand the question. Could you clarify what you mean.
I was wondering if you had update plans for this plugin? Itâs close to perfect, thereâs just a few things that make it a pain to use in an environment where data comes from/is saved to an external api.
Weâre currently using backend workflows and time conditions to make sure to not make an api call on (almost) every keypress. Weâre just wondering if we go on with this editor (cause itâs truly amazing) or find another solution
Thanks!
Hello!
I donât quite understand what you want. Iâm completely confused.
If the editor is not in a repeating group, then we can easily trigger the âset contentâ action in the workflow. But if the editor is in a repeating group, we wonât have direct access to the editorâs elements from outside. Those. we donât have direct access to repeating group cells and we canât access each editor individually.
In this case, we used âinitial contentâ:
we can add additional action after âcontent changedâ and âcontent is savedâ.
also we can additionally add âonFocusâ and âonBlurâ events
As I wrote above, if the editor is located outside the repeating group, then there is no problem. But how to bind all this to a specific editor (to a specific cell) in a repeating group?
Please describe in a little more detail what exactly you want and maybe you have some thoughts on how to solve this.
And you also write that this is implemented in other editors. Tell me which ones so I can look at it.
Thank you.
Iâm not specifically talking about repeating groups⌠First example that comes to mind is the bdk editor : https://bdkdemos.bubbleapps.io/better_text_editor
Whenever you type something, it just updates the text output, HTML output and json output states without needing to call a workflow. The updated content is just âalways up to dateâ without having to use workflows to check if itâs updated and then save to a state.
The other thing, is⌠(also present in bdk, but same in tiptap, editorjs, zeroqode advanced editor, modular text editor, etc) the ability to just have a âlong text inputâ in the editor, often called âContentâ (right after âPlaceholderâ) that âlistensâ to changes in the dynamic value you set itâŚ
For example, if in âContentâ you set something like âElement Xâs Text stateâ⌠If the state updates via any workflow, api call, etc⌠The content changes in realtime for the user without any workflow.
This allows 1- dynamic updates without workflows and 2- for people like me using api calls to get the initial content (where the data comes a little slower then the page load), the editor still always checks for refreshed data even though the page is loaded. (with the your plugin, I cannot do this as the initial content comes a little too slow for the editor to show the content"⌠I have to do a manual workflow that updates to editorâs content âwhen x element data is not emptyâ)
You mentioned onFocus and Blur, these would be awesome for saving the editorâs content
Thanks for your consideration, love your work.
Hello!
I donât understand why Iâm fixated on a repeating group. Probably because you mentioned the API.
Well, in any case, now the situation as I think has cleared up.
A number of changes have been made to the plugin code:
1.
Now the editor will dynamically respond to changes in the data in the âinitial Contentâ field. And if, after loading the editor, the data in the âinitial Contentâ field is changed, they will immediately be transferred to the editor.
But, just in case, I added the ability to disable this behavior. Added checkbox âDo not track initial Contentâ and if its value is false, then data from âinitial Contentâ will be passed to the editor as described above. And if the value âDo not track initial Contentâ is true, then after loading the editor will not respond to changes in the data in the âinitial Contentâ field
2.
Now, when data changes in the editor, not only the âcontent_changedâ event will fire, but the âeditor_contentâ and âeditor_content_textâ states will also be updated (As you said).
3.
Added âonFocusâ event
4.
Added âonBlurâ event
.
Udate the plugin to version 1.0.4
Please check if everything is added from what you wrote about? Looks like I havenât missed anything.
Thank you.
Wow⌠That was fast! Thank you so much for this update. Will let you know how it goes
Awesome dev right here hehe.
Hey team â weâre really loving the plugin and all the customizability.
Weâre trying to figure a workaround to simulate autobind. Any ideas?
In a perfect world, autobind would be a feature weâd love.
That said, in our current workaround, weâre saving data every time the input is changed. However, the problem there is that every time the data is changed and itâs saved, the text input field is no longer focused.
What might you suggest?