I have searched for a simple method to allow a user to highlight a specific piece of text with a user chosen color but have not found one readily apparent. I have found a few methods related to syntax / code highlighting. I am not trying to highlight code but merely text within a blog post. Preferably I would like a simple method that provides a UI button within the editor itself as some users that post articles are not technically savvy and may have issues with short codes. I am currently running Wordpress version 3.5.1.

  • Modified question to reflect simple method (which is what I actually need) – Mort May 16 '13 at 15:24
  • Ok. On topic now but how do you want this to work? You want people to be able to select text and choose it for highlighting in much the way you can choose text and bold it or italicize it? – s_ha_dum May 16 '13 at 15:27
  • 1
    Have you looked at any of the numerous WordPress shortcodes plugins? Most have a TinyMCE editor interface. – helgatheviking May 16 '13 at 15:50
  • 1
    Agreed with @helgatheviking Also, I think, but can't remember for sure, that CKEdit will highlight text in a way that might work for you. – s_ha_dum May 16 '13 at 15:58
  • CKEdit work well enough to satisfy my requirements. If @s_ha_dum can post as an answer will approve. – Mort May 16 '13 at 16:19

While I rarely recommend plugins, the CKEditor plugin will do highlighting of selected text. That sounds like exactly what you want. And it is a greatly enhanced editor relative to the default one. Short of creating your own editor buttons and supporting functions, that would be a pretty good choice.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.