From 86db66d4cba493d45eb4afe86d6ac5d918e4ccad Mon Sep 17 00:00:00 2001 From: Will Gutierrez Date: Sat, 23 Jan 2021 10:17:34 -0800 Subject: [PATCH 1/5] move E.initialize call to higher level views #9004 --- app/views/comments/_form.html.erb | 3 --- app/views/notes/show.html.erb | 3 ++- app/views/questions/show.html.erb | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/comments/_form.html.erb b/app/views/comments/_form.html.erb index 3e949f50a3..de29060868 100644 --- a/app/views/comments/_form.html.erb +++ b/app/views/comments/_form.html.erb @@ -90,9 +90,6 @@ diff --git a/app/views/questions/show.html.erb b/app/views/questions/show.html.erb index fb0c49ef74..66fe31b531 100644 --- a/app/views/questions/show.html.erb +++ b/app/views/questions/show.html.erb @@ -2,6 +2,7 @@ <%= javascript_include_tag('notes') %> <%= javascript_include_tag('textbox_expand') %> <%= javascript_include_tag('question') %> From 30dc90d1f8eb178420a2a2c68986f3dffc1eeb33 Mon Sep 17 00:00:00 2001 From: Will Gutierrez Date: Sat, 23 Jan 2021 10:18:15 -0800 Subject: [PATCH 2/5] change selectors for preview & textarea elements #9004 --- app/views/comments/_edit.html.erb | 141 ++++++++---------------------- 1 file changed, 35 insertions(+), 106 deletions(-) diff --git a/app/views/comments/_edit.html.erb b/app/views/comments/_edit.html.erb index 10e2204b44..6f65d667e5 100644 --- a/app/views/comments/_edit.html.erb +++ b/app/views/comments/_edit.html.erb @@ -12,119 +12,48 @@ <%= render :partial => "editor/toolbar", :locals => { :comment_id => comment.id.to_s, :location => :edit } %> -
- -
- -

- - -

+ +
+ +

+ - - -

+ + +

+
-
- - -