From 9323878936f2939347e29cadc2c61a846dd4c73a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 8 Jun 2022 10:20:56 +0100 Subject: [PATCH] Use textarea for image description --- webapp_create_post.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/webapp_create_post.py b/webapp_create_post.py index 31502b17e..e940c8ada 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -236,8 +236,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, if not is_new_reminder: date_and_time_str += \ '\n' + 'class="emojicalendar" src="/icons/calendar.png"/>\n' # select a date and time for this post date_and_time_str += '\n' @@ -253,6 +252,7 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, show_public_on_dropdown = True message_box_height = 400 + image_description_height = 100 # filename of the banner shown at the top banner_file, _ = \ @@ -382,8 +382,10 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {}, new_post_image_section += \ ' accept="' + formats_string + '">\n' new_post_image_section += \ - edit_text_field(translate['Describe your attachment'], - 'imageDescription', '') + ' \n' + new_post_image_section += end_edit_section() new_post_emoji_section = ''