Forums

Tinymce button to display a html template (1 post)

  1. ezhil
    Member
    Posted 7 months ago #

    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?

Reply

You must log in to post.

About this Topic