Last active
November 21, 2015 00:04
-
-
Save lf94/0d1df4d618a60a9fffd4 to your computer and use it in GitHub Desktop.
Fix Elegant Builder for WordPress 4.0
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
function et_pb_get_content( textarea_id ) { | |
var content; | |
content = $( '#' + textarea_id ).val(); //Why not just use jquery in the first place, since you know, it actually works? | |
return content.trim(); | |
} | |
function et_pb_set_content( textarea_id, content ) { | |
$( '#' + textarea_id ).val( content ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks so much for this.... saved me from having to rebuild a theme!!