From 4e5c7409086c61a6ee28eefd8a111fd0c95770d7 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 5 Sep 2024 01:37:11 +0200 Subject: [PATCH] [File UI] Added support for custom line positioning in file editor. - Adds the ability to select lines from the editor, which in turn will highlight them. - Adds the ability to load a file and scroll at a specific line if the URL has with the `line` argument. - Adds the ability to maximize the file editor modal. --- .../webapp/src/components/File/Editor.vue | 96 ++++++++++++++++++- .../src/components/File/EditorModal.vue | 90 +++++++++++++---- 2 files changed, 160 insertions(+), 26 deletions(-) diff --git a/platypush/backend/http/webapp/src/components/File/Editor.vue b/platypush/backend/http/webapp/src/components/File/Editor.vue index 8b6e3df88b..143d0fd763 100644 --- a/platypush/backend/http/webapp/src/components/File/Editor.vue +++ b/platypush/backend/http/webapp/src/components/File/Editor.vue @@ -9,10 +9,15 @@
- +
-
+