Added random color option in blockquote tag
This commit is contained in:
@@ -118,11 +118,21 @@ var supportBlockquoteTags = [
|
||||
},
|
||||
},
|
||||
{
|
||||
text: '[color tag]',
|
||||
text: '[my color tag]',
|
||||
search: '[]',
|
||||
command: function () {
|
||||
return '[color=' + personalInfo.color + ']';
|
||||
}
|
||||
},
|
||||
{
|
||||
text: '[random color tag]',
|
||||
search: '[]',
|
||||
command: function () {
|
||||
var color = randomColor({
|
||||
luminosity: 'light'
|
||||
});
|
||||
return '[color=' + color + ']';
|
||||
}
|
||||
}
|
||||
];
|
||||
var modeType = {
|
||||
|
||||
Reference in New Issue
Block a user