Permalink
Browse files

Merge pull request #24 from buzzedword/master

Add outline feature to lists
  • Loading branch information...
jhollingworth committed Mar 27, 2012
2 parents 4d553cf + 7692daa commit 665a989db6094ccab0ce789113664d2cf1aea486
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/bootstrap-wysihtml5.js
@@ -20,8 +20,10 @@
"</li>",
"lists": "<li>" +
"<div class='btn-group'>" +
- "<a class='btn' data-wysihtml5-command='insertUnorderedList'><i class='icon-list'></i></a>" +
- "<a class='btn' data-wysihtml5-command='insertOrderedList'><i class='icon-th-list'></i></a>" +
+ "<a class='btn' data-wysihtml5-command='insertUnorderedList' title='Unordered List'><i class='icon-list'></i></a>" +
+ "<a class='btn' data-wysihtml5-command='insertOrderedList' title='Ordered List'><i class='icon-th-list'></i></a>" +
+ "<a class='btn' data-wysihtml5-command='Indent' title='Indent'><i class='icon-indent-left'></i></a>" +
+ "<a class='btn' data-wysihtml5-command='Outdent' title='Outdent'><i class='icon-indent-right'></i></a>" +
"</div>" +
"</li>"
};

1 comment on commit 665a989

@tiff

This comment has been minimized.

Show comment
Hide comment
@tiff

tiff Mar 28, 2012

Contributor

I'm wondering what html these new commands are generating? The commands are not supported by wysihtml5 and the browser will most probably generate inline styles here (which is not how wysihtml5 editors should work). Also you might have to adjust the parser rules.

Contributor

tiff commented on 665a989 Mar 28, 2012

I'm wondering what html these new commands are generating? The commands are not supported by wysihtml5 and the browser will most probably generate inline styles here (which is not how wysihtml5 editors should work). Also you might have to adjust the parser rules.

Please sign in to comment.