Created
April 21, 2017 07:01
-
-
Save danielstrelec/881ccd4061a7aa4980375fd3f86eed59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// standardní zapnutí vložení prostého textu do TinyMCE | |
function tinymce_paste_as_text( $init ) { | |
$init['paste_as_text'] = true; | |
return $init; | |
} | |
add_filter('tiny_mce_before_init', 'tinymce_paste_as_text'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment