Feature Request: Turn off spellcheck and autocapitalize for code blocks #4876
mbovel
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Spellcheck and autocapitalize make very cumbersome to write code on iOS using TipTap.
It would be nice to automatically disable them when inside a code block.
I tried:
Unfortunately, this doesn't work: dynamic change of these attribues are not taken into account on iOS. They however do work as expected after blurring and re-focussing the editor again. I guess this blur/focus can't be automated without hurting accessibility?
I also tried other things, like unsetting and re-setting
contenteditable
or forcing a repaint, but that doesn't help.Beta Was this translation helpful? Give feedback.
All reactions