Before I try building a plugin to fix this ^ :
Is there some reason the cursor-position bug only happens on iOS?
(because it seems to function properly on Android).
Perhaps the doc.setCursor(pos: {line, ch}) method could handle this.
from the codemirror docs:
doc.setCursor sets the cursor position. You can either pass a single {line, ch} object, or the line and the character as two separate parameters. It will replace all selections with a single, empty selection at the given position.
doc.setCursor(pos: {line, ch}|number, ?ch: number, ?options: object)
Unless there is some reason it won’t work on iOS.
Truly, Obsidian is one of the coolest apps I’ve seen
.
I appreciate all the work that’s been done so far, and submit this bug as a big (and perhaps simple?) improvement to the iOS experience.
It could be good to fix - before a bunch of new iOS users download Obsidian (since Cursor control is pretty crucial in a note app).
