Tinymce button to display a html template (1 post)

  1. ezhil
    Posted 3 years ago #

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

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

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic