Dan Brown

Added lists plugin to TinyMCE, Fixed strange nested list behaviour

Fixes #97
...@@ -11,7 +11,7 @@ var mceOptions = module.exports = { ...@@ -11,7 +11,7 @@ var mceOptions = module.exports = {
11 extended_valid_elements: 'pre[*]', 11 extended_valid_elements: 'pre[*]',
12 automatic_uploads: false, 12 automatic_uploads: false,
13 valid_children: "-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]", 13 valid_children: "-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",
14 - plugins: "image table textcolor paste link fullscreen imagetools code hr autosave", 14 + plugins: "image table textcolor paste link fullscreen imagetools code hr autosave lists",
15 imagetools_toolbar: 'imageoptions', 15 imagetools_toolbar: 'imageoptions',
16 toolbar: "undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen", 16 toolbar: "undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",
17 content_style: "body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}", 17 content_style: "body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",
......