comparison 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
comparison
equal deleted inserted replaced
44:42a6bde9913c 45:966cde8635c0
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <title>{#paste.paste_text_desc}</title>
4 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
5 <script type="text/javascript" src="js/pastetext.js"></script>
6 </head>
7 <body onresize="PasteTextDialog.resize();" style="display:none; overflow:hidden;">
8 <form name="source" onsubmit="return PasteTextDialog.insert();" action="#">
9 <div style="float: left" class="title">{#paste.paste_text_desc}</div>
10
11 <div style="float: right">
12 <input type="checkbox" name="linebreaks" id="linebreaks" class="wordWrapCode" checked="checked" /><label for="linebreaks">{#paste_dlg.text_linebreaks}</label>
13 </div>
14
15 <br style="clear: both" />
16
17 <div>{#paste_dlg.text_title}</div>
18
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>
20
21 <div class="mceActionPanel">
22 <input type="submit" name="insert" value="{#insert}" id="insert" />
23 <input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
24 </div>
25 </form>
26 </body>
27 </html>