Skip to content

Commit

Permalink
inline to classic editor
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamVaidya committed Apr 12, 2024
1 parent dfe6c21 commit 6b3b349
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions app/assets/javascripts/components/common/text_area_input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,14 @@ const TextAreaInput = createReactClass({
onSubmit={this.handleSubmit}
className={inputClass}
init={{
inline: true,
menubar: false,
statusbar: false,
promotion: false,
convert_urls: false,
plugins: 'lists link code',
toolbar: [
'undo redo | styleselect | bold italic',
'alignleft alignright',
'bullist numlist outdent indent',
'link'
],
toolbar: 'undo redo | blocks | '
+ 'bold italic link | alignleft aligncenter '
+ 'alignright alignjustify | code | bullist numlist outdent indent'
}}
/>
);
Expand Down

0 comments on commit 6b3b349

Please sign in to comment.