facebook / facebook/lexical

Bug: list-style-type: none; not supported in Microsoft Outlook on Windows

Open
#3,255 2 comments 1 reaction 1 assignee Claimed by @acywatson View on GitHub
all-platforms-bug lists
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
55

Description

Microsoft Outlook on Windows does not support `list-style-type: none;` which is used for nested list items in lexical so lexical shows all the nested bullets instead of just one.

Lexical version: 0.3.5

## Steps To Reproduce

1. Go to lexical.dev playground
2. Make a nested bulleted list and inspect the dom. You can see the structure below.
3. Now indent the nested bulleted list and you can see lexical wraps it inside another list instead of changing the indentLevel

## The current behavior
```


  • bullet 1







```

## The expected behavior
```



  • bullet 1





```
Right now I override the generateHtmlFromNodes to transform it to the expected behavior, but the below case breaks:

## The current behavior
This also becomes an issue if you have an indented list. Lexical wraps an indented list in another list instead of adding an indentLevel like it does when you indent paragraphs in lexical:
```












```

## The expected behavior
Instead of changing the indent level:
```









```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.