Last active
December 28, 2015 03:09
-
-
Save stephenscaff/7433436 to your computer and use it in GitHub Desktop.
You spend all this time crafting a great Wordpress site, with a killer blog section chalked full of snazzy css and vertical rhythm badassery. Just to have the client get all clever with that WYSI toolbar, dropping nasty inline styles all over your design's face. Easy solution - tell the WYSI tab to kick rocks. Just plop this filter in functions.…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter ( 'user_can_richedit' , create_function ( '$a' , 'return false;' ) , 50 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment