Catalyzes the transfer of a single N-acetylglucosamine from UDP-GlcNAc to a serine or threonine residue in cytoplasmic and nuclear proteins resulting in their modification with a beta-linked N-acetylglucosamine (O-GlcNAc) (PubMed:26678539, PubMed:23103939, PubMed:21240259, PubMed:21285374, PubMed:15361863). Glycosylates a large and diverse number of proteins including histone H2B, AKT1, EZH2, PFKL, KMT2E/MLL5, MAPT/TAU and HCFC1. Can regulate their cellular processes via cross-talk between glycosylation and phosphorylation or by affecting proteolytic processing (PubMed:21285374). Probably by glycosylating KMT2E/MLL5, stabilizes KMT2E/MLL5 by preventing its ubiquitination (PubMed:26678539).