WordPress.org

Make WordPress Core

Ticket #17184: pressthis-userselect.diff

File pressthis-userselect.diff, 506 bytes (added by chexee, 3 years ago)

disables text select on right click

  • wp-admin/css/wp-admin.dev.css

     
    42704270        background: url(../images/press-this.png) no-repeat -45px 5px ; 
    42714271        padding: 8px 0 8px 32px; 
    42724272        display: inline-block; 
     4273        user-select: none; 
     4274        -webkit-user-select: none; 
     4275        -moz-user-select: -moz-none; 
     4276        -khtml-user-select: none; 
     4277        -o-user-select: none; 
    42734278} 
    42744279 
    42754280.pressthis a:after {