Published: 2nd March 2016.
An leathanach so à Gaelainn.
WordPress, TinyMCE, plug-in, editor, HTML.
Out of the box, WordPress provides a graphical page and post editor (TinyMCE), along with a HTML editor to allow users to enter content by writing their own markup. The ability to go under the bonnet and write or polish markup by hand is always A Good Thing as long as the people that have it have the right skills, self-discipline and — when they're on the nine-to-five — professionalism.
But it can be a big problem where WordPress is being used to implement a house style or where it has custom functionality that can be broken or subvereted by un-skilled or un-disciplined users or data entry operatives who have a little knowledge. Not to mention the kinds of thick, bold or downright spiteful ones who are always going to do things they way they see fit and to hell with managerial or editorial policy.
Músgraí Ceil Eagarthóir HTML WP doesn't disable or remove the HTML editor but it puts it beyond use by forcing WordPress to default to the graphical editor and then hiding the buttons that would allow the user to switch to the HTML one.
The plug-in isn't a magic wand of course. It won't leash headstrong WordPress Administrators and Super Admins, who can simply de-activate or delete it but it will lock down that part of the interface for Editors, Authors, Contributors and Subscribers.
Just extract the músgraí-ceil-eagarthóir-html-wp directory from the tar.gz or zip file, upload it to the WordPress plugins directory, activate as normal and that's it. There's no settings, no control panel and nothing for the users to do but get on with writing posts and pages — in the graphical editor.