[PRO]: Using AI resets text styles #5027
Labels
Category: Pro
The issue or pull request is related to the pro packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
extension-ai
What Tiptap version are you using?
2.2.4
What’s the bug you are facing?
Hey,
I was wondering if it's somehow possible to keep the active font size after certain AI operations are applied to the selected text? Here's an example I recorded in the official template:
CleanShot.2024-03-28.at.23.37.35.mp4
Is this a bug or just missing functionality of the extension? Any other way to keep the font size (and potentially any other text styles)? I originally created this issue in the template repo, but I think it might be a more general thing.
What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
I understand that it's difficult to keep text styles on individual words/characters within the selection since they get completely replaced. However, keeping text styles (font size, bold, etc.) that are applied to the entire selection or paragraph would be great.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: