mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-03 12:19:02 +00:00
fix(right-to-left): #828 dir=auto per-element under toggle, not whole block
This commit is contained in:
parent
058f63c8e9
commit
fffc0c16d1
@ -9,9 +9,16 @@ export default async (api) => {
|
||||
const { addMutationListener } = api,
|
||||
pageContentSelector = `
|
||||
: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,
|
||||
.notion-page-content :is(
|
||||
div[data-block-id]:not(.notion-column_list-block,
|
||||
.notion-collection_view_page-block, .notion-header-block,
|
||||
.notion-sub_header-block, .notion-sub_sub_header-block
|
||||
.notion-toggle-block, .notion-table_of_contents-block),
|
||||
.notion-header-block [placeholder="Heading 1"],
|
||||
.notion-sub_header-block [placeholder="Heading 2"],
|
||||
.notion-sub_sub_header-block [placeholder="Heading 3"],
|
||||
.notion-toggle-block [placeholder="Toggle"],
|
||||
.notion-table_of_contents-block a),
|
||||
.notion-page-view-discussion [data-content-editable-leaf],
|
||||
.notion-column-block > div[data-block-id],
|
||||
.notion-collection_view-block,
|
||||
|
Loading…
Reference in New Issue
Block a user