Comments (7)
Good idea. I have to admit, I genuinely have no idea what the browser support is like, other than that it works pretty well in the latest chrome/firefox/safari/IE. I'll need to do some more testing to see what would break in older versions. Off the top of my head I think anything with decent ES5 support should work fine. How far back in IE versions are you interested in?
from mdedit.
The project I'm using mdEdit in currently still supports IE8. (https://github.com/owncloud/notes)
But I would say dropping support for IE8 or even IE9 is fine.
BTW IE8 doesn't support ES5.
EDIT: i asked because of #15 where classList
would be useful, but isn't supported by IE9 (http://caniuse.com/#feat=classlist)
from mdedit.
I've been looking through and (without actually testing in IE8) these are some of the things I can see that would currently break in older browsers:
- addEventListener (easy to add attachEvent)
- Array.map / forEach (easy polyfill)
- Function.bind (easy polyfill)
- clipboardData (for paste event. I'm sure this can be worked around)
I don't think there's any reason why not to support IE8 in terms of functionality. The only thing that could potentially hold it back would be performance, and the only way to know that is to try it out.
from mdedit.
Another reason to not support IE8 is code complexity. Maintaining and contributing to the project might get more complicated and some contributors might even be scared off b all the polyfills.
IE8 support is dropped by Microsoft in January 2016
from mdedit.
Yeah on reflection I'm thinking it wouldn't be a good idea to put a load of polyfills in there. Prism uses Array.map internally anyway. Realistically I think this is looking like "any browsers with decent ES5 support". So that'd be IE9+ and all the most recent of the other browsers. I'll stick something in the README.
from mdedit.
Right, sorry it took so long (been super-busy with other stuff for last couple of weeks), but there we go, now should support IE9+ perfectly fine, and added note to that effect into readme.
from mdedit.
Awesome!
from mdedit.
Related Issues (19)
- Use Bower? HOT 2
- Add documentation on supported markdown elements HOT 1
- Performance issues in Firefox HOT 5
- Add support for right-to-left languages HOT 2
- Use selected subset of Prism? HOT 1
- When paste something with an empty line, an additional line is added each time. HOT 1
- Gulp HOT 3
- How can I use API to move cursor? HOT 2
- It doesn't allow me to type in Chinese character HOT 2
- It looks like I can't use Prism line-numbers plugin HOT 4
- Is this project still live? HOT 2
- Make Editor.paste support API call to insert string in place
- Improve continuelist-esque behaviour
- Indented code block not get syntax hightlighted
- Nearly not responding when editing on a very big file
- Figure out wtf this syntax was supposed to be HOT 1
- Ignore more keyCodes when triggering changes
- Need a whole pile of functions and events for measuring / scrolling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdedit.