diff 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
line wrap: on
line diff
--- 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'}
 });