Marks are not inherited to next tag

Which packages did you experience the bug in?

bullet-list, ordered-list

What Tiptap version are you using?


What’s the bug you are facing?

I have applied the font-family mark to a paragraph, then I create an ordered list. This list can inherit a mark when I use keepMarks: true, but any new mark applied inside of this list-item isn’t inherited when I exit from the list.

Paragraph in Arial or browser default. 1. List item paragraphs in Arial. 2. List item paragraphs in Courier Sans. Exited paragraph drops marks and is again in default.

Like google docs the ideal behaviour should have been inheriting the styles to next paragraph, please see the behaviour in any google docs.

Google docs:

Screenshot 2024-03-04 at 11 52 10 AM


Screenshot 2024-03-04 at 11 53 02 AM

What browser are you using?


Code example

What did you expect to happen?

I want the following paragraph to inherit the marks by default.

This is not the Tiptap bug tracker.