-
5 Jan 2012 12:03 AM #1
HTML content selection is not possible
HTML content selection is not possible
Hai,
I m using sencha touch 2 application and i have some html content in my panel.I want to select some content so that I can highlight it.But I could not find any method to select HTML content.Can you help me?
Thanks
-
5 Jan 2012 8:23 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
This is because of the CSS rule applied that stops this:
Code:-webkit-user-select: none !important;
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
6 Jan 2012 2:08 AM #3
Hi,
I have changed the CSS rule to{-webkit-user-select: auto !important;} and the content selection is enabled in desktop.But it didn't work fine on ipad/ipod.


Reply With Quote