Hi @Tamer [FH]
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. 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). You may even find web part solutions that exists in PNP samples or community created solutions.
Currently there is no Content editor web part in spfx, I will recommend you to try to use a Script editor. Here is the sample for Script editor web part for modern pages built in React
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.