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

24 lines
649 B

<template>
<div>
<h1>Editor Demo</h1>
<BaseTinyEditor
editor-id="demoEditor"
v-model="editorContent"
:mode="editorMode"
: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'
const editorMode = ref('personal_files')
// Decide if you want to use the file manager or not
const useFileManager = ref(true)
</script>