Use this to allow editing of HTML files in SharePoint libraires
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
config
sppkg
src/extensions/htMlPageEditor
.editorconfig
.gitignore
.yo-rc.json
Library.png
README.md
TestFile.png
gulpfile.js
package-lock.json
package.json
tsconfig.json

README.md

html-editor

Upload the .sppkg file to your tenant and deploy the command set to your list. It will auto append &p=5 to the urls for editing html files.

CommandSet Recently Microsoft has removed the ability to edit HTML files in SharePoint libraries. So I have created this extension. When you select a HTML file in your library, this commandbar item will show up, allowing you to click "Edit HTML". This will load the modern AllItems.aspx display view, but append &p=5, which loads the editor for the file.

EditPage When clicking "Edit HTML", the modern view will load and append &p=5. Which forces SharePoint to load the edit functionality of the file.

Building the code

Just deploy the .sppkg file from the sppkg folder to your appcatalog. Then deploy the commandset into your library.