Angular: <ol> added by document.execCommand sees only css rules in styles.css but not in the component’s css

  angular, css, execcommand, html, html-lists

I am creating rich text editor in angular and when I execute document.execCommand('insertOrderedList') I get <ol> item which is unaffected by my component’s css, only css in styles.css (main css file in the root of the project) affects items I am adding with document.execCommand.
Is it possible to change this behavior?

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.