You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TipTap Typography extension will auto-convert fractions into single-character entities:
1/2 → ½
1/4 → ¼
This is sometimes convenient, but it's very inconvient when these shortcuts are triggered in the middle of a word.
Here is a video demonstrating how it inserts itself when typing a date:
Screen.Recording.2023-01-30.at.9.55.20.AM.mov
What’s the solution you would like to see?
I would like to see these shortcuts triggered only when they are initiated at the beginning of a word-break and not when they occur within the middle of a word.
What alternatives did you consider?
I considered overriding and amending the regex myself, but thought it would be faster and more effective if this were the default behavior. It feels sensible?
The regex would have to be something like this I think:
/(^|\s)(1\/2)$/
Could we do that for fractions... and possibly most of the shortcuts?
Anything to add? (optional)
No response
Are you sponsoring us?
Yes, I’m a sponsor. 💖
The text was updated successfully, but these errors were encountered:
What problem are you facing?
The TipTap Typography extension will auto-convert fractions into single-character entities:
This is sometimes convenient, but it's very inconvient when these shortcuts are triggered in the middle of a word.
Here is a video demonstrating how it inserts itself when typing a date:
Screen.Recording.2023-01-30.at.9.55.20.AM.mov
What’s the solution you would like to see?
I would like to see these shortcuts triggered only when they are initiated at the beginning of a word-break and not when they occur within the middle of a word.
What alternatives did you consider?
I considered overriding and amending the regex myself, but thought it would be faster and more effective if this were the default behavior. It feels sensible?
The regex would have to be something like this I think:
Could we do that for fractions... and possibly most of the shortcuts?
Anything to add? (optional)
No response
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: