WordPress.org

Support

Support » Plugins and Hacks » Hacks » Tinymce button to display a html template

Tinymce button to display a html template

  • Iam trying to add a tiny mce button to display a template like this

    <div class ="template1">
    <img src="" />
    <span>
    <b>name:[cf]name[/cf] </b>
    <span>
    </div>

    name of the button temp1,
    if i click it, should add the above code in the text editor, [cf]name[/cf] is the short code to display name from the value.
    how to accomplish it?

  • The topic ‘Tinymce button to display a html template’ is closed to new replies.
Skip to toolbar