primevue-mirror/packages/primevue/src/editor/BaseEditor.vue

24 lines
500 B
Vue

<script>
import BaseEditableHolder from '@primevue/core/baseeditableholder';
import EditorStyle from 'primevue/editor/style';
export default {
name: 'BaseEditor',
extends: BaseEditableHolder,
props: {
placeholder: String,
readonly: Boolean,
formats: Array,
editorStyle: null,
modules: null
},
style: EditorStyle,
provide() {
return {
$pcEditor: this,
$parentInstance: this
};
}
};
</script>