문제

Good Morning;

I am using Sharepoint 2013 OP with SPD2013.

I have made a custom form using SPD2013. I want to hide the "Spell check" icon at the top of the form. How do I do that?

도움이 되었습니까?

해결책

I would guess that you have the problem with the Spelling... link which shows up when you have a text editor on the page. If that's the case, you can remove it by using the following javascript:

var d = document.querySelectorAll(".ms-toolbar");
for(var v in d) if (d[v].style) d[v].style.display = "none";

Please check if there is anything else on the page with the class ms-toolbar and make the appropriate changes to exclude it if there is.

다른 팁

To hide the default Spell check option on SharePoint form, you can use either one of the below solution:

  1. Using Javascript: You can add the Script Editor web part on you form page and use below javascript code:

    <script type="text/javascript"> document.querySelector("li[id='Ribbon.ListForm.Edit.SpellCheck']").style.display = "none"; </script>

  2. Using CSS: You can add the Script Editor web part on you form page and use below CSS code:

    <style type="text/css"> #Ribbon\.ListForm\.Edit\.SpellCheck { display: none !important } </style>

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top