Forums

Enabling TinyMCE for the_title, is it possible? (3 posts)

  1. ilovecolors
    Member
    Posted 1 year ago #

    I'd like to enable the rich text editor for the Title field when editing a post or page. Is it possible?

    I needed to enable TinyMCE for the_excerpt, and I did found it, as a plugin here http://wordpress.org/extend/plugins/tinymce-excerpt/
    maybe it's possible something alike for the title.

    thanks for the help

  2. ilovecolors
    Member
    Posted 1 year ago #

    Ok, so I was able to enable the tinyMCE for the_title using the code from tinymce-excerpt from simonwheatley.co.uk just by changing the jquery selector and pointing it to #title and wrapping it with another div#id

    however, whenever I set a line break or p in the title field and then save it, the br or p are stripped. Is there a way to change this?

    btw, the plugin from Simon should be using get_the_excerpt instead of edit_post_excerpt.

  3. ilovecolors
    Member
    Posted 12 months ago #

    Sorry for the top-post, but I want to know if someone else that hasn't seen this thread can answer the question:

    ¿How can I prevent WP from stripping BR or P in the title field?

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic