Sha256: 3bd6490dd233fc44220c9f62925f927d821450a7088cf592ce79d87689647963
Contents?: true
Size: 624 Bytes
Versions: 66
Compression:
Stored size: 624 Bytes
Contents
<div class="mceTmpl"> <h2>Example Template</h2> <p>Adding a new template is easy. Just add a line to mce_options.rb and a the corresponding template file to javascripts/tiny_mce/templates.</p> <p>For example, this template lives in javascripts/tiny_mce/templates/example.htm. The entry for the template is found in mce_options.rb and is as follows:</p> <pre> GlobalConfig.raw_mce_options = 'template_templates : [ { title : "Example Template", src : "/javascripts/tiny_mce/templates/example.htm", description : "An example of how to add a template." } ]' </pre> </div>
Version data entries
66 entries across 44 versions & 2 rubygems