<script setup>
import Editor from '@tinymce/tinymce-vue';

const model = defineModel()
</script>

<template>
    <Editor
        v-model="model"
        tinymce-script-src="/tinymce/tinymce.min.js"
        license-key="gpl"
        :init="{
            license_key: 'gpl',
            base_url: '/tinymce',
            suffix: '.min',
            menubar: true,
            plugins: 'link code table lists',
            toolbar: 'undo redo | blocks bold italic underline | bullist numlist | link | table',
            language: 'de',
            language_url: '/tinymce/langs/de.js',
            ui_mode: 'split',

        }"
    />
</template>

<style scoped>
.tox .tox-promotion {
    display: none !important;
}
</style>
