annotate static/js/tinymce/examples/lists/link_list.js @ 45:966cde8635c0

For issue #3, created a separate news app. Created import management command. Using TinyMCE editor in the admin. News model now stores HTML. The news page is now paginated. Each story has a perma-link now.
author Brian Neal <bgneal@gmail.com>
date Thu, 15 Mar 2012 20:02:39 -0500
parents
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 links will be displayed as a dropdown in all link dialogs if the "external_link_list_url"
bgneal@45 3 // option is defined in TinyMCE init.
bgneal@45 4
bgneal@45 5 var tinyMCELinkList = new Array(
bgneal@45 6 // Name, URL
bgneal@45 7 ["Moxiecode", "http://www.moxiecode.com"],
bgneal@45 8 ["Freshmeat", "http://www.freshmeat.com"],
bgneal@45 9 ["Sourceforge", "http://www.sourceforge.com"]
bgneal@45 10 );