If you can't find an out-of-box web part that works for the scenario you need, consider migrating your existing Script Editor web parts or creating new custom web parts using the SharePoint Framework (SPFx). Or, you can create custom web parts or migrate your existing script editor web parts to the SharePoint Framework. New web parts are being added all of the time, so check back often for additional web parts. Two web parts that are not available in SharePoint for Microsoft 365 modern pages are the Script editor web part and the Content editor web part.However, there are modern out-of-the-box web parts that can fulfill some of the same purposes. The World clock web part shows the time in different locations around the world. The Weather web part shows the current weather on your page. The Call to Action web part creates a button with a call to action for users. The Button web part easily adds a button to your page with your own label and link. Nested tables are not yet supported. It is not yet possible to add images inline within the Text web part, but you can add images alongside the text web part by using the Image web part. Unlike the content editor web part, though, you cannot edit HTML within the web part.
It has a formatting toolbar where you can format text, change styles, and more. The Text web part allows you to easily add and format text and tables on a page. The Markdown web part allows you to add text to your page and format it using Markdown language.
Depending on the website from which you are embedding, you can either use the site's web address or embed code that the site provides. With the Embed web part, you can display content on your page from sites that allow embedding (like YouTube, for example). Additionally, the new web parts make IT admin governance and control simpler. Out-of-the-box web parts can handle many scenarios that the Script editor and Content editor web parts were used for without the need for code. However, there are modern out-of-the-box web parts that can fulfill some of the same purposes. SharePoint for Microsoft 365 modern pages are the Script editor web part and the Content editor web part.