+
Article Reply #2
+ ++
diff --git a/app/assets/javascripts/app/controllers/layout_ref.js.coffee b/app/assets/javascripts/app/controllers/layout_ref.js.coffee index 565af9ba4..ae3c276d9 100644 --- a/app/assets/javascripts/app/controllers/layout_ref.js.coffee +++ b/app/assets/javascripts/app/controllers/layout_ref.js.coffee @@ -38,7 +38,7 @@ class Content extends App.ControllerContent @textareaHeight = open: 148 - closed: 38 + closed: 20 @dragEventCounter = 0 @attachments = [] @@ -64,6 +64,12 @@ class Content extends App.ControllerContent render: -> @html App.view('layout_ref/content')() + @$('[contenteditable]').ce({ + mode: 'textonly' + multiline: true + maxlength: 2500 + }) + showOrganisationMembers: (e) => e.stopPropagation() diff --git a/app/assets/javascripts/app/views/layout_ref/content.jst.eco b/app/assets/javascripts/app/views/layout_ref/content.jst.eco index 71f7d8254..73017ceaf 100644 --- a/app/assets/javascripts/app/views/layout_ref/content.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/content.jst.eco @@ -42,7 +42,7 @@