From 058f63c8e92449080b7c3535b18bc0ef8ffefd22 Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Tue, 28 May 2024 21:39:30 +1000 Subject: [PATCH] fix(right-to-left): #905 enable rtl in comments section --- src/extensions/right-to-left/client.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/extensions/right-to-left/client.mjs b/src/extensions/right-to-left/client.mjs index dbc7c4f..260d75d 100644 --- a/src/extensions/right-to-left/client.mjs +++ b/src/extensions/right-to-left/client.mjs @@ -8,10 +8,11 @@ export default async (api) => { const { addMutationListener } = api, pageContentSelector = ` - :is(.notion-page-content > + :is([placeholder="Untitled"], + .notion-page-content > div[data-block-id]:not(.notion-column_list-block):not(.notion-collection_view_page-block), .notion-page-content .notion-table_of_contents-block a, - [placeholder="Untitled"], + .notion-page-view-discussion [data-content-editable-leaf], .notion-column-block > div[data-block-id], .notion-collection_view-block, .notion-table-view,