I'm working with Lightning Web Components and trying to render a List inside the lightning-formatted-rich-text component. I need this component to be dynamic so calling out "ul" and "li" component isn't going to work.
HTML
<lightning-formatted-rich-text value={message}></lightning-formatted-rich-text>
JS
import BaseChatMessage from 'lightningsnapin/baseChatMessage';
import { track } from 'lwc';
export default class ChatMessageDefaultUI extends BaseChatMessage {
@track message = '<ul><li>hello</li><li>is this working?</li></ul>';
}
I've tried css like below from a different answer and not seeing any difference
ul:not(.browser-default) li {
list-style-type: disc;
}