# HG changeset patch # User Brian Neal # Date 1342976192 18000 # Node ID e22a5228cc0208610909b1f587ee15156dbe47a5 # Parent 2f5779e9d8f8352d62af81f20349031953b33253 For bitbucket #11, have TinyMCE filter out unwanted styles. diff -r 2f5779e9d8f8 -r e22a5228cc02 static/js/tiny_mce_init_std.js --- a/static/js/tiny_mce_init_std.js Wed Jul 04 00:14:00 2012 -0500 +++ b/static/js/tiny_mce_init_std.js Sun Jul 22 11:56:32 2012 -0500 @@ -19,5 +19,6 @@ theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,|,bullist,numlist,outdent,indent,|,link,unlink,anchor", theme_advanced_buttons3 : "sub,sup,|,image,insertdate,inserttime,|,tablecontrols,|,hr,advhr,visualaid,|,charmap,emotions,|,print", theme_advanced_buttons4 : "pastetext,pasteword,selectall" - } + }, + valid_styles : { '*' : 'font-weight,text-decoration'} });