SharePoint Online-通信站点 - 脚本编辑器将更改应用于所有页面 [英] SharePoint Online-Communication Site- Script Editor apply changes to all pages

查看:67
本文介绍了SharePoint Online-通信站点 - 脚本编辑器将更改应用于所有页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SPFX脚本编辑器在主页页眉上进行颜色更改。现在,当我访问SharePoint网站中的其他页面时,如网站内容,我看不到应用于标题的更改。

I am using a SPFX Script Editor to make color changes on the Header of the Home Page. Now, when I visit other pages in the SharePoint site like-Site Contents, I don't see the changes applied to the header.

我如何确保更改是否适用于整个网站?是否可以在通讯网站上编辑母版页?

How can I ensure that the changes are applied across the site? Is it possible to edit the master page on the Communication site?

推荐答案

嗨Ricky,

您必须在脚本编辑器Web部件中使用CSS ,此 仅适用于包含此脚本编辑器Web部件的当前页面,并且不会在其子页面上应用
。 

为了实现这一目标,您需要使用 SharePoint框架( cc,js)



请参考以下链接,

https://sharepoint.stackexchange.com/ questions / 226589 / provision-files-css-js-with-sharepoint-framework

  希望这有帮助......

 Hope this helps...

-------------------------------------------- -------------------------------------------------- -----------

请不要忘记"标记回复作为答案 "
如果他们帮助,还设置"喜欢",这对我们来说是一个促进博客$ b的推动力$ b
J

Please don't forget to "mark the replies as answers" if they helped, also set "like" it’s a boost for us to keep blogging J

点击  此处  到
了解详情。访问专用的 社区
论坛
&NBSP;至&的共享下,&的探索&NBSP;和&NBSP; <强烈的>谈话,向有关Microsoft Kaizala的专家发表。

Click here to learn more. Visit the dedicated Community forum to shareexplore and talk to experts about Microsoft Kaizala.





这篇关于SharePoint Online-通信站点 - 脚本编辑器将更改应用于所有页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆