wikijs-fork/views/modals/editor-codeblock.pug

21 lines
585 B
Plaintext
Raw Normal View History

2016-09-11 02:53:21 +00:00
.modallayer#modal-editor-codeblock
.modallayer-content
.columns
.column
h3 Code Block
.column.is-narrow
p.control
span.select
2016-09-11 06:08:22 +00:00
select(style={width: '300px'}, v-model='modeSelected')
option(v-for="mode in modes" v-bind:value='mode.name') {{ mode.caption }}
2016-09-11 02:53:21 +00:00
.column.is-narrow
.control.is-grouped
p.control
a.button.is-warning.is-outlined(v-on:click="cancel") Cancel
p.control
a.button.is-primary.is-outlined(v-on:click="insertCode") Insert Code Block
2016-09-11 02:53:21 +00:00
.ace-container(style={'border-radius':'5px'})
#codeblock-editor