Open robyhuzwandar opened 1 year ago
Having the same bug.
I was facing the same issue. I used custom renderers to solve it.
renderers={{
li: ({ element, style, children }) => {
const list = element.closest('ol, ul') as HtmlElement;
const isOrderedList = list?.tag === 'ol' || element.parentNode.tag === 'ol';
return (
<View wrap={false} style={{ display: 'flex', flexDirection: 'row' }}>
<View>
<Text>{isOrderedList ? `${element.indexOfType + 1}.` : '•'}</Text>
</View>
<View>
<Text>{children}</Text>
</View>
</View>
);
},
}}
I want to remove tab space in the order list: this is my expectation:
so I tried to custom the stylesheet:
but show this
-
character :how to achive my goal ?