5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 10:56:24 +00:00
panel/app/views/application/_editor.haml

18 lines
680 B
Text
Raw Permalink Normal View History

2019-11-20 03:35:58 +00:00
.sutty-editor-full
.sutty-editor-toolbar{ 'data-sutty-identifier': identifier }
%button.bold-btn= "bold"
%button.italic-btn= "italic"
%button.highlight-btn= "highlight"
2020-03-21 15:46:48 +00:00
%button.strikethrough-btn= "strikethrough"
2019-11-20 03:35:58 +00:00
%button.quote-btn= "quote"
%button.ul-btn= "ul"
%button.ol-btn= "ol"
%button.link-btn= "link"
2019-11-20 15:01:09 +00:00
%input.img-input{ type: 'file', accept: 'image/png, image/jpeg' }
2019-11-20 03:35:58 +00:00
%button.h1-btn= "h1"
%button.h2-btn= "h2"
.sutty-editor.sutty-editor-prosemirror.content{ 'data-sutty-identifier': identifier }
%textarea.form-control.sutty-editor.sutty-editor-content{ rows: 8,
'data-sutty-identifier': identifier, name: name }
= markdown