Created
January 14, 2015 11:00
-
-
Save tgloeggl/c43ab1347e017d18605c to your computer and use it in GitHub Desktop.
Toolbar bei Bereichesbearbeitung anzeigen
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
--- a/public/plugins_packages/core/Forum/javascript/forum.js | |
+++ b/public/plugins_packages/core/Forum/javascript/forum.js | |
@@ -243,6 +243,11 @@ STUDIP.Forum = { | |
name : jQuery('tr[data-area-id=' + area_id + '] span.areaname').text().trim(), | |
content : jQuery('tr[data-area-id=' + area_id + '] div.areacontent').attr('data-content') | |
})); | |
+ | |
+ | |
+ if (!STUDIP.WYSIWYG) { | |
+ $('span.edit_area textarea').addToolbar(); | |
+ } | |
}, | |
cancelEditArea: function (area_id) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment