tiff / wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
http://xing.github.com/wysihtml5/
MIT License
6.5k stars 1k forks source link

formatBlock h1 and h2 not working in IE11 #514

Closed yqgit closed 9 years ago

yqgit commented 9 years ago

The tags h1 and h2 are inserted only when the selected line is not the first of the textarea. When trying to make the first line of the textarea a header, nothing happens in IE11. I tested this in IE10/9/8 and seems to work fine.

Waxolunist commented 9 years ago

Have you tried this repo already: https://github.com/Edicy/wysihtml5

This is a still maintained fork of this repo. Xing does not maintain it anymore.

Just in case you are in search for a bootstrap implementation of this repo, try this one: https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg

yqgit commented 9 years ago

Thanks a lot!! The first repo solved my problem. The bootstrap one looks very nice, if only the project I'm working on had bootstrap!