max-length + options for RTE
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ui-rte :value="value" @input="$emit('input', $event)" :disabled="disabled" />
|
||||
<ui-rte :value="value" @input="$emit('input', $event)" :disabled="disabled" v-bind="{ maxLength, placeholder, setup }" />
|
||||
</template>
|
||||
|
||||
|
||||
@@ -14,6 +14,18 @@
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
maxLength: {
|
||||
type: Number,
|
||||
default: null
|
||||
},
|
||||
placeholder: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
setup: {
|
||||
type: Function,
|
||||
default: () => { }
|
||||
},
|
||||
config: Object
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user