From a321e2546123e73b2500a62afc4c49bded6a1c53 Mon Sep 17 00:00:00 2001 From: Shrey Gupta Date: Tue, 5 Mar 2024 09:59:22 +0530 Subject: [PATCH] fix(notion-calendar): Get description for non editable description as well --- src/content/notion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/notion.js b/src/content/notion.js index e94244cb7..36688d13a 100644 --- a/src/content/notion.js +++ b/src/content/notion.js @@ -94,7 +94,7 @@ togglbutton.render( { observe: true }, function (elem) { function getDescription () { - const descriptionElem = elem.querySelector('div[contenteditable="true"]'); + const descriptionElem = elem.querySelector('div[contenteditable]'); return descriptionElem ? descriptionElem.textContent.trim() : ''; } if(!window.location.hostname.includes('calendar.notion.so')) return;