Add margin after bullet points
This commit is contained in:
parent
b5df58fcec
commit
54bf62a53d
1 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ object ElementRichTextEditorStyle {
|
||||||
val codeCornerRadius = 4.dp
|
val codeCornerRadius = 4.dp
|
||||||
val codeBorderWidth = 1.dp
|
val codeBorderWidth = 1.dp
|
||||||
return RichTextEditorDefaults.style(
|
return RichTextEditorDefaults.style(
|
||||||
|
bulletList = RichTextEditorDefaults.bulletListStyle(
|
||||||
|
bulletGapWidth = 8.dp,
|
||||||
|
),
|
||||||
text = RichTextEditorDefaults.textStyle(
|
text = RichTextEditorDefaults.textStyle(
|
||||||
color = LocalTextStyle.current.color.takeIf { it.isSpecified } ?: LocalContentColor.current,
|
color = LocalTextStyle.current.color.takeIf { it.isSpecified } ?: LocalContentColor.current,
|
||||||
fontStyle = LocalTextStyle.current.fontStyle,
|
fontStyle = LocalTextStyle.current.fontStyle,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue