mirror of https://github.com/artf/grapesjs.git
6 changed files with 45 additions and 79 deletions
@ -1,40 +1,11 @@ |
|||
module.exports = { |
|||
|
|||
stylePrefix : 'rte-', |
|||
toolbarId : 'toolbar', |
|||
|
|||
// If true, moves the toolbar below the element when the top canvas
|
|||
// edge is reached
|
|||
adjustToolbar: 1, |
|||
|
|||
// Default toolbar commands
|
|||
commands : [{ |
|||
command: 'bold', |
|||
title: 'Bold', |
|||
class: 'fa fa-bold', |
|||
},{ |
|||
command: 'italic', |
|||
title: 'Italic', |
|||
class: 'fa fa-italic', |
|||
},{ |
|||
command: 'underline', |
|||
title: 'Underline', |
|||
class: 'fa fa-underline', |
|||
},{ |
|||
command: 'strikethrough', |
|||
title: 'Strikethrough', |
|||
class: 'fa fa-strikethrough', |
|||
group: 'format' |
|||
},{ |
|||
command: 'insertHTML', |
|||
title: 'Link', |
|||
class: 'fa fa-link', |
|||
args: '<a class="link" href="">${content}</a>', |
|||
}/*,{ |
|||
command: 'fontSize', |
|||
options: [ |
|||
{name: 'Huge', value: '7'}, |
|||
{name: 'Normal', value: '5'}, |
|||
{value: '1'} |
|||
] |
|||
}*/], |
|||
// Default RTE actions
|
|||
actions: ['bold', 'italic', 'underline', 'strikethrough', 'link'], |
|||
}; |
|||
|
|||
Loading…
Reference in new issue