From a154716a54c6c572825e3a83b46c38f287f182b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 01:05:24 +0000 Subject: [PATCH 1/2] chore(deps): update dependency prettier to v3.9.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 585197d27b..e93e1d5b87 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dependencies": { "@types/bun": "1.3.14", "@types/node": "24.13.2", - "prettier": "3.8.5", + "prettier": "3.9.1", "prettier-plugin-packagejson": "3.0.2", "prosekit-registry": "0.0.20260601211356" } From c52d4d5a766dcc354ab05c10a89508056dcb9699 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 01:06:21 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- .../src/components/editor/ui/button/button.ts | 50 +- .../image-upload-popover.ts | 98 ++-- .../components/editor/ui/toolbar/toolbar.ts | 483 ++++++++++-------- .../src/components/editor/ui/button/button.ts | 50 +- .../image-upload-popover.ts | 98 ++-- .../editor/ui/image-view/image-view.ts | 70 +-- .../editor/ui/inline-menu/inline-menu.ts | 238 +++++---- .../editor/ui/slash-menu/slash-menu-item.ts | 6 +- .../editor/ui/slash-menu/slash-menu.ts | 3 +- .../editor/ui/table-handle/table-handle.ts | 63 ++- .../components/editor/ui/tag-menu/tag-menu.ts | 26 +- .../components/editor/ui/toolbar/toolbar.ts | 483 ++++++++++-------- .../editor/ui/user-menu/user-menu.ts | 30 +- .../src/components/editor/ui/button/button.ts | 50 +- .../editor/ui/inline-menu/inline-menu.ts | 238 +++++---- .../editor/ui/slash-menu/slash-menu-item.ts | 6 +- .../editor/ui/slash-menu/slash-menu.ts | 3 +- .../editor/ui/table-handle/table-handle.ts | 63 ++- .../src/components/editor/ui/button/button.ts | 50 +- .../image-upload-popover.ts | 98 ++-- .../components/editor/ui/toolbar/toolbar.ts | 483 ++++++++++-------- 21 files changed, 1464 insertions(+), 1225 deletions(-) diff --git a/lit-code-block/src/components/editor/ui/button/button.ts b/lit-code-block/src/components/editor/ui/button/button.ts index aef47e4e1f..e9979fb5c3 100644 --- a/lit-code-block/src/components/editor/ui/button/button.ts +++ b/lit-code-block/src/components/editor/ui/button/button.ts @@ -45,31 +45,37 @@ class LitButton extends LitElement { ?disabled=${this.disabled} @mousedown=${this.handleMouseDown} > - ${this.icon - ? html` -
- ` - : nothing} - ${tooltip - ? html` - ${tooltip} - ` - : nothing} + ${ + this.icon + ? html` + + ` + : nothing + } + ${ + tooltip + ? html` + ${tooltip} + ` + : nothing + } - ${tooltip - ? html` -