# Issue when entering quotation marks with markdown

**URL:** <https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312>\
**Category:** Features\
**Created:** [11 March 2022 07:56 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312 "2022-03-11T07:56:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Basti-Fantasti](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/basti-fantasti/32/13061_2.png) [@Basti-Fantasti](https://discourse.joplinapp.org/u/Basti-Fantasti)\
**Post date:** [11 March 2022 07:56 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312/1 "2022-03-11T07:56:33Z")

</div>

Hi all,

I stumbled over an issue using Joplin when writing notes with markdown.  
Whenever adding a snippet in ` this kind of quotation mark, the cursor jumps up to the beginning of the first row of the note.

Here's an example:

# My note start with this header

something `very` interesting which gets highlighted.

* * *

The result then always looks like this:

ery#My note start with this header

`v`

* * *

so the first letter is still inside the quotation mark, but then the cursor jumps up to the beginning and continues writing there...

It would be great if the behaviour when adding quotation marks could be fixed / adjusted.

I'm on the latest Joplin version 2.7.13 on Windows

If any further details are needed I'm happy to help.

Best regards  
Bastian

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [11 March 2022 08:53 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312/2 "2022-03-11T08:53:26Z")

</div>

Possible the same problem for you with the spell checker.  
Could you please try to disable spell checking under `Options > General`  
 ![grafik](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/8/89e85de326aad109461aaca883a7bbbb08de3cb4.png)

> <https://github.com/laurent22/joplin/issues/6165>
>
> \<!--
> Please provide a clear and concise description of what the bug is. (In t…he section Steps To Reproduce.)
> Include screenshots for UI problems if needed.
> DO NOT create screenshots of text !!! Copy and paste the text into a code block.
> Please test using the latest Joplin release to make sure your issue has not already been fixed.
> \--\>
> When I try to edit a note and add a code block with backticks my cursor jumps to the beginning of the note.
> \<!--
> IMPORTANT: If you are reporting a clipper bug, please include an example URL that shows the issue.
> Without the URL the issue is likely to be closed.
> \--\>
> 
> \## Environment
> 
> Joplin version: 2.6.10 (prod, win32)
> Platform: Windows
> OS specifics: 11
> 
> \<!--
> Platform can be one of: macOS, Linux, Windows, Android, iOS, terminal (or a combination)
> OS specifics: e.g. OS version, Linux distribution, Android/iOS version...
> \--\>
> 
> \## Steps to reproduce
> 
> 1. Create new node or todo
> 2. type something
> 3. put cursor at last position (behind a letter)
> 4. press backtick button ( \` ) two times 
> 
> \## Describe what you expected to happen
> 
> Two backticks should occur with the cursor being behind the second backtick.
> 
> \## Additionakl notes
> 
> \* Step to avoid reproduction: cursor behind whitespace (e.g. \\n oder space)
> \* Problem migth be keyboard layout or device related. But it only occurs in Joplin Desktop. (checked with editor, sublime text, electron clients as signal)
> \* Letters containing the use of backticks work: e.g. à, è, ì, ò, ù
> \* circumflex and ticks have the same problem (every key which has to be pushed twice seems to cause the problem but only in combination with itself. )
> \* workaround:
> \* space
> \* 2 x backtick
> \* 2 x leftarrow
> \* backspace
> \* 2x rightarrow 
> 
> \## Logfile
> 
> \<!--
> Please attach a debug log. Issues without a debug log are likely to stall.
> For information on how to collect a log file: https://joplinapp.org/debugging/
> \--\>
> 
> Logfile does only contain synchronization content (and is difficult to anonymize). I will add it if explicitly needed.

---

<div class="post-metadata">

**Author:** ![Basti-Fantasti](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/basti-fantasti/32/13061_2.png) [@Basti-Fantasti](https://discourse.joplinapp.org/u/Basti-Fantasti)\
**Post date:** [11 March 2022 09:23 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312/3 "2022-03-11T09:23:30Z")

</div>

Hi,

thanks for your reply.  
Spell checker is already disabled when this problem occurs.

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [11 March 2022 09:26 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312/4 "2022-03-11T09:26:41Z")

</div>

What language and keyboard layout is used?  
Are plugins active?  
Does this also happen with deactivated plugins?

---

<div class="post-metadata">

**Author:** ![Basti-Fantasti](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/basti-fantasti/32/13061_2.png) [@Basti-Fantasti](https://discourse.joplinapp.org/u/Basti-Fantasti)\
**Post date:** [11 March 2022 09:49 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312/5 "2022-03-11T09:49:51Z")

</div>

Language is German  
Keyboard Layout German

Only active plugin is "Admonition markdown"

I've disabled it and restarted Joplin. Problem is still there.  
As an additional info:

When I enter something like this: Hi`ghli`ght the cursor does not jump  
but when starting a new word in `quotes` like this with a space before, it happens.  
It also does not happen when creating special characters like: à è ì  
when this is entered like

- mark+e = è

or

- mark+a = à

it does not jump up

---

<div class="post-metadata">

**Author:** ![JackGruber](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jackgruber/32/3231_2.png) [@JackGruber](https://discourse.joplinapp.org/u/JackGruber)\
**Post date:** [11 March 2022 10:15 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312/6 "2022-03-11T10:15:00Z")

</div>

Ok, I can reproduce the behavior on all my Windows installations.  
I have also tested a few older versions and also here the problem occurs.  
Could you please create a Issue on Github.

**To reproduce:**  
Try to write Hello world in the markdown editor with or without the preview pan:

```auto
Hello `world`

```

![SvblzB3PTZ](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/b/b445fb0ccb23aed924f4f6b0739c11fcce11899a.gif)

---

<div class="post-metadata">

**Author:** ![Basti-Fantasti](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/basti-fantasti/32/13061_2.png) [@Basti-Fantasti](https://discourse.joplinapp.org/u/Basti-Fantasti)\
**Post date:** [11 March 2022 10:20 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312/7 "2022-03-11T10:20:05Z")

</div>

Issue occurs on both attemps - with or without the preview pan.

I'll open an issue. Thanks for your assistance and for reproducing the issue 👍

---

<div class="post-metadata">

**Author:** ![Basti-Fantasti](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/basti-fantasti/32/13061_2.png) [@Basti-Fantasti](https://discourse.joplinapp.org/u/Basti-Fantasti)\
**Post date:** [11 March 2022 10:33 UTC](https://discourse.joplinapp.org/t/issue-when-entering-quotation-marks-with-markdown/24312/8 "2022-03-11T10:33:09Z")

</div>

Issue on github is opened! [issue #6256](https://github.com/laurent22/joplin/issues/6256)
