Skip to content

Commit ae45054

Browse files
committed
feat: add the name property
1 parent d338af4 commit ae45054

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/markdown-editor.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="markdown-editor">
3-
<textarea></textarea>
3+
<textarea :name="name"></textarea>
44
</div>
55
</template>
66

@@ -12,6 +12,7 @@ export default {
1212
name: 'markdown-editor',
1313
props: {
1414
value: String,
15+
name: String,
1516
previewClass: String,
1617
autoinit: {
1718
type: Boolean,

0 commit comments

Comments
 (0)