Created
April 26, 2013 12:20
-
-
Save MZAWeb/5467045 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
Index: templates/default/bbpress-functions.php | |
=================================================================== | |
--- templates/default/bbpress-functions.php (revision 4870) | |
+++ templates/default/bbpress-functions.php (working copy) | |
@@ -216,6 +216,10 @@ | |
<?php if ( bbp_use_wp_editor() ) : ?> | |
jQuery(document).ready( function() { | |
+ /* Use backticks instead of <code> for the Code button in the editor */ | |
+ edButtons[110] = new QTags.TagButton('code','code','`','`','c'); | |
+ QTags._buttonsInit(); | |
+ | |
/* Tab from topic title */ | |
jQuery( '#bbp_topic_title' ).bind( 'keydown.editor-focus', function(e) { | |
if ( e.which != 9 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment