emprolijar barra de herramientas

This commit is contained in:
f 2021-02-19 14:31:38 -03:00
parent 0b86702bdb
commit ab86019286

View file

@ -13,7 +13,7 @@
dir: dir, lang: locale,
**field_options(attribute, metadata), class: 'd-none'
.editor-toolbar
.editor-toolbar{ style: 'z-index: 1' }
.editor-primary-toolbar.scrollbar-black
%button.btn{ type: 'button', data: { editor: { button: 'mark-bold' } } }= t('editor.bold')
%button.btn{ type: 'button', data: { editor: { button: 'mark-italic' } } }= t('editor.italic')
@ -45,15 +45,16 @@
%input.form-control{ type: 'color', name: 'mark-color' }/
%div{ data: { editor: { auxiliary: 'multimedia' } } }
.col-12.col-lg.form-group.d-flex.align-items-end
.form-group
.custom-file
%input.custom-file-input{ type: 'file', name: 'multimedia-file' }/
%label.custom-file-label{ for: 'multimedia-file' }= t('editor.multimedia-select')
%button.btn{ type: 'button', name: 'multimedia-file-upload' }= t('editor.multimedia-upload')
.col-12.col-lg.form-group
.form-group
%label{ for: 'multimedia-alt' }= t('editor.description')
%input.form-control{ type: 'text', name: 'multimedia-alt' }/
%button.btn{ type: 'button', name: 'multimedia-remove' }= t('editor.multimedia-remove')
.form-group
%button.btn{ type: 'button', name: 'multimedia-file-upload' }= t('editor.multimedia-upload')
%button.btn{ type: 'button', name: 'multimedia-remove' }= t('editor.multimedia-remove')
.form-group{ data: { editor: { auxiliary: 'link' } } }
%label{ for: 'link-url' }= t('editor.url')