annotate static/js/tinymce/examples/lists/media_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 |
|
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 flash movies will be displayed as a dropdown in all media dialog if the "media_external_list_url"
|
bgneal@45
|
3 // option is defined in TinyMCE init.
|
bgneal@45
|
4
|
bgneal@45
|
5 var tinyMCEMediaList = [
|
bgneal@45
|
6 // Name, URL
|
bgneal@45
|
7 ["Some Flash", "media/sample.swf"],
|
bgneal@45
|
8 ["Some Quicktime", "media/sample.mov"],
|
bgneal@45
|
9 ["Some AVI", "media/sample.avi"],
|
bgneal@45
|
10 ["Some RealMedia", "media/sample.rm"],
|
bgneal@45
|
11 ["Some Shockwave", "media/sample.dcr"],
|
bgneal@45
|
12 ["Some Video", "media/sample.mp4"],
|
bgneal@45
|
13 ["Some FLV", "media/sample.flv"]
|
bgneal@45
|
14 ]; |