Could expand a bit on what you want? I want to make sure I understand.
The Hardbreak extension is already installed – I think it’s one of the ‘core’ libraries. You can already use it with the keyboard shortcuts.
What I can do is:
expose the only setting that it offers – keepMarks (docs) – but I’m not even sure what it does.
For sure! Thank you for the overview, that’s helpful. I think what I’m seeing is the opposite to the expected action. This is the CSS I have in the “base div CSS” field, just to do the overarching formatting.
Hey Rico, I forgot to mention that I was not typing content and trying to do hardbreaks, but displaying an existing text (with “Content is JSON?” enabled)
Here is what my Python code looks like to create the text (backend) :
Absolutely incredible plugin! The amount of customisation available let’s me tailor this perfectly.
But, being greedy(!), one thing I’d like to request is the ability to add “undo” and “redo” buttons. I see that TipTap has this functionality, and in fact in the plugin I can do “Ctrl+z” and “Ctrl+shift+z” to do it that way, but the ability to tie this to buttons would be amazing.
Hey, I agree with all the people above who talk about how good this plugin is. +100 from me.
I’ve come across a weird edge case that I was hoping you might be able to advise me on. Basically I have a repeating group of tasks on the left, when I click on a task it sets the value of group surrounding the TipTap plugin on the right. So the task detail displays in the TipTap text area. Every time the user selects a new task the right panel updates.
I have auto binding turned on and so as the user types the changes are saved.
The problem is, when the user makes a change and then clicks on a new task before the auto binding has completed it’s save action the text is saved into the wrong (e.g. newly selected) task and I lose the users old data.
In production this happens all the time, and I’m getting lots and lots of complaint about it.
Love the plugin! It is extremely useful, especially for those who prefer to have their text editors look identical to the content they produce (much like Substack or Medium).
I do have a question regarding image captions. I see Tiptap has an “unofficial” figure extension which would permit this functionality (seeFigure Extension | Tiptap Editor Docs), but I’m having trouble with importing a new module within my Bubble app and applying the imported extension to your plugin. Captions are often important for blogs with less capital to spend on images from Getty or Shutterstock, as you must include proper attribution for licensed and copyrighted works.
I guess my question is whether this is a feasible feature that could be implemented?