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

25 lines
513 B
Vue
Raw Normal View History

2023-05-25 14:19:48 +00:00
<script>
2024-06-11 12:21:12 +00:00
import BaseComponent from '@primevue/core/basecomponent';
import EditorStyle from 'primevue/editor/style';
2023-05-25 14:19:48 +00:00
export default {
name: 'BaseEditor',
extends: BaseComponent,
props: {
modelValue: String,
placeholder: String,
readonly: Boolean,
formats: Array,
editorStyle: null,
modules: null
},
style: EditorStyle,
provide() {
return {
$pcEditor: this,
$parentInstance: this
};
2023-05-25 14:19:48 +00:00
}
};
</script>