uiwjs / react-md-editor

A simple markdown editor with preview, implemented with React.js and TypeScript.
https://uiwjs.github.io/react-md-editor
MIT License
2.04k stars 149 forks source link

Markdown Style Selection #548

Open zamuzakki opened 1 year ago

zamuzakki commented 1 year ago

Issue 1 When a word is selected then toolbar is clicked (let's say Bold toolbar), additional space is somehow inserted after the word, resulting in Markdown style not being applied.

Issue 2 When words are selected on Chrome, the selection creates a sort-of dulicated-layered text. Screenshot from 2023-06-30 15-56-00

jaywcjlove commented 1 year ago

I can't reproduce your error, but I can be sure that this is caused by a style conflict. @zamuzakki