Ionaru / Ionaru/easy-markdown-editor

Formatting the vertical selection duplicates the text

Open
#548 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Formatting the vertical selection duplicates the text

**To Reproduce**
Steps to reproduce the behavior:
1. Select vertical block with alt key
2. Press 'Bold'
3. See error

**Expected behavior**
Bold text in selection

**Screenshots**
1. selection
![image](https://github.com/Ionaru/easy-markdown-editor/assets/6992480/06e37ee6-a76c-478d-8abd-7095b2d9f34f)

2. pressed 'Bold'
![image](https://github.com/Ionaru/easy-markdown-editor/assets/6992480/10c957cb-a144-425d-8fd8-bd88c54f6c0a)

3. Pressed 'ctrl-z'
![image](https://github.com/Ionaru/easy-markdown-editor/assets/6992480/86d3b388-2381-4d77-8c0e-6e7f354ce34f)

**Version information**
- OS: Windows
- Browser: Chrome 114.0.5735.134
- EasyMDE version: v2.18.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.