Inscryb / inscryb-markdown-editor

A simple, beautiful, and embeddable JavaScript Markdown editor. Based off SimpleMDE by Sparksuite.
MIT License
90 stars 16 forks source link

IE11 - mouse slection not working #40

Closed working-name closed 5 years ago

working-name commented 5 years ago

I'm submitting a...

Reproduction steps

  1. Open browser.
  2. Type several paragraphs.
  3. Try selecting one of the paragraphs in IE11.
  4. Kick yourself in the nutsack.
  5. Load up https://simplemde.com/ in the same browser
  6. Successfully select any paragraph you want.
  7. Apply ice to nutsack.

Version information

Browser type and version: IE 11.471.17134.0 InscrybMDE version: any?

working-name commented 5 years ago

just realized this is a fork of the now EasyMDE, and both share the same bug. Will attempt to go to source, but if you have an idea, I would appreciate any hints.

CWharton commented 5 years ago

I'll look into it and see what I can find.

working-name commented 5 years ago

Thank you. So far through trial and error I found that this is the culprit:

styleSelectedText: false

I don't see a significant loss of function to having that set to false, and IE11 is now happy.