From cb26a0bc548bfd02b825169c84e7d9b888fb2cb0 Mon Sep 17 00:00:00 2001 From: goruchan Date: Wed, 24 Apr 2024 21:54:25 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=E3=83=AD=E3=83=BC=E3=82=AB=E3=83=AB?= =?UTF-8?q?=E7=92=B0=E5=A2=83=E3=81=A7=E5=AE=9F=E6=96=BD=E3=82=88=E3=81=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/textarea-initializer.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/textarea-initializer.js b/app/javascript/textarea-initializer.js index d4b3bee02b5..264d177da30 100644 --- a/app/javascript/textarea-initializer.js +++ b/app/javascript/textarea-initializer.js @@ -57,8 +57,8 @@ export default class { responseKey: 'url', csrfToken: CSRF.getToken(), placeholder: '%filenameをアップロード中...', - // uploadImageTag: - // '%filename\n', + uploadImageTag: + '%filename\n', afterPreview: () => { autosize.update(textarea) diff --git a/package.json b/package.json index 58d98da870d..1ae387aa48f 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "sweetalert2": "^11.1.5", "swr": "^1.3.0", "tailwindcss": "^3.1.8", - "textarea-markdown": "^1.5.1", + "textarea-markdown": "/Users/ryo/fjord/npm/textarea-markdown", "tributejs": "^5.1.3", "use-sync-external-store": "^1.2.0", "vue": "^2.6.10", From e1d23f301c14d1f1ab470685577ebb570f37a5ca Mon Sep 17 00:00:00 2001 From: goruchan Date: Wed, 14 Aug 2024 06:41:50 +0900 Subject: [PATCH 2/3] =?UTF-8?q?textarea-markdown=20npm=20=E3=81=AE?= =?UTF-8?q?=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1ae387aa48f..8882a9d40ff 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "sweetalert2": "^11.1.5", "swr": "^1.3.0", "tailwindcss": "^3.1.8", - "textarea-markdown": "/Users/ryo/fjord/npm/textarea-markdown", + "textarea-markdown": "^1.6.0", "tributejs": "^5.1.3", "use-sync-external-store": "^1.2.0", "vue": "^2.6.10", diff --git a/yarn.lock b/yarn.lock index 19d5a35933b..099c37a0f5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8976,10 +8976,10 @@ text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== -textarea-markdown@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/textarea-markdown/-/textarea-markdown-1.5.1.tgz#90530d6292ba17972538ba20139006fbd0ac76fa" - integrity sha512-WAwxa1n7CG0ySfGSVll/G0cIFKP47fqwr64PiDiHhlXTrknOEyTnz+OKR3OWvEi9125SC+QbuZiJ20nE22F7vw== +textarea-markdown@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/textarea-markdown/-/textarea-markdown-1.6.0.tgz#1689a8beaf17b0b11a440dfbebd4649ba3158018" + integrity sha512-cF4Xh54cu30fb+8a/SaN+r2ol0N8O9m5TKkxiGf7Cvv87FT4WfcQLWGanuwhKCdrZFjf7Vgv5X3XwpefVl8/gw== dependencies: file-type "^16.5.4" filesize "^10.0.5" From 144f8a4fa0674b95aad30b72e880ff3676952dc6 Mon Sep 17 00:00:00 2001 From: goruchan Date: Wed, 14 Aug 2024 07:21:09 +0900 Subject: [PATCH 3/3] =?UTF-8?q?prettier=20=E8=AD=A6=E5=91=8A=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/textarea-initializer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/textarea-initializer.js b/app/javascript/textarea-initializer.js index 264d177da30..1b72b076e79 100644 --- a/app/javascript/textarea-initializer.js +++ b/app/javascript/textarea-initializer.js @@ -58,7 +58,7 @@ export default class { csrfToken: CSRF.getToken(), placeholder: '%filenameをアップロード中...', uploadImageTag: - '%filename\n', + '%filename\n', afterPreview: () => { autosize.update(textarea)