Editor must be focused before allowing certain keyboard shortcuts.
Editor must be focused before allowing certain keyboard shortcuts.

closes #4253
- checked for the CodeMirror-focused class on the CodeMirror div
- used length to determine whether CodeMirror-focused has been added
- determines whether the editor has been focused on

sunh3/Ghost,YY030913/Ghost,JonSmith/Ghost,johngeorgewright/blog.j-g-w.info,Netazoic/bad-gateway,psychobunny/Ghost,v3rt1go/Ghost,Kikobeats/Ghost,javimolla/Ghost,novaugust/Ghost,atandon/Ghost,developer-prosenjit/Ghost,trepafi/ghost-base,devleague/uber-hackathon,Feitianyuan/Ghost,nneko/Ghost,praveenscience/Ghost,ladislas/ghost,cysys/ghost-openshift,ryanbrunner/crafters,VillainyStudios/Ghost,cncodog/Ghost-zh-codog,allanjsx/Ghost,disordinary/Ghost,telco2011/Ghost,e10/Ghost,LeandroNascimento/Ghost,tanbo800/Ghost,ryansukale/ux.ryansukale.com,mhhf/ghost-latex,obsoleted/Ghost,barbastan/Ghost,devleague/uber-hackathon,ballPointPenguin/Ghost,schneidmaster/theventriloquist.us,flpms/ghost-ad,PeterCxy/Ghost,exsodus3249/Ghost,ThorstenHans/Ghost,tmp-reg/Ghost,codeincarnate/Ghost,novaugust/Ghost,skleung/blog,letsjustfixit/Ghost,virtuallyearthed/Ghost,AileenCGN/Ghost,greyhwndz/Ghost,SachaG/bjjbot-blog,jaguerra/Ghost,mattchupp/blog,hilerchyn/Ghost,sankumsek/Ghost-ashram,dai-shi/Ghost,janvt/Ghost,thehogfather/Ghost,vishnuharidas/Ghost,zumobi/Ghost,beautyOfProgram/Ghost,syaiful6/Ghost,axross/ghost,FredericBernardo/Ghost,tchapi/igneet-blog,chevex/undoctrinate,greyhwndz/Ghost,Shauky/Ghost,jomahoney/Ghost,sangcu/Ghost,liftup/ghost,hnarayanan/narayanan.co,edurangel/Ghost,wangjun/Ghost,situkangsayur/Ghost,GarrethDottin/Habits-Design,Coding-House/Ghost,katrotz/blog.katrotz.space,rafaelstz/Ghost,theonlypat/Ghost,atandon/Ghost,mlabieniec/ghost-env,JulienBrks/Ghost,cqricky/Ghost,sebgie/Ghost,JonathanZWhite/Ghost,AnthonyCorrado/Ghost,ClarkGH/Ghost,jgladch/taskworksource,rafaelstz/Ghost,lethalbrains/Ghost,flpms/ghost-ad,prosenjit-itobuz/Ghost,camilodelvasto/localghost,greenboxindonesia/Ghost,SachaG/bjjbot-blog,sergeylukin/Ghost,UnbounDev/Ghost,PDXIII/Ghost-FormMailer,floofydoug/Ghost,imjerrybao/Ghost,ivantedja/ghost,UsmanJ/Ghost,BayPhillips/Ghost,bbmepic/Ghost,ClarkGH/Ghost,sangcu/Ghost,nneko/Ghost,edurangel/Ghost,VillainyStudios/Ghost,makapen/Ghost,bastianbin/Ghost,greenboxindonesia/Ghost,arvidsvensson/Ghost,uploadcare/uploadcare-ghost-demo,anijap/PhotoGhost,rameshponnada/Ghost,ericbenson/GhostAzureSetup,Kaenn/Ghost,ckousik/Ghost,r14r/fork_nodejs_ghost,davidenq/Ghost-Blog,diancloud/Ghost,rollokb/Ghost,fredeerock/atlabghost,TryGhost/Ghost,sifatsultan/js-ghost,blankmaker/Ghost,bitjson/Ghost,KnowLoading/Ghost,NamedGod/Ghost,benstoltz/Ghost,Gargol/Ghost,kaiqigong/Ghost,schematical/Ghost,Netazoic/bad-gateway,smedrano/Ghost,lukaszklis/Ghost,daihuaye/Ghost,riyadhalnur/Ghost,lethalbrains/Ghost,AnthonyCorrado/Ghost,dymx101/Ghost,ErisDS/Ghost,dbalders/Ghost,GroupxDev/javaPress,Smile42RU/Ghost,edsadr/Ghost,carlyledavis/Ghost,Japh/Ghost,r1N0Xmk2/Ghost,kolorahl/Ghost,delgermurun/Ghost,javorszky/Ghost,jacostag/Ghost,ivanoats/ivanstorck.com,jomofrodo/ccb-ghost,theonlypat/Ghost,darvelo/Ghost,praveenscience/Ghost,JohnONolan/Ghost,prosenjit-itobuz/Ghost,psychobunny/Ghost,olsio/Ghost,jin/Ghost,IbrahimAmin/Ghost,tanbo800/Ghost,Netazoic/bad-gateway,hnq90/Ghost,kevinansfield/Ghost,hilerchyn/Ghost,alecho/Ghost,tyrikio/Ghost,kolorahl/Ghost,yanntech/Ghost,allanjsx/Ghost,achimos/ghost_as,STANAPO/Ghost,lcamacho/Ghost,omaracrystal/Ghost,jorgegilmoreira/ghost,sceltoas/Ghost,ckousik/Ghost,codeincarnate/Ghost,melissaroman/ghost-blog,sfpgmr/Ghost,sceltoas/Ghost,cncodog/Ghost-zh-codog,katrotz/blog.katrotz.space,ITJesse/Ghost-zh,RufusMbugua/TheoryOfACoder,Xibao-Lv/Ghost,lf2941270/Ghost,NamedGod/Ghost,bitjson/Ghost,singular78/Ghost,e10/Ghost,vainglori0us/urban-fortnight,jaswilli/Ghost,TribeMedia/Ghost,telco2011/Ghost,GroupxDev/javaPress,omaracrystal/Ghost,Kikobeats/Ghost,Azzurrio/Ghost,allanjsx/Ghost,Alxandr/Blog,morficus/Ghost,metadevfoundation/Ghost,adam-paterson/blog,kevinansfield/Ghost,thomasalrin/Ghost,BayPhillips/Ghost,trunk-studio/Ghost,dbalders/Ghost,aschmoe/jesse-ghost-app,k2byew/Ghost,flomotlik/Ghost,zhiyishou/Ghost,arvidsvensson/Ghost,Kikobeats/Ghost,barbastan/Ghost,schneidmaster/theventriloquist.us,novaugust/Ghost,akveo/akveo-blog,neynah/GhostSS,pbevin/Ghost,netputer/Ghost,ignasbernotas/nullifer,madole/diverse-learners,JohnONolan/Ghost,carlosmtx/Ghost,skmezanul/Ghost,davidenq/Ghost-Blog,stridespace/Ghost,carlyledavis/Ghost,makapen/Ghost,julianromera/Ghost,gcamana/Ghost,chris-yoon90/Ghost,hyokosdeveloper/Ghost,uniqname/everydaydelicious,diogogmt/Ghost,cncodog/Ghost-zh-codog,sifatsultan/js-ghost,ThorstenHans/Ghost,kortemy/Ghost,ladislas/ghost,kaychaks/kaushikc.org,panezhang/Ghost,SkynetInc/steam,lanffy/Ghost,daimaqiao/Ghost-Bridge,ManRueda/Ghost,ErisDS/Ghost,francisco-filho/Ghost,bsansouci/Ghost,rmoorman/Ghost,jiangjian-zh/Ghost,letsjustfixit/Ghost,floofydoug/Ghost,ManRueda/manrueda-blog,Azzurrio/Ghost,javorszky/Ghost,notno/Ghost,wallmarkets/Ghost,optikalefx/Ghost,no1lov3sme/Ghost,PaulBGD/Ghost-Plus,yangli1990/Ghost,Klaudit/Ghost,bisoe/Ghost,Netazoic/bad-gateway,shannonshsu/Ghost,Smile42RU/Ghost,icowan/Ghost,JohnONolan/Ghost,jorgegilmoreira/ghost,acburdine/Ghost,sebgie/Ghost,PeterCxy/Ghost,Rovak/Ghost,stridespace/Ghost,mttschltz/ghostblog,shannonshsu/Ghost,sergeylukin/Ghost,davidmenger/nodejsfan,yundt/seisenpenji,andrewconnell/Ghost,Sebastian1011/Ghost,sajmoon/Ghost,k2byew/Ghost,cwonrails/Ghost,disordinary/Ghost,thehogfather/Ghost,YY030913/Ghost,pathayes/FoodBlog,tuan/Ghost,dymx101/Ghost,aroneiermann/GhostJade,jeonghwan-kim/Ghost,dqj/Ghost,johngeorgewright/blog.j-g-w.info,ivanoats/ivanstorck.com,ryansukale/ux.ryansukale.com,cysys/ghost-openshift,v3rt1go/Ghost,zeropaper/Ghost,wemakeweb/Ghost,exsodus3249/Ghost,epicmiller/pages,jiangjian-zh/Ghost,ddeveloperr/Ghost,ashishapy/ghostpy,rizkyario/Ghost,augbog/Ghost,pensierinmusica/Ghost,rmoorman/Ghost,mohanambati/Ghost,BlueHatbRit/Ghost,rchrd2/Ghost,Alxandr/Blog,francisco-filho/Ghost,hoxoa/Ghost,ygbhf/Ghost,woodyrew/Ghost,MadeOnMars/Ghost,kortemy/Ghost,memezilla/Ghost,diancloud/Ghost,dggr/Ghost-sr,phillipalexander/Ghost,janvt/Ghost,woodyrew/Ghost,tandrewnichols/ghost,pollbox/ghostblog,pbevin/Ghost,dylanchernick/ghostblog,patterncoder/patterncoder,mnitchie/Ghost,jparyani/GhostSS,mlabieniec/ghost-env,wallmarkets/Ghost,anijap/PhotoGhost,Bunk/Ghost,PaulBGD/Ghost-Plus,mohanambati/Ghost,rito/Ghost,tksander/Ghost,jamesslock/Ghost,fredeerock/atlabghost,gcamana/Ghost,dggr/Ghost-sr,bbmepic/Ghost,jiachenning/Ghost,carlosmtx/Ghost,mdbw/ghost,tyrikio/Ghost,Elektro1776/javaPress,trunk-studio/Ghost,melissaroman/ghost-blog,neynah/GhostSS,memezilla/Ghost,davidmenger/nodejsfan,influitive/crafters,ineitzke/Ghost,Jai-Chaudhary/Ghost,bastianbin/Ghost,ErisDS/Ghost,ddeveloperr/Ghost,IbrahimAmin/Ghost,ASwitlyk/Ghost,daihuaye/Ghost,achimos/ghost_as,ngosinafrica/SiteForNGOs,claudiordgz/Ghost,JulienBrks/Ghost,aroneiermann/GhostJade,Remchi/Ghost,syaiful6/Ghost,AlexKVal/Ghost,qdk0901/Ghost,Loyalsoldier/Ghost,sebgie/Ghost,RufusMbugua/TheoryOfACoder,DesenTao/Ghost,djensen47/Ghost,lukekhamilton/Ghost,jaguerra/Ghost,darvelo/Ghost,laispace/laiblog,ericbenson/GhostAzureSetup,kortemy/Ghost,davidenq/Ghost-Blog,KnowLoading/Ghost,AlexKVal/Ghost,duyetdev/islab,ghostchina/Ghost-zh,tadityar/Ghost,xiongjungit/Ghost,beautyOfProgram/Ghost,Japh/shortcoffee,sfpgmr/Ghost,letsjustfixit/Ghost,rizkyario/Ghost,wspandihai/Ghost,lowkeyfred/Ghost,handcode7/Ghost,thomasalrin/Ghost,ashishapy/ghostpy,dYale/blog,leninhasda/Ghost,Sebastian1011/Ghost,TribeMedia/Ghost,johnnymitch/Ghost,TryGhost/Ghost,lanffy/Ghost,delgermurun/Ghost,bosung90/Ghost,claudiordgz/Ghost,riyadhalnur/Ghost,Trendy/Ghost,morficus/Ghost,LeandroNascimento/Ghost,javimolla/Ghost,hnq90/Ghost,vainglori0us/urban-fortnight,rollokb/Ghost,kaychaks/kaushikc.org,virtuallyearthed/Ghost,diogogmt/Ghost,nmukh/Ghost,thinq4yourself/Unmistakable-Blog,tadityar/Ghost,weareleka/blog,petersucks/blog,camilodelvasto/herokughost,Jai-Chaudhary/Ghost,flomotlik/Ghost,camilodelvasto/herokughost,r1N0Xmk2/Ghost,jaswilli/Ghost,liftup/ghost,schematical/Ghost,cysys/ghost-openshift,klinker-apps/ghost,alecho/Ghost,karmakaze/Ghost,sunh3/Ghost,ghostchina/Ghost-zh,ljhsai/Ghost,ManRueda/manrueda-blog,kwangkim/Ghost,Klaudit/Ghost,zeropaper/Ghost,MadeOnMars/Ghost,TryGhost/Ghost,rchrd2/Ghost,pathayes/FoodBlog,velimir0xff/Ghost,panezhang/Ghost,NikolaiIvanov/Ghost,smaty1/Ghost,andrewconnell/Ghost,hoxoa/Ghost,jgillich/Ghost,BlueHatbRit/Ghost,mnitchie/Ghost,sajmoon/Ghost,Loyalsoldier/Ghost,ananthhh/Ghost,mayconxhh/Ghost,smedrano/Ghost,lukekhamilton/Ghost,PepijnSenders/whatsontheotherside,ljhsai/Ghost,epicmiller/pages,ITJesse/Ghost-zh,zackslash/Ghost,dbalders/Ghost,SkynetInc/steam,patterncoder/patterncoder,mttschltz/ghostblog,kmeurer/GhostAzureSetup,cicorias/Ghost,phillipalexander/Ghost,jomofrodo/ccb-ghost,etanxing/Ghost,pensierinmusica/Ghost,alexandrachifor/Ghost,gleneivey/Ghost,gabfssilva/Ghost,DesenTao/Ghost,augbog/Ghost,camilodelvasto/localghost,zhiyishou/Ghost,PDXIII/Ghost-FormMailer,adam-paterson/blog,handcode7/Ghost,aschmoe/jesse-ghost-app,NovaDevelopGroup/Academy,r14r/fork_nodejs_ghost,cwonrails/Ghost,cqricky/Ghost,ballPointPenguin/Ghost,weareleka/blog,ASwitlyk/Ghost,skleung/blog,wemakeweb/Ghost,zackslash/Ghost,rouanw/Ghost,situkangsayur/Ghost,load11/ghost,singular78/Ghost,cicorias/Ghost,manishchhabra/Ghost,Japh/shortcoffee,cobbspur/Ghost,gleneivey/Ghost,axross/ghost,UsmanJ/Ghost,veyo-care/Ghost,hyokosdeveloper/Ghost,singular78/Ghost,dgem/Ghost,tandrewnichols/ghost,ignasbernotas/nullifer,Elektro1776/javaPress,wspandihai/Ghost,lowkeyfred/Ghost,kevinansfield/Ghost,influitive/crafters,GarrethDottin/Habits-Design,tmp-reg/Ghost,UnbounDev/Ghost,metadevfoundation/Ghost,petersucks/blog,dylanchernick/ghostblog,leninhasda/Ghost,krahman/Ghost,rouanw/Ghost,velimir0xff/Ghost,rizkyario/Ghost,yundt/seisenpenji,mtvillwock/Ghost,cwonrails/Ghost,duyetdev/islab,blankmaker/Ghost,etdev/blog,klinker-apps/ghost,vainglori0us/urban-fortnight,johnnymitch/Ghost,imjerrybao/Ghost,mlabieniec/ghost-env,nmukh/Ghost,rameshponnada/Ghost,mohanambati/Ghost,tidyui/Ghost,etdev/blog,Yarov/yarov,notno/Ghost,mdbw/ghost,Bunk/Ghost,laispace/laiblog,shrimpy/Ghost,Aaron1992/Ghost,optikalefx/Ghost,NikolaiIvanov/Ghost,no1lov3sme/Ghost,FredericBernardo/Ghost,bisoe/Ghost,dggr/Ghost-sr,mtvillwock/Ghost,smaty1/Ghost,vloom/blog,hnarayanan/narayanan.co,daimaqiao/Ghost-Bridge,jomahoney/Ghost,lf2941270/Ghost,patrickdbakke/ghost-spa,veyo-care/Ghost,karmakaze/Ghost,denzelwamburu/denzel.xyz,thinq4yourself/Unmistakable-Blog,skmezanul/Ghost,stridespace/Ghost,ManRueda/manrueda-blog,ManRueda/Ghost,daimaqiao/Ghost-Bridge,ryanbrunner/crafters,xiongjungit/Ghost,NovaDevelopGroup/Academy,obsoleted/Ghost,mattchupp/blog,dgem/Ghost,Trendy/Ghost,dYale/blog,olsio/Ghost,Dnlyc/Ghost,developer-prosenjit/Ghost,bsansouci/Ghost,Romdeau/Ghost,denzelwamburu/denzel.xyz,leonli/ghost,vloom/blog,ManRueda/Ghost,icowan/Ghost,Remchi/Ghost,jparyani/GhostSS,julianromera/Ghost,devleague/uber-hackathon,yangli1990/Ghost,bosung90/Ghost,uploadcare/uploadcare-ghost-demo,jin/Ghost,llv22/Ghost,ngosinafrica/SiteForNGOs,JonSmith/Ghost,acburdine/Ghost,tidyui/Ghost,Feitianyuan/Ghost,mhhf/ghost-latex,jamesslock/Ghost,leonli/ghost,chris-yoon90/Ghost,STANAPO/Ghost,jgillich/Ghost,netputer/Ghost,pedroha/Ghost,MrMaksimize/sdg1,laispace/laiblog,leonli/ghost,GroupxDev/javaPress,tksander/Ghost,Gargol/Ghost,telco2011/Ghost,pollbox/ghostblog,kaiqigong/Ghost,qdk0901/Ghost,Xibao-Lv/Ghost,Rovak/Ghost,ygbhf/Ghost,load11/ghost,Elektro1776/javaPress,katiefenn/Ghost,jacostag/Ghost,mayconxhh/Ghost,akveo/akveo-blog,jorgegilmoreira/ghost,Kaenn/Ghost,NovaDevelopGroup/Academy,dqj/Ghost,lukw00/Ghost,etanxing/Ghost,Kaenn/Ghost,yanntech/Ghost,dai-shi/Ghost,Japh/Ghost,jeonghwan-kim/Ghost,pedroha/Ghost,wangjun/Ghost,zumobi/Ghost,djensen47/Ghost,manishchhabra/Ghost,acburdine/Ghost,Coding-House/Ghost,lukaszklis/Ghost,benstoltz/Ghost,shrimpy/Ghost,Brunation11/Ghost,kwangkim/Ghost,gabfssilva/Ghost,Alxandr/Blog,jparyani/GhostSS,llv22/Ghost,PepijnSenders/whatsontheotherside,Dnlyc/Ghost,madole/diverse-learners,jomofrodo/ccb-ghost,edsadr/Ghost,JonathanZWhite/Ghost,Yarov/yarov,rito/Ghost,ananthhh/Ghost,Brunation11/Ghost,ineitzke/Ghost,jiachenning/Ghost,lukw00/Ghost,neynah/GhostSS,Romdeau/Ghost