0

When SharePoint's content editor CSS file (HtmlEditorCustomStyles.css) is customized how can I get the updated css file updated on the client browser?

In testing I've found the updated version is ignored in favor of the browser cached version and I've only been able to get the updated version by deleting the CSS file from the browser cache (or just deleting the cache completely).

1 Answer 1

1

If you figure out where the CSS file is being included, you can add a URL parameter to the end of the include. For example if you find the include is:

<link type="text/css" rel="stylesheet" href="[some path]HtmlEditorCustomStyles.css">

You can add:

<link type="text/css" rel="stylesheet" href="[some path]HtmlEditorCustomStyles.css?revision=1">
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.