[mac/ios] Ctrl-d deleting 2 characters

I’ve been using Obsidian for a while now on both iOS and MacOS. On my ipad I typically use a keyboard.

I typically use the emacs key-bindings on both platforms, and regardless of which platform I use when i hit CTRL-D to delete a character, it always deletes 2 characters.

Steps to reproduce

ctrl-d

Expected result

delete 1 character forward of cursor

Actual result

deletes the 2 characters forward of cursor

Environment

  • Operating system: macos, ios
  • Debug info:

Additional information

does it happen in the help vault?

does it happen here https://codemirror.net/6/

Yes it happens on the codemirror page. I quickly checked open issues on codemirror GitHub but didn’t find anything. I’ll take a closer look soon.

similar bug on iPadOS

The original description in my post was incorrect. It should be ctrl rather than cmd. I have updated that.

does it happen both on osx and macosx?

Can you post a screen recording of this happening on https://codemirror.net/6/ on osx?

We haven’t been able to repro.

1 Like

I did not observe this issue on macos.
For me, It only happens on iOS and iPadOS
Mar-28-2022 11-49-43

And for the website you mentioned: the issue happens there too (with safari browser on ios)
Mar-28-2022 12-02-10

thanks

FYI- On Mac you use ‘fn-delete’ to forward delete. But on some iPadOS keyboards, the function key has been replaced by the ‘globe’ key. So ‘ctrl-D’ is used instead in this situation and this is where the bug occurs (‘ctrl-D’ actually does nothing on Mac.)

I experience this bug on my iPad Pro 10.5 with Logitech Combo Touch keyboard (which lacks a function key.)