From 5a8b3e19c9b5e88261c45ef09c92763ca2dddbd4 Mon Sep 17 00:00:00 2001 From: bleonard252 Date: Fri, 20 Jul 2018 11:30:16 -0400 Subject: [PATCH 1/2] Change language The code and everything appears to be in English, so fixing so that Chrome (and others) won't insist on translating it from English to English. --- resources/views/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index ac56782..4b3ec45 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -1,5 +1,5 @@ - + @@ -26,4 +26,4 @@ @includeIf('partials.github-ribbon') @includeIf('partials.analytics') - \ No newline at end of file + From 28dde47489b787dffd764c03edc69f79ff73eb31 Mon Sep 17 00:00:00 2001 From: bleonard252 Date: Fri, 20 Jul 2018 12:06:39 -0400 Subject: [PATCH 2/2] Add fullscreen, separate editor and toolbar Height change (100vh to 100vh-54px): separates the editor from the toolbar Status bar background-color addition: aesthetic thing for separating the editor and statusbar Fullscr class: applies to the div and allows fullscreen editing Fullwin method: just regular javascript that adds the Fullscr class to the editor column div or removes it --By Blake L --- resources/assets/js/components/Editor.vue | 29 +++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/components/Editor.vue b/resources/assets/js/components/Editor.vue index 39f9936..8698ce9 100644 --- a/resources/assets/js/components/Editor.vue +++ b/resources/assets/js/components/Editor.vue @@ -24,6 +24,14 @@ > + @@ -48,6 +56,15 @@ save() { this.putContents(this.editor.getValue()); }, + fullwin() { + //I only know JavaScript, not this babel stuff, so here goes nothing (B>): + //Reconfigure this into your language + if (querySelector("div.col-editor").className = "fullscr") { + querySelector("div.col-editor").className = "" + } else { + querySelector("div.col-editor").className = "fullscr" + } + }, hide() { this.setEditorVisibility(false); } @@ -90,11 +107,18 @@ \ No newline at end of file +