In my use case, the element is in a reusable. User clicks on an existing note that has content to be displayed;
This reusable is displayed using an animation. (go to page step is to push data to url which is used to retrieve data - I follow your SPA logic here).
What can happen on first try after page load:
the element is animated and displayed but there is a delay (due to animation);
Tiptap element will appear empty (this is not expected);
Since its empty, (and you guessed it) it will save exactly that. Essentially results in a loss of content.
I mentioned first try because: after the tiptap element appearing once, this no longer happens, until the page is reloaded.
My temporary solution:
Removed animation
But this actually got me thinking (feature requests incoming ):
As a bubble dev I want to be able to push data to the tiptap element as an action, so that I can change/update data source for the tiptap element via a workflow and its respective conditions"
As a bubble dev I want to have the āeditor is loadedā as a data source so that I can better configure my workflows around itās loaded state"
I have one additional request: I would like to have underline supported; (Underline ā Tiptap)
P.s: Iāve made the plunge and have opted to use your plugin on production. And Iām loving it
Rico, thanks for this plugin, its what Iām looking for. Auto bidding in ver 1.2 is working well. I have one idea to improve ā when we use the list (ul,ol) ā now, it has big whitespaces because p-tag is in every li tag. Is it possible to remove p-tag from the li-tag?
I was looking at this last night. I havenāt found the easiest way to do it. Before that, what do you think of this set up. If the editor is:
editable, clicking on a link will not do anything, it will treat it as text.
NOT editable, it works as a normal link with the cursor and everything.
Iāll try this again tonight but Tiptap doesnāt yet have any way to āreconfigureā the editor so I have to destroy() and build it again. Which is harsh and it will cause some weird behavior.
Iām trying to figure out if thereās simple CSS that gets around this. On Tiptapās website there are a lot of examples that use Vue which has this nice :disable thingy. But I donāt know how to do that with vanilla JS.
Thatās normally how any of the menus work. The action will act where on the selection or where the cursor is. I probably didnāt understand your question, could you clarify?
The Bubble RTE outputs bbcode. You can copy paste from the RTeditor, but not its output.
I donāt think youāre able to paste images on the editor. Unless you figured out something that I didnāt yet. So the images are stored the way you store them. The image adding mechanics is built with Bubble; not the plugin.
I like it! Also, I think I can make that desktop only, but itās been a while since Iāve done that type of CSS.
@rico.trevisan, my use case is for a custom menu option to trigger a workflow. For example, I want to highlight a sentence, then click a button so that I can create a reminder from the highlighted text. This is a use case Iāve not been able to do in Bubble yet.
Alternatively, I could add it to the root, via Tailwind Typography.
That leads to the next question: you probably want more control over the CSS, correct? I started using Tailwind because it was a simple way to get beautiful styling for āfreeā. I was thinking of providing more options of CSS ā like Pico.css ā and the option of NOT adding any so that you can bring your own.