add more html5 tags, fixes #1444

This commit is contained in:
j 2013-08-27 08:52:22 +00:00
parent 7693079b8c
commit 0c76680864
2 changed files with 6 additions and 3 deletions

View file

@ -33,6 +33,9 @@ div, input, textarea {
font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif; font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif;
font-size: 11px; font-size: 11px;
} }
figure {
text-align: center;
}
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin: 0; margin: 0;
font-size: 16px; font-size: 16px;

View file

@ -4,15 +4,15 @@
var defaultTags = [ var defaultTags = [
// inline formatting // inline formatting
'b', 'code', 'em', 'i', 's', 'strong', 'sub', 'sup', 'u', 'b', 'bdi', 'code', 'em', 'i', 'q', 's', 'span', 'strong', 'sub', 'sup', 'u',
// block formatting // block formatting
'blockquote', 'h1', 'h2', 'h3', 'p', 'pre', 'blockquote', 'cite', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'pre',
// lists // lists
'li', 'ol', 'ul', 'li', 'ol', 'ul',
// tables // tables
'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr',
// other // other
'a', 'br', 'img', 'a', 'br', 'img', 'figure', 'figcaption',
// special // special
'rtl', '[]' 'rtl', '[]'
], ],