Documentation
Buttons
Type: Object
Default: object
The buttons.tags
setting indicates which buttons in the toolbar should be highlighted when the cursor is in a specific tag.
By default, the object contains these values:
{
'b': ['bold'],
'strong': ['bold'],
'i': ['italic'],
'em': ['italic'],
'del': ['deleted'],
'a': ['link']
}
You can add your value:
ArticleEditor('#entry', {
css: '/your-article-dist-path/',
buttons: {
tags: {
'u': ['underline']
}
}
});