WordPress.org

Ready to get started?Download WordPress

Forums

Raptor Editor
How to Add Custom Classes to HTML Tag Selectbox (1 post)

  1. optimistguide
    Member
    Posted 1 year ago #

    I was wondering how I can add my own custom classes to the HTML Tag selectbox in Raptor Editor.

    I found the following code, but changing it did nothing:
    <select autocomplete="off" name="tag" class="ui-editor-tag-select">\n <option value="na">_(\'N/A\')</option>\n <option value="p">_(\'Paragraph\')</option>\n <option value="h1">_(\'Heading&nbsp;1\')</option>\n <option value="h2">_(\'Heading&nbsp;2\')</option>\n <option value="h3">_(\'Heading&nbsp;3\')</option>\n <option value="div">_(\'Divider\')</option>\n</select>\n',

    I want it to act like the following code:
    <select autocomplete="off" name="tag" class="ui-editor-tag-select">\n <option value="na">_(\'N/A\')</option>\n <option value=".header-single">_(\'Header\')</option>\n <option value=".body-single">_(\'Body\')</option>\n <option value=".comment-single">_(\'Comment\')</option>\n</select>\n',

    Any idea of how to make this work? Possible future addition to the plugin possibly? I think this addition would help out a lot of your plugin users.

    http://wordpress.org/extend/plugins/wp-raptor/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic