Because I change the parent based on the URL, and the autobind is not working. It cannot distinguish that the parent has already been changed by the URL, and before that it already replaces all the content of the second document with the first.
Thanks for nudging me. Iāve spent sometime trying to understand how to do this (and also add custom classes to different images in a document). Itās just outside my skill level. Iām planning hire a Tiptap expert to help me with this but thatās gonna cost me. I might try to set up a āfund a featureā campaign so that I can dedicate more time to this. Iāll get back to you guys this Friday.
You can take a look under the hood of my test app: tiptap-plugin-dev | Bubble Editor
Would that help? Otherwise, could you share an example app of what youāre trying to do so that I can better troubleshoot it?
(itās messy in there , Iāve gotta Marie Kondo this thing)
Oh, it took me a bit to understand the problem ā Iām a bit thick. The problem is that autobinding is firing a save when simply switching documents.
Hmm⦠Iām gonna go (re)read some more code of the other editors to see how they handle it. If I just turn off the throttle and let the firehose of updates would be simplest, but that floods the Bubble app and WU will sky rocket. Maybe Iāll have to put a little switch to pick up if the content has changed and not fire the autobind.
Anyone else having problems adding YouTube videos?
I added it successfully, but when refresh the page, Tiptap does not render the iframe (only the first time). There are no modifications to the code, no classes removed, etc., the space is blank and simply does not render.
I couldnāt reproduce it in the demo because I canāt save the changes.
Hello Rico, how are you? Iām using tiptap editor in my community to create and display my posts, however, when showing a repeating group in my appās feed that shows all posts with a tiptap element to view the postās HTML, it causes the screen to freeze a lot, especially in apps mobile, is there any way to fix it? I need to at least see the texts and images in the feed
We are building an internal tool with your editor and are encountering issues with the āA TipTap Content is Updatedā workflow. This workflow triggers a save action to our database whenever a user stops typing. Unfortunately, this leads to an excessive number of updates, rendering the tool impractical for production use.
Additionally, thereās a secondary issue: after the rich text content has been updated workflow is run, the cursor refocuses at the bottom of the input field post-workflow. This means that when a user tries to add an H1, H2, or H3 header immediately after, the wrong text gets highlighted causing a really jumpy UX.
Currently, we are using the āinput is not focusedā workflow as a workaround. However, this has its own drawbacks: refreshing the page while the input is focused results in lost content being a big one.
Ideally, we would like to use the āA TipTap Content is Updatedā workflow as intended, but with fewer database updates and no issues when adding headers.
Do you have any suggestions on how to achieve this?
I could denounce this until the user stops typing (aka like the autobinding).
Iāll check what I can do. Maybe I can add a refocus action that keeps track of the current location and ā after you run your save workflow ā you can add this refocus action to put the cursor back where it was.
In regards to the refocus action - Assuming it could be triggered when text is highlighted or when a user clicks a header button outside of the bounds of the TipTap editor, that would likely solve the issue.
Let me know if thereās any more details I can provide.
Hi! Just downloaded the plugin but im havign some issues with formatting. I would like to stream my answers on the plugin but the formatting doesnt help. In the bubble RTE it does stream with the format.
With that i manage to use the insert content action to put the formatted text and it worked! but now when my user writes anything on it, the formatting goes wrong again
Formatting with import content:
Fomatting after i modified only one letter:
Any ideas on what can i do get the formatting i need or to be able to stream llms responses on the plugin with the correct formatting. Thanks.