<template>
	<markdown v-model="valueCopy" :ui-buttons="uiButtons" :max-rows="1" class="minimal-markdown-editor"></markdown>
</template>

<script>
import { ValueSyncMixin } from '../value-sync-mixin.js';
import markdown from './markdown.vue';

export default {
	mixins: [ValueSyncMixin],
	props: {
		value: {
			type: String
		}
	},
	data() {
		return {
			uiButtons: ['emphasis']
		}
	},
	components: {
		markdown
	}
};
</script>
