Convert callback strings to functions for TinyMCE