Skip to content

Instantly share code, notes, and snippets.

@jeremyb
Created November 3, 2010 13:12
Show Gist options
  • Save jeremyb/661055 to your computer and use it in GitHub Desktop.
Save jeremyb/661055 to your computer and use it in GitHub Desktop.
var globalConfigs = {
// ...
wysiwyg: {
script_url: '/js/tiny_mce/tiny_mce.js',
theme: "advanced",
element_format : "xhtml",
cleanup : true,
theme_advanced_buttons1: "<?php echo sfConfig::get('app_tinymce_theme_advanced_buttons1') ?>",
theme_advanced_buttons2: "<?php echo sfConfig::get('app_tinymce_theme_advanced_buttons2') ?>",
theme_advanced_buttons3: "<?php echo sfConfig::get('app_tinymce_theme_advanced_buttons3') ?>",
theme_advanced_buttons4: "<?php echo sfConfig::get('app_tinymce_theme_advanced_buttons4') ?>",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
width: "100%",
paste_auto_cleanup_on_paste : true
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment