tiny-vue/examples/sites/demos/mobile-first/app/fluent-editor/disabled.vue

23 lines
441 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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