Skip to content

Instantly share code, notes, and snippets.

@matthijs166
Created January 8, 2018 22:12
Show Gist options
  • Save matthijs166/58686e99bc294ee6d043ec6ad17f4418 to your computer and use it in GitHub Desktop.
Save matthijs166/58686e99bc294ee6d043ec6ad17f4418 to your computer and use it in GitHub Desktop.
set padding for indentation indent incrace or decrace
//indentation filter spring in text tyinimce
function modify_tinymce_settings($settings) {
$settings['indentation'] = '10px';
return $settings;
}
add_filter('tiny_mce_before_init', 'modify_tinymce_settings');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment