diff --git a/client/components/editor.vue b/client/components/editor.vue
index 845e3585..0a6c61e3 100644
--- a/client/components/editor.vue
+++ b/client/components/editor.vue
@@ -84,7 +84,8 @@ export default {
editorModalUnsaved: () => import(/* webpackChunkName: "editor", webpackMode: "eager" */ './editor/editor-modal-unsaved.vue'),
editorModalMedia: () => import(/* webpackChunkName: "editor", webpackMode: "eager" */ './editor/editor-modal-media.vue'),
editorModalBlocks: () => import(/* webpackChunkName: "editor", webpackMode: "eager" */ './editor/editor-modal-blocks.vue'),
- editorModalConflict: () => import(/* webpackChunkName: "editor-conflict", webpackMode: "lazy" */ './editor/editor-modal-conflict.vue')
+ editorModalConflict: () => import(/* webpackChunkName: "editor-conflict", webpackMode: "lazy" */ './editor/editor-modal-conflict.vue'),
+ editorModalDrawio: () => import(/* webpackChunkName: "editor", webpackMode: "eager" */ './editor/editor-modal-drawio.vue')
},
props: {
locale: {
diff --git a/client/components/editor/editor-markdown.vue b/client/components/editor/editor-markdown.vue
index bdbdf220..895e0bd8 100644
--- a/client/components/editor/editor-markdown.vue
+++ b/client/components/editor/editor-markdown.vue
@@ -139,7 +139,7 @@
span {{$t('editor:markup.insertVideoAudio')}}
v-tooltip(right, color='teal')
template(v-slot:activator='{ on }')
- v-btn.mt-3.animated.fadeInLeft.wait-p5s(icon, tile, v-on='on', dark, disabled).mx-0
+ v-btn.mt-3.animated.fadeInLeft.wait-p5s(icon, tile, v-on='on', dark, @click='toggleModal(`editorModalDrawio`)').mx-0
v-icon mdi-chart-multiline
span {{$t('editor:markup.insertDiagram')}}
v-tooltip(right, color='teal')
diff --git a/client/components/editor/editor-modal-drawio.vue b/client/components/editor/editor-modal-drawio.vue
new file mode 100644
index 00000000..aafae1cd
--- /dev/null
+++ b/client/components/editor/editor-modal-drawio.vue
@@ -0,0 +1,120 @@
+
+ v-card.editor-modal-drawio.animated.fadeIn(flat, tile)
+ iframe(
+ ref='drawio'
+ src='https://embed.diagrams.net/?embed=1&proto=json&spin=1&saveAndExit=0'
+ frameborder='0'
+ )
+
+
+
+
+