Mercurial > public > sg101
comparison static/js/tiny_mce_init_std.js @ 600:e22a5228cc02
For bitbucket #11, have TinyMCE filter out unwanted styles.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 22 Jul 2012 11:56:32 -0500 |
parents | 7854d75427af |
children | af403a9f4fb7 |
comparison
equal
deleted
inserted
replaced
599:2f5779e9d8f8 | 600:e22a5228cc02 |
---|---|
17 theme_advanced_path_location : "top", | 17 theme_advanced_path_location : "top", |
18 theme_advanced_buttons1 : "fullscreen,|,preview,|,cut,copy,paste,|,undo,redo,|,search,replace,|,code,|,cleanup,|,bold,italic,underline,strikethrough,|,forecolor,backcolor,|,justifyleft,justifycenter,justifyright,justifyfull,|,help", | 18 theme_advanced_buttons1 : "fullscreen,|,preview,|,cut,copy,paste,|,undo,redo,|,search,replace,|,code,|,cleanup,|,bold,italic,underline,strikethrough,|,forecolor,backcolor,|,justifyleft,justifycenter,justifyright,justifyfull,|,help", |
19 theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,|,bullist,numlist,outdent,indent,|,link,unlink,anchor", | 19 theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,|,bullist,numlist,outdent,indent,|,link,unlink,anchor", |
20 theme_advanced_buttons3 : "sub,sup,|,image,insertdate,inserttime,|,tablecontrols,|,hr,advhr,visualaid,|,charmap,emotions,|,print", | 20 theme_advanced_buttons3 : "sub,sup,|,image,insertdate,inserttime,|,tablecontrols,|,hr,advhr,visualaid,|,charmap,emotions,|,print", |
21 theme_advanced_buttons4 : "pastetext,pasteword,selectall" | 21 theme_advanced_buttons4 : "pastetext,pasteword,selectall" |
22 } | 22 }, |
23 valid_styles : { '*' : 'font-weight,text-decoration'} | |
23 }); | 24 }); |