From 28e007536a3913307c068973a4102e22eca448f1 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 7 Nov 2022 15:04:30 +0100 Subject: [PATCH 1/2] IMPROVE: Allow upload button on mobile --- .../discourse/components/custom-wizard-composer-editor.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/components/custom-wizard-composer-editor.js.es6 b/assets/javascripts/discourse/components/custom-wizard-composer-editor.js.es6 index 92c56ea1..5e2ef424 100644 --- a/assets/javascripts/discourse/components/custom-wizard-composer-editor.js.es6 +++ b/assets/javascripts/discourse/components/custom-wizard-composer-editor.js.es6 @@ -149,7 +149,7 @@ export default ComposerEditor.extend({ extraButtons(toolbar) { const component = this; - if (this.allowUpload && this.uploadIcon && !this.site.mobileView) { + if (this.allowUpload && this.uploadIcon) { toolbar.addButton({ id: "upload", group: "insertions", From e50ce9e5c0421072adfd14b8820dba091d468446 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 7 Nov 2022 15:05:13 +0100 Subject: [PATCH 2/2] Update plugin.rb --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 8d23068d..d092790f 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. -# version: 2.1.0 +# version: 2.1.1 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever # url: https://github.com/paviliondev/discourse-custom-wizard # contact_emails: development@pavilion.tech