Type: String
, Boolean
Default: false
Changes the size of color swatches in colorpicker. The value large
makes them 32px.
Redactor('#entry', {
colorpicker: {
size: 'large'
}
});
Type: String
, Boolean
Default: false
Sets the width of the colorpicker.
Redactor('#entry', {
colorpicker: {
width: '320px'
}
});
Type: Boolean
Default: false
Sets the 'flex-wrap' of color groups.
Redactor('#entry', {
colorpicker: {
wrap: true
}
});
Type: Boolean
Default: false
Sets the color groups to be displayed in rows. By default, color groups are arranged in columns.
Redactor('#entry', {
colorpicker: {
row: true
}
});