Skip to content

Commit

Permalink
Merge pull request #7706 from fjordllc/hotfix/textarea_image
Browse files Browse the repository at this point in the history
画像アップロードの追加機能をコメントアウト
  • Loading branch information
komagata authored Apr 18, 2024
2 parents 7bbbfa2 + eac4040 commit 833aa37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/textarea-initializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export default class {
responseKey: 'url',
csrfToken: CSRF.getToken(),
placeholder: '%filenameをアップロード中...',
uploadImageTag:
'<img src=%url width="100" height="100" loading="lazy" decoding="async" alt="%filename">\n',
//uploadImageTag:
// '<img src=%url width="100" height="100" loading="lazy" decoding="async" alt="%filename">\n',
afterPreview: () => {
autosize.update(textarea)

Expand Down

0 comments on commit 833aa37

Please sign in to comment.