From beb3fe128b64c3f09c47cb1fe2acd7091497307c Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 18 Feb 2018 00:52:52 -0500 Subject: [PATCH] feat: editor-modal-document UI (2) --- client/js/components/editor-code.vue | 2 +- client/js/components/editor-modal-document.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/client/js/components/editor-code.vue b/client/js/components/editor-code.vue index 5d1f0ace..08d0ca0d 100644 --- a/client/js/components/editor-code.vue +++ b/client/js/components/editor-code.vue @@ -111,7 +111,7 @@ export default { }, data() { return { - code: 'const a = 10', + code: '# Header 1\n\nSample **Text**\n\n## Header 2\nSample Text', cmOptions: { tabSize: 2, mode: 'text/markdown', diff --git a/client/js/components/editor-modal-document.vue b/client/js/components/editor-modal-document.vue index 0ac15ec7..5e2a36fe 100644 --- a/client/js/components/editor-modal-document.vue +++ b/client/js/components/editor-modal-document.vue @@ -9,8 +9,10 @@ v-card.pa-3(tile) v-card-text v-form - v-text-field(label='Title', autofocus, loading='primary') - v-text-field(label='Short Description') + v-text-field(label='Title', counter='255') + v-text-field(label='Short Description', counter='255') + v-select(label='Tags', chips, tags, deletable-chips) + v-text-field(label='Path', prefix='/', append-icon='folder') v-card-actions v-btn(color='green', dark) Save v-btn Cancel