File: example_template_list.js

package info (click to toggle)
tinymce2 2.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,192 kB
  • ctags: 1,107
  • sloc: makefile: 59; sh: 7
file content (9 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
// 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."]
];