forked from opentiny/tiny-vue
21 lines
393 B
Vue
21 lines
393 B
Vue
<template>
|
|
<div>
|
|
<tiny-fluent-editor v-model="content" disabled></tiny-fluent-editor>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { TinyFluentEditor } from '@opentiny/vue'
|
|
|
|
export default {
|
|
components: {
|
|
TinyFluentEditor
|
|
},
|
|
data() {
|
|
return {
|
|
content: '{"ops":[{"insert":"Hello "},{"attributes":{"bold":true},"insert":"FluentEditor"},{"insert":"!"}]}'
|
|
}
|
|
}
|
|
}
|
|
</script>
|