Hi @Iniobong Nkanga ,
You have to build SharePoint Framework extensions instead of JSlink. Within the "modern" UI of SharePoint Server 2019 most of those customizations are no longer available. SharePoint Framework extensions enable you to provide similar functionality in the "modern" UI.
Two web parts that are not available in SharePoint for modern pages are the Script editor web part and the Content editor web part.
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.