-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown URL syntax being autocompleted by a path to another page #2062
Comments
got same issue here |
Same issue. Generates links like "[example]/home)", which in my case is my ID 1 page. OS: Linux - Ubuntu (bionic) 18.04 x64 Seems to be an issue in the autocomplete function of markdown editor. The Apollo query seems to be malfunctioning. It could also be that query is functioning correctly but the |
Fix for requarks#2062. Using token.string only captured the character at the cursor. Now using the cursor location to determine suitable search text. Also corrected syntax issue where suggestion removed opening link parenthesis.
Fix for #2062. Using token.string only captured the character at the cursor. Now using the cursor location to determine suitable search text. Also corrected syntax issue where suggestion removed opening link parenthesis.
If I understand it this was fixed in #2452 right? So this one could be closed? |
Correct |
Fix for requarks#2062. Using token.string only captured the character at the cursor. Now using the cursor location to determine suitable search text. Also corrected syntax issue where suggestion removed opening link parenthesis.
Describe the bug
When typing the syntax for links in markdown (
[name](url)
), the editor keeps pasting in a path to a different page in the wiki (always the same).More specifically this happens whenever after a closing bracket
]
I type an opening parenthesis(
. It does not need to be typed immediately in a sequence, for example typing a word after]
, deleting it, and then typing(
produces the same result.To Reproduce
Steps to reproduce the behavior:
[blabla]
[blabla](
[blabla]/some/other/page)
Expected behavior
Markdown editor shouldn't autocomplete link syntax with a "random" page path.
Host Info (please complete the following information):
Additional context
Additional things tested below. Issue persists even if:
When I rename (move) the /path that keeps inserting itself, the path in the unexpected "auto-completion" also changes to that.
I honestly hope that it's just something stupid, so I'd be happy to be educated that it's just something weird I somehow enabled somewhere.
The text was updated successfully, but these errors were encountered: