WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
Insert instead of in rich text editor (2 posts)

  1. jrb04c
    Member
    Posted 3 years ago #

    How could I change the bold button on the rich editor to insert the tag instead of the <b> tag? I've searched through all the code and cannot see where to define that. Thanks again for all your help and for a great plugin.

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    It's complicated. The <b> is inserted through the browser's native execCommand('bold').

    To insert a < strong> tag, you would have to make your own execCommand.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic