annotate static/js/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm @ 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 <html xmlns="http://www.w3.org/1999/xhtml">
bgneal@45 2 <head>
bgneal@45 3 <title>{#paste.paste_text_desc}</title>
bgneal@45 4 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
bgneal@45 5 <script type="text/javascript" src="js/pastetext.js"></script>
bgneal@45 6 </head>
bgneal@45 7 <body onresize="PasteTextDialog.resize();" style="display:none; overflow:hidden;">
bgneal@45 8 <form name="source" onsubmit="return PasteTextDialog.insert();" action="#">
bgneal@45 9 <div style="float: left" class="title">{#paste.paste_text_desc}</div>
bgneal@45 10
bgneal@45 11 <div style="float: right">
bgneal@45 12 <input type="checkbox" name="linebreaks" id="linebreaks" class="wordWrapCode" checked="checked" /><label for="linebreaks">{#paste_dlg.text_linebreaks}</label>
bgneal@45 13 </div>
bgneal@45 14
bgneal@45 15 <br style="clear: both" />
bgneal@45 16
bgneal@45 17 <div>{#paste_dlg.text_title}</div>
bgneal@45 18
bgneal@45 19 <textarea id="content" name="content" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px;" dir="ltr" wrap="soft" class="mceFocus"></textarea>
bgneal@45 20
bgneal@45 21 <div class="mceActionPanel">
bgneal@45 22 <input type="submit" name="insert" value="{#insert}" id="insert" />
bgneal@45 23 <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
bgneal@45 24 </div>
bgneal@45 25 </form>
bgneal@45 26 </body>
bgneal@45 27 </html>