Skip to content

Commit 23eecbb

Browse files
authored
fix: prevent nested bullet list icon rendering as emoji on iOS 18+ (#2394) (#2399)
Add Unicode Variation Selector 15 (U+FE0E) to the Black Small Square character (U+25AA) used for level 3+ nested bullet lists. This forces text presentation instead of emoji presentation on iOS 18+, which otherwise renders it as a large black square emoji.
1 parent 0f2e0c0 commit 23eecbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/editor/Block.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ NESTED BLOCKS
372372
> .bn-block-outer[data-prev-type="bulletListItem"]
373373
> .bn-block
374374
> .bn-block-content::before {
375-
content: "▪";
375+
content: "▪\FE0E";
376376
}
377377

378378
[data-content-type="bulletListItem"]
@@ -390,7 +390,7 @@ NESTED BLOCKS
390390
> .bn-block
391391
> div[data-type="modification"]
392392
> .bn-block-content[data-content-type="bulletListItem"]::before {
393-
content: "▪";
393+
content: "▪\FE0E";
394394
}
395395

396396
/* CODE BLOCKS */

0 commit comments

Comments
 (0)