Skip to content
This repository has been archived by the owner on Apr 23, 2018. It is now read-only.

Commit

Permalink
Update teddybar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérémy James committed Mar 22, 2012
1 parent 21b88ef commit 1b91790
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions teddybar.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
var config = {
document : document, // if iframe use : document.getElementById('iframe').contentWindow.document
menu : {
'Bold': 'bold',
'Italic': 'italic',
'Underline': 'underline',
'Strikethrough': 'strikethrough',
'-1': null,
'Font Name': ['fontname', {'Fontin': 'fontin', 'Latin': 'latin modern'}],
'Font Size': ['fontsize', {'1 (8pt)': '1', '2 (10pt)': '2','3 (12pt)': '3','4 (14pt)': '4','5 (18pt)': '5','6 (24pt)': '6','7 (36pt)': '7'}],
'Format': ['formatblock', {'Heading 1': 'h1','Heading 2': 'h2','Heading 3': 'h3','Heading 4': 'h4','Heading 5': 'h5','Heading 6': 'h6','Paragraph': 'p','Preformatted': 'pre'}],
'-2': null,
'Numbered List': 'insertorderedlist',
'Unnumbered List': 'insertunorderedlist',
'-3': null,
'Justify Left': 'justifyleft',
'Justify Right': 'justifyright',
'Center': 'justifycenter',
'Justify Full': 'justifyfull',
'-4': null,
'Undo': 'undo',
'Redo': 'redo'
'Bold': 'bold',
'Italic': 'italic',
'Underline': 'underline',
'Strikethrough': 'strikethrough',
'-1': null,
'Font Name': ['fontname', {'Fontin': 'fontin', 'Latin': 'latin modern'}],
'Font Size': ['fontsize', {'1 (8pt)': '1', '2 (10pt)': '2','3 (12pt)': '3','4 (14pt)': '4','5 (18pt)': '5','6 (24pt)': '6','7 (36pt)': '7'}],
'Format': ['formatblock', {'Heading 1': 'h1','Heading 2': 'h2','Heading 3': 'h3','Heading 4': 'h4','Heading 5': 'h5','Heading 6': 'h6','Paragraph': 'p','Preformatted': 'pre'}],
'-2': null,
'Numbered List': 'insertorderedlist',
'Unnumbered List': 'insertunorderedlist',
'-3': null,
'Justify Left': 'justifyleft',
'Justify Right': 'justifyright',
'Center': 'justifycenter',
'Justify Full': 'justifyfull',
'-4': null,
'Undo': 'undo',
'Redo': 'redo'
},
commands : {
// Enter your own commands here e.g. : 'save': function(){ alert('TODO') }
Expand Down

0 comments on commit 1b91790

Please sign in to comment.