Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Unable to write after a sequence of two dash characters #256

Closed
hdodov opened this issue Aug 27, 2020 · 1 comment
Closed

Unable to write after a sequence of two dash characters #256

hdodov opened this issue Aug 27, 2020 · 1 comment

Comments

@hdodov
Copy link

hdodov commented Aug 27, 2020

Describe the bug
If I have the following content:

Praesent nonummy -- mi in odio. Quisque libero metus, condimentum nec, tempor a, commodo mollis, magna. Ut tincidunt tincidunt erat. Fusce pharetra convallis urna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero.

I'd be unable to write anywhere after the -- sequence. That's because Kirby converts two dashes to a long dash. It works while you're writing it, but not if you copy-paste some content that contains --. If that happens, you're unable to write.

Here's a video where I display this bug:
kirby-editor-bug-video.zip

I think the best solution is to have Kirby check if the current position of the caret is in-between the sequence of dashes.

Kirby Version
3.4.2

@afbora
Copy link
Member

afbora commented Aug 27, 2020

Duplicated with #184

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants