5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 11:31:41 +00:00

WIP: propiedades

This commit is contained in:
void 2021-02-12 23:04:01 +00:00
parent 0602c6ccb8
commit e60dcf70fe

View file

@ -34,17 +34,17 @@
%button.btn{ data: { editor: { button: 'parentBlock-left' } } }= t('editor.left') %button.btn{ data: { editor: { button: 'parentBlock-left' } } }= t('editor.left')
%button.btn{ data: { editor: { button: 'parentBlock-center' } } }= t('editor.center') %button.btn{ data: { editor: { button: 'parentBlock-center' } } }= t('editor.center')
%button.btn{ data: { editor: { button: 'parentBlock-right' } } }= t('editor.right') %button.btn{ data: { editor: { button: 'parentBlock-right' } } }= t('editor.right')
//%button.btn{ data: { editor: { button: 'multimedia' } } }= t('editor.multimedia') -#%button.btn{ data: { editor: { button: 'multimedia' } } }= t('editor.multimedia')
-# -#
HAML cringe HAML cringe
TODO: generar IDs para labels TODO: generar IDs para labels
.editor-auxiliary-toolbar.mt-1.scrollbar-black{ data: { editor: { auxiliary: { toolbar: '' } } } } .editor-auxiliary-toolbar.mt-1.scrollbar-black{ data: { 'editor_auxiliary_toolbar': '' } }
.form-group{ data: { editor: { auxiliary: 'mark' } } } %form.form-group{ data: { editor: { auxiliary: 'mark' } } }
%label{ for: 'mark-color' }= t('editor.color') %label{ for: 'mark-color' }= t('editor.color')
%input.form-control{ type: 'color', data: { prop: 'mark-color' } }/ %input.form-control{ type: 'color', data: { prop: 'mark-color' } }/
%div{ data: { editor: { auxiliary: 'multimedia' } } } %form{ data: { editor: { auxiliary: 'multimedia' } } }
.row .row
.col-12.col-lg.form-group.d-flex.align-items-end .col-12.col-lg.form-group.d-flex.align-items-end
.custom-file .custom-file
@ -55,7 +55,7 @@
%label{ for: 'multimedia-alt' }= t('editor.description') %label{ for: 'multimedia-alt' }= t('editor.description')
%input.form-control{ type: 'text', data: { prop: 'multimedia-alt' } }/ %input.form-control{ type: 'text', data: { prop: 'multimedia-alt' } }/
.form-group{ data: { editor: { auxiliary: 'a' } } } %form.form-group{ data: { editor: { auxiliary: 'link' } } }
%label{ for: 'a-href' }= t('editor.url') %label{ for: 'a-href' }= t('editor.url')
%input.form-control{ type: 'url', data: { prop: 'a-href' } }/ %input.form-control{ type: 'url', data: { prop: 'a-href' } }/