0

We use Office 365 and have a private Sharepoint website setup for our company. I added a Text webpart to one of the pages on the site.

We want to add another links to some of the headers so we can link to them from other pages and have it jump down to those sections.

I'm not seeing an obvious way to add the anchor links. Thanks in advance.

1 Answer 1

1

Can't do with the "modern" Text Web Part as you cannot edit the HTML. You would need to add a NAME or ID attribute to an HTML tag.

A recent discussion as to why here: How to use html code in modern UI

A project to let you add HTML/JavaScript to modern pages (but it's a complex solution): https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor

Or create a custom SPFx WebPart.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.