summaryrefslogtreecommitdiffstats
path: root/extensions/tinymce/examples/lists/template_list.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/tinymce/examples/lists/template_list.js')
-rw-r--r--extensions/tinymce/examples/lists/template_list.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/tinymce/examples/lists/template_list.js b/extensions/tinymce/examples/lists/template_list.js
new file mode 100644
index 0000000..e06d357
--- /dev/null
+++ b/extensions/tinymce/examples/lists/template_list.js
@@ -0,0 +1,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."]
+]; \ No newline at end of file