Why do you not use the out of the box content editor web part? Why the need for a custom web part? And maybe you need to state your question in more than one sentence. As a new user, please take the tour and then learn How to Ask
– teylyn
1 Answers
0
votes
SharePoint Online classic experience provide OOTB Content Editor Web Part, you could directly use it to embed custom CSS/JavaScript code:
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more