Share via

How to Edit Source Code in Pages

Anonymous
2017-12-05T19:30:40+00:00

Does anyone know how to edit the source code of an HTML page in SharePoint?  Right now the only options I have are:

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2017-12-07T18:46:08+00:00

    Thanks for the input...I was afraid of that.

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-12-05T23:45:16+00:00

    Hi Pietens,

    According to the screenshot, it is a modern site page. I'd like to explain that Edit HTML source is not supported on modern SharePoint site pages.

    About the customization capability on modern site pages, you can refer to Customizing "modern" site pages.

    Besides, if you'd like to be able to edit html source on modern site page, welcome to post this idea in SharePoint UserVoice to submit this feature request, which is the best way to let related team hear your voice and better our products and services.

    Regards,

    Joanne

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2017-12-06T00:01:21+00:00

    What are you trying to edit? SP is a content management system which only allows you to touch the client side code that interacts with the hidden server code. To do that, you need SP Designer. In your screenshot, you're looking at the predefined components that can be added to the  "modern" page which is in reality an incomplete, beta test so I'd switch back to classic which at least isn't in test mode.

    Was this answer helpful?

    0 comments No comments