diff --git a/package-lock.json b/package-lock.json index eb8e5e4..98e04f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "workbench", - "version": "1.8.1", + "version": "1.8.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "workbench", - "version": "1.8.1", + "version": "1.8.2", "dependencies": { "@mozilla/readability": "^0.3.0", "buffer": "^6.0.3", diff --git a/package.json b/package.json index 407b52d..4038d03 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@types/mozilla-readability": "^0.2.0", "@types/turndown": "^5.0.1" }, - "version": "1.8.1", + "version": "1.8.2", "samepage": { "extends": "node_modules/roamjs-components/package.json" } diff --git a/src/features/attributeSelect.tsx b/src/features/attributeSelect.tsx index 9c95110..1bb5702 100644 --- a/src/features/attributeSelect.tsx +++ b/src/features/attributeSelect.tsx @@ -110,7 +110,7 @@ const getTableCellBlockUidFromTarget = ( target: HTMLElement, ): string | undefined => { const cell = target.closest( - "td[data-row][data-col]", + "td[data-row][data-col], th[data-row][data-col]", ) as HTMLTableCellElement | null; const table = cell?.closest(".rm-table") as HTMLElement | null; if (!cell || !table) return undefined;