Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Codeblock adds additional characters #447

Closed
Valiantiam opened this issue May 6, 2021 · 1 comment · Fixed by #448
Closed

Codeblock adds additional characters #447

Valiantiam opened this issue May 6, 2021 · 1 comment · Fixed by #448
Labels
bug Something isn't working

Comments

@Valiantiam
Copy link

Valiantiam commented May 6, 2021

When you delete a character on a codeblock fresh line, it adds that character to the end of the line repeatedly for each additional character you type.

To Reproduce
Steps to reproduce the behavior:

  1. Make a codeblock
  2. Type a single character on its own line.
  3. Backspace and replace it with a different letter.
  4. It now starts putting copies of the original letter on that line for every character you type.

Expected behavior
It should not add additional characters.

Screenshots
CodeblockProblem

Desktop (please complete the following information):

  • OS: [W10]
  • Browser [Chrome]
  • Version [90.0.4430.93 x64]
@tommoor
Copy link
Member

tommoor commented May 6, 2021

wild, It's something to do with the decorations introduced by the Prism plugin – disabling highlighting on the block causes the bug not to reproduce.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants