+
+ dragScrollClickFix.onClickCapture(e)"
+ @dblclick="$uiStore.toggleFullscreen()"
+ @dragstart.prevent
+ @dragscrollstart="dragScrollClickFix.onDragScrollStart()"
+ @dragscrollend="dragScrollClickFix.onDragScrollEnd()"
+ >
+
+
+
+
+
+
+
+
diff --git a/viewer/src/components/item_handlers/LdPlainTextViewer.vue b/viewer/src/components/item_handlers/LdPlainTextViewer.vue
index cd26d9d..79465d5 100644
--- a/viewer/src/components/item_handlers/LdPlainTextViewer.vue
+++ b/viewer/src/components/item_handlers/LdPlainTextViewer.vue
@@ -27,11 +27,12 @@
-
-
diff --git a/viewer/src/components/item_handlers/LdPdfViewer.vue b/viewer/src/components/item_handlers/LdPdfViewer.vue
index c6999bf..04cba0c 100644
--- a/viewer/src/components/item_handlers/LdPdfViewer.vue
+++ b/viewer/src/components/item_handlers/LdPdfViewer.vue
@@ -42,5 +42,3 @@ export default class LdPdfViewer extends Vue {
}
}
-
-
diff --git a/viewer/src/components/item_handlers/LdVideoViewer.vue b/viewer/src/components/item_handlers/LdVideoViewer.vue
index be44922..ed95bc2 100644
--- a/viewer/src/components/item_handlers/LdVideoViewer.vue
+++ b/viewer/src/components/item_handlers/LdVideoViewer.vue
@@ -44,5 +44,3 @@ export default class LdVideoViewer extends Vue {
}
}
-
-
--
cgit v1.2.3
From 2f9e51b5cd7dfafadac90ec896edd365da12a1c8 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sat, 3 Jul 2021 23:07:09 +0200
Subject: viewer: add markdown item handler
Extracted from b170f49 (GH PR #304)
---
.../components/item_handlers/LdMarkdownViewer.vue | 82 ++++++++++++++++++++++
1 file changed, 82 insertions(+)
create mode 100644 viewer/src/components/item_handlers/LdMarkdownViewer.vue
(limited to 'viewer/src/components/item_handlers')
diff --git a/viewer/src/components/item_handlers/LdMarkdownViewer.vue b/viewer/src/components/item_handlers/LdMarkdownViewer.vue
new file mode 100644
index 0000000..ecebbcf
--- /dev/null
+++ b/viewer/src/components/item_handlers/LdMarkdownViewer.vue
@@ -0,0 +1,82 @@
+
+
+