Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skaduhs5232 committed Jun 10, 2024
1 parent d966f5c commit 322b573
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/assets/icons/Editor/select-all.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/extensions/listitem/listItem.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button, DropDownEventProps, Dropdown } from '@editor/ui'
import { Button, Dropdown, type DropDownEventProps } from '@editor/ui'
import arrowDropDown from '@icons/arrow-drop-down-line.svg'
import listFullIcon from '@icons/list-check.svg'
import listOrederedIcon from '@icons/list-ordered-2.svg'
Expand Down
6 changes: 6 additions & 0 deletions src/extensions/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ function tableDropDown({ editor }: ButtonEventProps) {

dropdown.setDropDownContent(createDropDownContent(editor))

window.addEventListener('click', function (event: Event) {
event.stopPropagation()
if (dropdown.isOpen) {
dropdown.off()
}
})
return dropdown
}

Expand Down
4 changes: 3 additions & 1 deletion src/public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@
width: 21px;
height: 24px;
color: #fff;
margin: -4px -3px
margin: -7px -2px;
padding-right: 1px;

}

.resize-cursor {
Expand Down

0 comments on commit 322b573

Please sign in to comment.