I use Joplin 1.0.79 on arch linux installed from aur repo since some days.
I also use kde with default config.
All is fine but in markdown editor (default one), anytime I type
‘fl’ it becomes the character ‘fl’ in one character but the cursor is still shifted of 2 chars as if a space char was added.
Same thing happens with ‘fi’ which becomes ‘fi’ in 1 char.
Note: it only happens if both letters are in lower case.
I do not have this issue in any other editors
I do not see any info,debug,error in JS console of Joplin once in debug mode.
Thanks a lot if you could have an idea about this, cause it prevents to type some very simple words.
The default monospace generic editor font does not support ligatures, neither does the default viewer font (at least on my copy of Windows!). However if you specify a different editor font in "settings" that supports ligatures the Joplin editor will use them.
As I understand it the reason that the viewer does not display ligatures if a ligature font is selected in the editor settings is because the editor settings apply to the editor only. If you use userstyle.css (which applies to the viewer only) to apply a ligature supporting font, the viewer will subsequently render ligatures as well.
So by changing a combination of the above you can have ligature fonts in the editor, or the viewer, or both, or neither (default).
I think this is the key part I disagree with. I shouldn't have to go out of my way and strip ligatures from monospaced fonts [1] just because I don't want them used in Joplin's editor. But, I guess that's a product concern, and I should chase the right deciders if I want to do something about it.
[1]: Why a monospaced font thinks is a good idea to distribute ligatures is a separate discussion. idgi either
You should definitely take that up with ace-editor. It’s one of their bonehead design decisions and Joplin just happened to choose to build its editor on top of it.