view static/js/tinymce/examples/lists/template_list.js @ 95:7b52e8ef01ec

For Django 1.5: Remove usage of django.contrib.markup. Since we were only using Textile in one place, decided to stop using it altogether. Wrote a management command, untextile, to convert the gallery models' description fields from textile to raw HTML. This should be run one time before going live with Django 1.5.
author Brian Neal <bgneal@gmail.com>
date Wed, 28 Aug 2013 19:22:23 -0500
parents 966cde8635c0
children
line wrap: on
line source
// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
// There templates will be displayed as a dropdown in all media dialog if the "template_external_list_url"
// option is defined in TinyMCE init.

var tinyMCETemplateList = [
	// Name, URL, Description
	["Simple snippet", "templates/snippet1.htm", "Simple HTML snippet."],
	["Layout", "templates/layout1.htm", "HTML Layout."]
];