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.49k stars 995 forks source link

Wysihtml5 not working in Android mobile #527

Open tyganeshbabu opened 9 years ago

tyganeshbabu commented 9 years ago

email I found that wysihtml5 editor is not compatible with Android mobiles. Should I add any other option for its working?

gyanesh2286 commented 6 years ago

There is a issue with Wysihtml5 min js they put mobile support code in wysihtml5-0.3.0.min.js. they check only some devices like ipad|iphone|ipod but not checked for android so we have to do some changes in there min js please change following code . step 1: find the text in above min js return b&&d&&e&&!a; step 2: Replace above text with below if condition if(!a){ return b && d && e && !a; }else{ return b && d && e && a; } Try this its work for me.

tuliodepadua commented 6 years ago

ere is a issue with Wysihtml5 min js they put mobile support code in wysihtml5-0.3.0.min.js. they check only some devices like ipad|iphone|ipod but not checked for android so we have to do some changes in there min js please change following code . step 1: find the text in above min js return b&&d&&e&&!a; step 2: Replace above text with below if condition if(!a){ return b && d && e && !a; }else{ return b && d && e && a; } Try this its work for me.

Thanks !