support h1-h6, fixes #516

This commit is contained in:
j 2012-02-18 15:40:41 +00:00
parent a66c7c9bdd
commit b12099a9d7
2 changed files with 5 additions and 2 deletions

View file

@ -33,11 +33,14 @@ div, input, textarea {
font-family: Lucida Grande, Segoe UI, DejaVu Sans, Arial; font-family: Lucida Grande, Segoe UI, DejaVu Sans, Arial;
font-size: 11px; font-size: 11px;
} }
h1 { h1,h2,h3,h4,h5,h6 {
margin: 0; margin: 0;
font-size: 16px; font-size: 16px;
font-weight: normal; font-weight: normal;
} }
h2,h3,h4,h5,h6 {
font-size: 14px;
}
img { img {
-moz-user-drag: none; -moz-user-drag: none;
-o-user-drag: none; -o-user-drag: none;

View file

@ -46,7 +46,7 @@ Ox.parseHTML = (function() {
// inline formatting // inline formatting
'b', 'code', 'i', 's', 'sub', 'sup', 'u', 'b', 'code', 'i', 's', 'sub', 'sup', 'u',
// block formatting // block formatting
'blockquote', 'h1', 'p', 'pre', 'blockquote', 'h1', 'h2', 'h3', 'p', 'pre',
// lists // lists
'li', 'ol', 'ul', 'li', 'ol', 'ul',
// tables // tables