I turned off TaskList, Placeholder, CharacterCount, TextAlign, Highlight
Great plugin, thank you @rico.trevisan .
Quick question, is there a reason there is no option to modify the line height of the <p>
text? I am currently doing it with some custom css targeting the proseMirror p
class, but just thought it might be a nice addition.
Thanks again!
The reason is the extra wiring needed to set that up.
Iām thinking of adding a field that allows users to change the CSS directly. So, each heading + p would have:
- font-face
- font-weight
- color
- advanced options
I want to keep the first 3 so that it is easy for someone who doesnāt know CSS while giving you power-users the ability to change all of that.
A question to you guys: so far Iāve been adding all these options as static text so that you can save them in the element styles. Is that OK or would you guys prefer dynamic fields (which then donāt fall under styles)?
I canāt think of a reason Iād need dynamic, but it always a nice option to have (especially on a multi-tenant app)
I prefer dynamic that we can easily customā¦
btw, I think we should xtra line-height. Bubbleās text was trimmedā¦ look so bad while we can affect on the line spacingā¦
You can add some simple css:
<style>
.ProseMirror p {
line-height: 1.6;
}
</style>
Release 1.16.1: Autobind tweak still doesnāt workā¦ @rico.trevisan . It still save automaticallyā¦
Release 1.18.1: fix errors due to missing extension.
see if this release fixes that.
Under the hood, Tiptap has a handful of extensions that need to be loaded by default. I removed those from the options. FYI: the extensions are: Document, Paragraph, Text, ListItem, CharacterCount.
It seems to be working. It doesnāt update until I change the body of the text (which then gives me an error because Iām not logged in).
Take it for a spin before I push this update: https://tiptap-plugin.bubbleapps.io/version-test/doc-switcher2
Release 1.19.0: added ADV options + cleaned up set content + better logging
- h1-6 and p have a field where you can add your own CSS properties
- fixed an issue with set content not working the first time if you had no initial content
- if you do activate an extension and you tried to use that extension, Tiptap will no longer crash, but will console.log an error.
Iāve tried a bunch of edge cases combinations for the set content vs initial content, but Iām not sure I covered them all. Any feedback here would be highly appreciated.
When open my site, youāll see some things always update (in case: The Tiptap content updatedā¦) - I dont know some conditions make it run
Let check again, Rico. I think your conditions: " Iāve added a check to see if the noteās value is different than the current editor value:
- true ā it saves data
- false ā it doesnāt"
doesnāt workā¦
Thanks a lot cause your hard work!!!
You got an infinite loop.
Yep, I see the problems from Tiptap content are always run
Release 2.0.0: real-time collaboration
You will need an account with Tiptap (collab.tiptap.dev).
Iām going to update the demo app.
I had to turn off the access to the editor because it exposes my API keyā¦
Thatās great. Thanks for the update!
It there a simple way to change the line spacing? The text I have are a bit to dense together. If we can change the line spacing somewhere, that would be awesome.
Thanks, Rico. Awesome Plugin
Itās not the most obvious, but you can do it like this:
Nonetheless, it would be nice if the plugin editor allowed the Bubble native line-height. Iāll request that feature. Until then, use some CSS in the p_adv
field (which I recognize needs a better namingā¦)
Thatās awesome. Thanks for the quick reply!