medium-editor
medium-editor copied to clipboard
copy paste html code - space get's removed for some words - html with anchor tags
Description
When we copy-paste the HTML content to the editor it lost's few spaces between few words.
Steps to reproduce
- Copy an HTML content which contains few anchors tags(First para: https://en.wikipedia.org/wiki/India)
- Paste it in the medium editor area (https://jsfiddle.net/8c9v6jyz/)
- Space lost between
seventh-largest country
Expected behavior: Space should be there between all the words(If HTML contains that space)
Actual behavior: Space lost in-between few words.
Link to an example: https://jsfiddle.net/8c9v6jyz/ https://drive.google.com/file/d/1wGO_VTEcVe45TmGW-3GHWrSXqJXi9WP-/view
Versions
- medium-editor: 5.23.3
- browser: Google Chrome Version 73.0.3683.86 (Official Build) (64-bit)
- OS: ubuntu 14.04 LTS