Support » Plugin: Raptor Editor » How to Add Custom Classes to HTML Tag Selectbox

  • 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/

  • The topic ‘How to Add Custom Classes to HTML Tag Selectbox’ is closed to new replies.