Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/assets/vue/views/page/EditorDemo.vue

22 lines
583 B

<template>
<div>
<h1>Editor Demo</h1>
<BaseTinyEditor
v-model="editorContent"
editor-id="demoEditor"
:use-file-manager="useFileManager"
title="Demo Editor"
help-text="Edit your content here in demo mode."
/>
</div>
</template>
<script setup>
import { ref } from "vue"
import BaseTinyEditor from "../../components/basecomponents/BaseTinyEditor.vue"
const editorContent = ref("")
// Here you decide the mode, 'personal_files' or 'documents'
// Decide if you want to use the file manager or not
const useFileManager = ref(true)
</script>