Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple configuration file for default Redactor editor in Perch CMS. Minimal editor buttons. From http://forum.grabaperch.com/forum/06-28-2017-help-with-customising-redactor-toolbar-with-minimal-buttons
Perch.UserConfig.redactor = function(){
var get = function(profile, config, field) {
return { buttons: ['bold', 'italic'] }
};
var load = function(cb) {
cb();
};
return {
'get': get,
'load': load
}
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.