Cannot select text

82 views
Skip to first unread message

Bernhard Woehrlin

unread,
Oct 4, 2016, 10:48:11 AM10/4/16
to Master Bootstrap
Hi,

in my project the user should be able to select text and copy/paste it. - Just noticeed that this seems not to be possible with the Master Bootstrap template. - Any ideas on how to enable copy/paste on text?

Thanks very much for any hint.

Kind regards
Bernhard

Bernhard Woehrlin

unread,
Oct 7, 2016, 6:12:08 AM10/7/16
to Master Bootstrap
I found a solution. :-)
Could solve this by adding the following code to my _custom.scss:

p, div, span {
 
-webkit-touch-callout: text; /* iOS Safari */
 
-webkit-user-select: text;   /* Chrome/Safari/Opera */
 
-khtml-user-select: text;    /* Konqueror */
 
-moz-user-select: text;      /* Firefox */
 
-ms-user-select: text;       /* Internet Explorer/Edge */
  user
-select: text;           /* Non-prefixed version, currently
                                  not supported by any browser */

}



Gonzalo Suez

unread,
Oct 17, 2016, 12:10:25 PM10/17/16
to master-b...@googlegroups.com
Thank you Bernhard. This JS issue, from hammer.min.js
With this file, you get touch gestoures, but you can disable:

go to:

/templates/masterbootstrap/html/mod_menu/panel.php

and commnet this line:

//$bpf_JqueryHammer = $jsPath . 'hammer.min.js';

if this file is useful, use the Bernahard solution ;)

Regards

a.he...@jobfactory.ch

unread,
Oct 31, 2016, 4:40:15 AM10/31/16
to Master Bootstrap
Hi Bernhard

I also added your code to my _custom.scss file but nothing changed?!
Do I have to something else to get this work?

Regards
Andy
Reply all
Reply to author
Forward
0 new messages