Giter Site home page Giter Site logo

Comments (6)

Ionaru avatar Ionaru commented on May 17, 2024

Thank you for the report.

I suspect this has something to do with the newer version of CodeMirror that is used with EasyMDE.
If at all possible, switch to a more modern browser.

I'll investigate and see if I can get this working again, but to be honest with you it won't be a real priority.

from easy-markdown-editor.

working-name avatar working-name commented on May 17, 2024

I know, IE11... who uses that OtherBrowser Downloader™ as an actual browser? Apparently corporate sys admins think IE is the only browser invented since the 80s. Yay 😐

It's not CodeMirror, I checked. My uneducated/non-developer guess is that there's some weird listener on mouse drags or on selections that trigger and IE11 halts the selection at that point.

mp:vanilla-simplemde macpro$ npm list | grep codemirror
+-- codemirror@5.42.0
mp:vanilla-easymarkdown macpro$ npm list | grep codemirror
+-- codemirror@5.41.0
+-- codemirror-spell-checker@1.1.2

from easy-markdown-editor.

working-name avatar working-name commented on May 17, 2024

Uh... I take that back, it is CM, specifically styleSelectedText. Setting that to false will let IE do its thing.

from easy-markdown-editor.

Ionaru avatar Ionaru commented on May 17, 2024

Since that is an option provided by EasyMDE, can I consider this issue solved?

new EasyMDE({
    styleSelectedText: false
});

from easy-markdown-editor.

working-name avatar working-name commented on May 17, 2024

Absolutely. If at some point in the future you have the time to look into what that function does, it would be awesome if you shared that with me. I can’t figure out what exactly it does.

Thanks!

from easy-markdown-editor.

Ionaru avatar Ionaru commented on May 17, 2024

It instructs CodeMirror to give selected text the CodeMirror-selectedtext class, allowing for easy styling of the selected text.
EasyMDE currently does not use this in its default style.

from easy-markdown-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.