Skip to content

Commit

Permalink
Konnorrogers/add dialog part (#266)
Browse files Browse the repository at this point in the history
* add dialog part in the alt text editor

* add dialog part in the alt text editor
  • Loading branch information
KonnorRogers authored Feb 12, 2025
1 parent d4f8561 commit 9f94bc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-rings-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rhino-editor": patch
---

add dialog part to the dialog in the alt text editor
1 change: 1 addition & 0 deletions src/exports/elements/attachment-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ export class AttachmentEditor extends BaseElement {
renderAltTextDialog() {
return html`
<dialog
part="dialog"
@close=${(e: Event) => {
// in case of bubbling.
if (e.target !== e.currentTarget) {
Expand Down

0 comments on commit 9f94bc1

Please sign in to comment.