Heidi Cool — July 30th, 2011
WordPress has a built in editor that isn't bad, but sometimes you need a bit more control. Your site admins/editors may need access to more options. On the other hand you may want to create some restrictions. For instance you may wish to prevent them from making giant red headlines if those will clash with your ocean blue theme. TinyMCE Advanced will let you add or subtract the editing options you make available to your users, and offers far more options in the visual editor than you would get by default.
Another issue relates to what happens when you paste in content from other places. For instance, I often write posts in code and then just paste them into the HTML editor window. Sometimes when I do this WordPress will add additional linebreaks.
On my sites I solve this problem by adding
remove_filter ('the_content', 'wpautop');
to my functions.php file. This works fine for me because I write my pages and posts in HTML. But it doesn't work well for clients who are unlikely to do that. So in those cases I set TinyMCE Advanced to stop removing the <p> and <br /> elements and to show them in the HTML editor. This way when it adds such breaks you can see them in the editor and then remove them.
There are many different plug-ins available for WordPress and you may find one that better suits your needs, but TinyMCE Advanced has been able to solve most of my problems.
Recent posts from the Web Development Blog
- Ask the audience: How crowdsourcing can help you tailor your messages
- Will you link to me? Things to ponder before asking this question.
- Making the world better, by building better Web sites: Cleveland GiveCamp
- Content Curation: Learning from others and sharing their knowledge
- Should we stay or should we go? Responding to Ning’s new pricing plans.