What happened to overwrite after editor change

Operating system

Linux

Joplin version

3.1.18

Desktop version info

Joplin 3.1.18 (prod, linux)

Client ID: 31a65565d08c44a6beabd6fb2e6b47a9
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 26ae3f853 (dev)

Admonition markdown extension: 1.1.0
Backup: 1.4.2
Combine notes: 1.2.2
Convert Text To New Note: 1.5.1
Create and go to tags and @notebooks: 1.3.7
Life Calendar: 1.4.1
Math Mode: 0.6.2
Note Tabs: 1.4.0
Paste Special URLs: 1.0.0
Quick Links: 1.3.2
Slash Commands: Datetime & More: 1.4.0
Templates: 2.4.0
Text Colorize: 1.2.5
turnToChart: 1.9.3

Sync target

File system

Editor

Markdown Editor

What issue do you have?

What happened to insert/overwrite feature after the editor change? I would like to have overwrite back on Windows/Linux, I know it's not really common on Mac. If it's not entirely clear see my other post about it Feature request: thick cursor after overwrite (insert key).

Overwrite mode might not be supported in CodeMirror 6 without a custom extension.

Notes:

1 Like

I actually thought we finally ditched CodeMirror, oh well it seems it does more harm than good in this case, I think I'll use the legacy editor for most tasks then.

Related pull request: Desktop,Mobile,Web: Add support for overwrite mode in the Markdown editor by personalizedrefrigerator · Pull Request #11262 · laurent22/joplin · GitHub

Update: Demo link.

1 Like

Now it works although it looks ugly with bigger headers (version 3.2.1)

image

image

image

Thank you anyway

Keep in mind that the overwrite mode cursor can be restyled with userchrome.css. For example,

.cm-editor.-overwrite .cm-cursor {
  border-left-width: 2em; /* Make the overwrite cursor very large */
  border-left-color: green; /* Make the overwrite cursor green. */
}