Skip to content

Commit a321e25

Browse files
committed
fix(notion-calendar): Get description for non editable description as well
1 parent 9f44244 commit a321e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/notion.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ togglbutton.render(
9494
{ observe: true },
9595
function (elem) {
9696
function getDescription () {
97-
const descriptionElem = elem.querySelector('div[contenteditable="true"]');
97+
const descriptionElem = elem.querySelector('div[contenteditable]');
9898
return descriptionElem ? descriptionElem.textContent.trim() : '';
9999
}
100100
if(!window.location.hostname.includes('calendar.notion.so')) return;

0 commit comments

Comments
 (0)