annotate static/js/tinymce/examples/lists/template_list.js @ 132:e53efcac7a7a
For Django 1.6: CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecated.
author |
Brian Neal <bgneal@gmail.com> |
date |
Tue, 24 Dec 2013 17:18:44 -0600 |
parents |
966cde8635c0 |
children |
|
rev |
line source |
bgneal@45
|
1 // This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
|
bgneal@45
|
2 // There templates will be displayed as a dropdown in all media dialog if the "template_external_list_url"
|
bgneal@45
|
3 // option is defined in TinyMCE init.
|
bgneal@45
|
4
|
bgneal@45
|
5 var tinyMCETemplateList = [
|
bgneal@45
|
6 // Name, URL, Description
|
bgneal@45
|
7 ["Simple snippet", "templates/snippet1.htm", "Simple HTML snippet."],
|
bgneal@45
|
8 ["Layout", "templates/layout1.htm", "HTML Layout."]
|
bgneal@45
|
9 ]; |