From 2fd5fccc5bec307b1aa351671ad8b683659a66af Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Thu, 16 May 2019 18:46:02 -0700 Subject: [PATCH] Add button to disable ACE Code Editor (for mobile) --- root/admin/editor.gohtml | 9 +++++++++ root/blog/edit.gohtml | 9 +++++++++ root/js/ace-toggle.js | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 root/js/ace-toggle.js diff --git a/root/admin/editor.gohtml b/root/admin/editor.gohtml index 7ecd39c..495a62e 100644 --- a/root/admin/editor.gohtml +++ b/root/admin/editor.gohtml @@ -69,6 +69,10 @@ name="body" class="form-control" required>{{ .Data.Body }} + +

@@ -77,10 +81,15 @@

+