13 lines
346 B
Vue
13 lines
346 B
Vue
<template>
|
|
<div>
|
|
<tiny-fluent-editor v-model="content" disabled></tiny-fluent-editor>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
import TinyFluentEditor from '@opentiny/vue-fluent-editor'
|
|
|
|
const content = ref('{"ops":[{"insert":"Hello "},{"attributes":{"bold":true},"insert":"FluentEditor"},{"insert":"!"}]}')
|
|
</script>
|