Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

classList is not support by IE < 10 #148

Open
wilsoncook opened this issue May 13, 2015 · 0 comments
Open

classList is not support by IE < 10 #148

wilsoncook opened this issue May 13, 2015 · 0 comments

Comments

@wilsoncook
Copy link

line 432:

    // set default class
    editor.classList.add(defaults.class);

the attribute classList is not exist under IE < 10, actually it's not necessary to use this attribute, instead there are more convenient methods to browser compatibility, for example className, also see https://developer.mozilla.org/en-US/docs/Web/API/Element/classList

don't know why use classList, not aiming to support IE < 10 from the first thought?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant