forked from opentiny/tiny-vue
13 lines
336 B
Vue
13 lines
336 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'
|
|
|
|
const content = ref('{"ops":[{"insert":"Hello "},{"attributes":{"bold":true},"insert":"FluentEditor"},{"insert":"!"}]}')
|
|
</script>
|