Merge branch 'dev' of https://github.com/Floriansylvain/GohCMS into dev
This commit is contained in:
commit
ea8468aa93
66 files changed
+3
-17
No files matched your search
Vendored
-11
@@ -1,13 +1,2 @@
|
||||
/// <reference types="vite/client" />
|
||||
declare const __APP_ENV__: Record<string, string>
|
||||
declare module '@editorjs/paragraph';
|
||||
declare module '@editorjs/list';
|
||||
declare module '@editorjs/warning';
|
||||
declare module '@editorjs/delimiter';
|
||||
declare module '@editorjs/nested-list';
|
||||
declare module '@editorjs/checklist';
|
||||
declare module '@editorjs/quote';
|
||||
declare module '@editorjs/marker';
|
||||
declare module '@editorjs/code';
|
||||
declare module '@editorjs/table';
|
||||
declare module '@editorjs/underline';
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Vendored
File renamed without changes.
@@ -44,7 +44,7 @@ const router = createRouter({
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/articles/edit/:articleID',
|
||||
path: '/articles/edit/:articleID?',
|
||||
name: 'edition',
|
||||
component: ArticlesEdit,
|
||||
meta: {
|
||||
|
||||
@@ -2,13 +2,10 @@
|
||||
import Editor from '@tinymce/tinymce-vue';
|
||||
import { ref, type Ref } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import tinymceScriptSrc from '@/assets/tinymce/tinymce.min.js?url'
|
||||
|
||||
const articleID = useRoute().params.articleID
|
||||
const editorData: Ref<string> = ref('')
|
||||
|
||||
console.log(articleID)
|
||||
|
||||
function abort() {
|
||||
}
|
||||
|
||||
@@ -20,8 +17,8 @@ function saveContent() {
|
||||
<template>
|
||||
<div class="container">
|
||||
<div id="editor">
|
||||
<Editor :tinymce-script-src="tinymceScriptSrc"
|
||||
:init="{ promotion: false, language: 'fr_FR', resize: false, height: '100%' }"
|
||||
<Editor tinymce-script-src="/tinymce/tinymce.min.js"
|
||||
:init="{ promotion: false, language: 'fr_FR', resize: false, height: '100%', }"
|
||||
:plugins="['link', 'codesample']"
|
||||
toolbar="undo redo | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | outdent indent | codesample link"
|
||||
v-model="editorData">
|
||||
|
||||
Reference in new issue
Block a user