summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2018-06-09 19:25:33 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2018-06-09 19:25:33 +0200
commitaca28de01e7327a45ce025303fc2acc5c3813406 (patch)
treead576b08f361675ee0d4a9eae73b400450431980 /templates
parent9d5115e52c4c42af8249d8eb6f0ad3b8030f7c8d (diff)
Use WYMeditor as the article text editor.
WYMeditor produces much better XHTML than Trumbowyg.
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_page.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/templates/edit_page.html b/templates/edit_page.html
index f6a8141..7697823 100644
--- a/templates/edit_page.html
+++ b/templates/edit_page.html
@@ -4,16 +4,13 @@
<link rel="stylesheet" type="text/css"
href="/journal/prettify/prettify.css"/>
<link rel="stylesheet" type="text/css"
- href="/journal/trumbowyg/trumbowyg.min.css"/>
+ href="/journal/wymeditor/skins/seamless/skin.css"/>
<script type="text/javascript" src="/journal/prettify/prettify.js"></script>
<script type="text/javascript" src="/journal/prettify/lang-lisp.js"></script>
<script type="text/javascript" src="/js/jquery.js"></script>
- <script type="text/javascript" src="/journal/trumbowyg/trumbowyg.min.js"></script>
- <script type="text/javascript" src="/journal/trumbowyg/trumbowyg.base64.min.js"></script>
- <script type="text/javascript" src="/journal/trumbowyg/trumbowyg.pasteimage.min.js"></script>
- <script type="text/javascript" src="/journal/trumbowyg/trumbowyg.preformatted.min.js"></script>
- <script type="text/javascript" src="/journal/trumbowyg/trumbowyg.table.min.js"></script>
- <script type="text/javascript" src="/journal/trumbowyg/trumbowyg.template.min.js"></script>
+ <script type="text/javascript" src="/js/jquery-migrate-3.0.0.min.js"></script>
+ <script type="text/javascript" src="/journal/wymeditor/jquery.wymeditor.min.js"></script>
+ <script type="text/javascript" src="/journal/wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js"></script>
<script type="text/javascript" src="/js/article-editing.js"></script>
{.end}
@@ -63,7 +60,7 @@
<tr>
<td></td>
- <td><input type="submit" value="{save-button-label|html-attr-value}" name="save" /></td>
+ <td><input type="submit" value="{save-button-label|html-attr-value}" class="wymupdate" name="save" /></td>
</tr>
</table>
</form>