From c58ca65dc7691f7ebe9761cef85db10cb722821b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sat, 28 Feb 2026 14:18:16 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[approvals]=20=EA=B8=B0=EC=95=88=20?= =?UTF-8?q?=EB=B3=B8=EB=AC=B8=20Quill.js=20=ED=8E=B8=EC=A7=91=EA=B8=B0=20?= =?UTF-8?q?=ED=86=A0=EA=B8=80=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - create/edit: 본문 라벨 옆 편집기 체크박스 + Quill.js v2 WYSIWYG 에디터 - edit: 기존 HTML body 자동 감지 → 편집기 자동 활성화 - show: HTML body 안전 렌더링 (strip_tags), plain text는 기존 방식 유지 - textarea ↔ Quill 토글 시 내용 상호 이관 --- resources/views/approvals/create.blade.php | 77 ++++++++++++++++++- resources/views/approvals/edit.blade.php | 86 +++++++++++++++++++++- resources/views/approvals/show.blade.php | 8 +- 3 files changed, 166 insertions(+), 5 deletions(-) diff --git a/resources/views/approvals/create.blade.php b/resources/views/approvals/create.blade.php index d02be1fc..ca90f0c4 100644 --- a/resources/views/approvals/create.blade.php +++ b/resources/views/approvals/create.blade.php @@ -43,10 +43,18 @@ class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm focus:outline- {{-- 본문 --}}
- + +
@@ -77,8 +85,73 @@ class="w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg tran @endsection +@push('styles') + + +@endpush + @push('scripts') +