Reputation:
Code below:
jQuery('#pagetext').redactor({
"imageUpload":"/admin/redactor/uploaddir=pages",
"fileUpload":"/admin/redactor/upload?dir=pages",
"minHeight":400,
"plugins"["fontcolor","fontsize"],
"imageUploadErrorCallback":function(json{alert(json.error);},
"fileUploadErrorCallback":function(json{alert(json.error);},
});
And jQuery, Redactor and all the plugins have loaded before this code. but in the editor there's not a color button to change the color? what's the problem here?
Upvotes: 0
Views: 105