Questions tagged [content-editor-web-part]

You can use the Content Editor Web Part to add formatted text, tables, hyperlinks, and images to a Web Part Page.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

SharePoint capabilities in Office 365 GCC High

My company recently migrated from MS Office 365 Commercial tenant to their Government Community Cloud (GCC) High tenant to comply with Dept of Defense CMMC requirements. Post migration of our SP hub, ...
0
votes
2answers
769 views

Get current user name into the single line of text field for newform.aspx using Javascript in New Item form

newitem.aspx opening into the popup, so where do I need to add Content editor webpart. While opening newitem form, I need to autopopulate current user Name into sigle line text field?
3
votes
1answer
1k views

Content Editor Web part missing office 365 - enabled Custom script

I have enabled the custom script in office 365, but still i cannot view the content editor part in my site collection (Publishing). However after enabling the custom script, the newly created site ...
0
votes
1answer
870 views

Repeating section in SharePoint 2013

Just wondering has anyone ever found a solution for creating a repeating section on a SharePoint 2013 built in SharePoint designer and NOT Infopath. All resources online point to using the repeating ...
2
votes
1answer
2k views

Line spacing on wrapped text

I am currently building content in share point, media & Content webpart, using Calibri, font size 12pt. I notice that when text wraps it creates a spacing. I would like to have 0pt spacing between ...
0
votes
1answer
27 views

Sharepoint converts certain keyboard characters like “<” , “>” , " to the escape character

Hi I am using SharePoint Server 2013 On Premise. The issue is that when I edit the page and try to edit content editor using Edit source,then certain characters undergo transformation and are ...
0
votes
1answer
29 views

Getting all Content Editor web part details who are using Custom Script using Powershell in SharePoint 2013

I want to find out all the Content editor web part details who are using Custom Script, JSlink using SharePoint Power Shell. Please help me on this Thanks
1
vote
1answer
32 views

How to edit color of button

I have a edit form of a task list, i am using the content type "Workflow Task (Sharepoint 2013)", it has 2 buttons, one for Approve and other for Deny. I need to change the color of the ...
0
votes
0answers
6 views

Modern ui: custom script/css disabled in upload.aspx

I'm using a picture library to replace the classic functionality that allowed users to upload an image to a list via a publishing image column. The upload.aspx page appears in classic format but ...
0
votes
1answer
1k views

sp.ui.rte.js is not working in Internet Explorer 11 Version

We implemented custom Content Editor Web Part, inside that we are using the sp.ui.rte.js file. It is working fine up to IE10. Our project users upgraded from IE10 to IE11. When we edit the content ...
0
votes
1answer
1k views

Add a “add Link” to a Content Editor Web part

I have used a Content Editor web part to display a scroll-down list of links. The code I use is similar to this: <select id="mySelect" jquery110205452414735412181="1" ...
0
votes
1answer
744 views

Sharepoint Online: Set Content Editor Web Part Content with Powershell

I want to update the content shown by the CEWP using Powershell. I've been using PnP-Powershell but can't find a way to update the content/xml.
5
votes
3answers
2k views

Remember filter value using jquery and cookies

I am looking for a solution for the following problem: I have a large list that is related to a second list. The two list web parts are on one page, when you select an item in the first list, the ...
1
vote
1answer
1k views

Set Style for Content Editor Web Part in Sharepoint Designer 2010

I have created a new page layout and added a web part zone. In this web part zone I have also added a content editor web part. When users go into edit mode on the page and add content to the CEWP, i ...
0
votes
2answers
22 views

SharePoint online list to raise a ticket

I'm trying to create a list to raise a ticket, it contains multiple drop down list. As for SharePoint online I'm unable to use form web parts, in order to use content editor or script editor for ...
0
votes
2answers
37 views

content editor on share point online site

my company disabled the costume script from the admin tenant, and I cannot find the content editor on my (team template ) share point online site, So My question is: Is there any workaround solution ...
0
votes
2answers
272 views

Content editor messes up my content

I'm using a content editor webpart on a page. When we edit our content SharePoint adds extra <br>, #160; (non-breaking spaces), and #8203 (zero-width spaces) all over the page. This generally ...
1
vote
1answer
134 views

jQuery working in IE, but not in Chrome/Edge

I've been trying to fix this bug for more than 10 hours, but I just can't figure out how to fix it. When using Internet Explorer 11, I don't get this bug, when using Edge or Chrome I get it. If I ...
0
votes
1answer
701 views

Site Assets Javascript file will not update

So I have the weirdest problem I have seen in SharePoint yet. So I am trying to practice using javascript and I can't figure out what is wrong with my methodology. For a background, I am trying to ...
0
votes
1answer
759 views

How to display 'last modified' date on publishing page using content editor web part?

For a number of pages within my site, I need to display the date that the page was last modified. I know this is possible using a custom view for the page library, but for my purposes, that is not an ...
1
vote
1answer
55 views

Text webpart - edit hyperlink on SharePoint Online

When I select the text that has the hyperlink, then click edit and the box with the link is empty ("https: //") even though the link is clickable and takes you to the correct page. In addition, when ...
0
votes
1answer
673 views
0
votes
0answers
281 views

iframe code working in all browsers but IE 11

I have a piece of code for an iframe that stopped working in IE 11 (doesn't work in a CEWP and Script Editor). It will display as expected in Chrome, Edge, and FireFox but will not in IE 11. I have ...
7
votes
2answers
16k views

How to use html code in modern UI

This may be a rookie question but I just entered the world of SharePoint after a long time. I used to use the content editor web part to include custom html into my SharePoint pages, but now on the ...
0
votes
2answers
62 views

Why does my Content Editor WebPart (CEWP) work in a page in Edit mode, but not in published mode? [duplicate]

I recently added a Content Editor Webpart with code for an accordion. When I'm using it in on the page in edit mode, there are no issues. For reference, the end of the URL looks like this: /sites/JI/...
1
vote
2answers
295 views

Unable to remove left navigation from a SharePoint Page. (Do not want to remove it from the site.)

I have a SharePoint Online page created with a template, which I cannot remove the left navigation pane from. (I can edit the list of links, but I want to remove the whole pane completely.) I've ...
0
votes
1answer
61 views

Custom Application or Web Parts? No idea how to do either

In my team, I've been tasked into automating some of the things we do. I have been playing around with SharePoint (I don't have full overall SharePoint admin privileges though, although I do own the ...
0
votes
1answer
2k views

Unable to edit content editor web part even with full control

In SharePoint 2010. Two users are having the same permission (full control) and one of them is able to edit the CEWP without any issues. However, the other user is unable to edit the CEWP and doesn'...
2
votes
2answers
581 views

Add Content Editor webpart in masterpage with Target audience

I have my custom master page developed in SharePoint 2013, Now I have a requirement to have some links to be visible for only particular user/group (not on permission so SecurityTrimmedControl will ...
2
votes
1answer
1k views

Add a separator between certain columns on New/Edit Form on SharePoint 2013 OOTB

I have the following modified version of Curtis Weir's field hiding script from dmcinfo.com which I want to run using the SharePoint OOTB Script Editor: <script src="//code.jquery.com/jquery-...
0
votes
1answer
40 views

Limit Width of Just One Sharepoint 2013 Wikipage

I don't have access to my master pages but I've used the Content Editor web part to hide the sidebar on one page and I'd like to limit the page width. Is there a code I can use in a Content Editor ...
10
votes
3answers
454 views

webpart hidden when in webpart zone

So I have a webpart that I have put into a webpart zone, when it is in the webpart zone it does not show but when I put it outside the zone it appears, what am I doing wrong? Code below: <...
2
votes
2answers
987 views

Css files not loading properly in sharepoint server 2019, only in sharepoint online

I have some custom html e js files that i am using in PDPs, (pages) of sharepoint, but the css its not being loaded. I importing the files like this: <link rel="stylesheet" type="text/css" href=...
2
votes
1answer
61 views

Hide quick launch sections on a specifc page using content editor

I have a SharePoint (2010) list page. I have already found a useful piece of code that works in content editor to hide the quick launch bar: <style type="text/css"> body #s4-...
1
vote
1answer
42 views

Content Editor in Document Set

I have a content type based on document set type, and inside the welcome page I added a content editor webpart, however, I do not want the content of the content editor to appear in all items based on ...
0
votes
0answers
68 views

Hide Recurrence in Edit Mode of SharePoint Calencar

I'm using the following code to hide the recurrence and all day event fields in a SharePoint Event Calendar. It works for the initial event. But if a user goes in to edit the event, the recurring ...
1
vote
2answers
244 views

Script and Content editor web parts missing from SharePoint 2019

I am working with SP 2019 on prem. Noticing one of the most weird issues. I have SharePoint server publishing and SharePoint Server publishing infrastructure enabled. Seeing below when editing a ...
0
votes
1answer
17 views

After migration from 2010, sites are broken (icons, pictures, content editors)

I remember being able to fix this through SharePoint Designer. I removed one chunk of codes and everything went back to normal, which I cannot recall how to do it at this moment. I will provide the ...
2
votes
3answers
768 views

Content Editor Web Part - SharePoint Online?

I hope this is not an "easy" / "Duh!" kind of answer, because I am driving myself mildly crazy searching for a Content Editor Web Part in SharePoint Online. This is my first position working with ...
0
votes
3answers
4k views

JavaScript window.location doesn't work in content editor webpart

my issue is, that the following script with its window.location function doesn't work in a sharepoint content editor webpart. I've tested it as a standalone and it worked fine, but as soon I inserted ...
2
votes
1answer
48 views

SharePoint online TextEditor Option for Javascript and other code no longer available

I have noticed a recent dramatic change in SharePoint online. I have multiple java script and html scripts that control content editor webparts on my SharePoint site. Previously I could view and ...
0
votes
1answer
72 views

How to add a content link to a modern SharePoint site

In the classic site one could link a html file via the content link on the content editor webpart, as seen in the screenshot below- How can one do the same on a modern site? I tried adding the Modern ...
4
votes
2answers
486 views

Referencing javascript library in content editor webpart

So i have added content editor webpart in NewForm.aspx and reading the code to javascript file called HideFields.ps1. SO the script as below: HideFields.ps1 <script type="text/javascript" src="...
0
votes
1answer
70 views

CSS list-style-image in Content Editor?

Anybody ever successfully used list-style-image css property in a ul list embedded in a SharePoint Content Editor web part? list-style-type works, but whenever I try to get an image instead of the ...
0
votes
1answer
20 views

List Column Width won't change

Here's what I'm trying to do: I have a list where I'm trying to enlarge the width of two particular columns. Here's the JS that I'm attempting to put into use: <script type="text/javascript" src="...
8
votes
4answers
4k views

Get selected items from JavaScript in the document library view

I have a page in which I have placed XsltListView web part to show the view of the picture library. Above that view I have placed a link using Content Editor Web Part which redirects to other web ...
0
votes
1answer
290 views

How Add Tab ability to Content Editor Web Part?

Hope you're well; I would like to know how I can add tabs in Content Editor web part in SharePoint Online. What is best solution to this. kind regards, Anees
1
vote
2answers
3k views

Content editor webpart not available in newly created Team sites in Office 365

Content editor is not becoming available in newly created Team sites in office 365. I enabled SharePoint Server Publishing Infrastructure in site collection features and SharePoint Server Publishing ...
1
vote
0answers
12 views

Using ClientContext can we change the url of text file linked to content editor webpart?

Is there any way to change the url property of content editor webpart using Javascript function ? I found solution to change the title of the webpart not the url properties of the web part. ? ...
0
votes
2answers
727 views

JS script only throws error when used in SharePoint in Internet Explorer 11

I'm experiencing this strange issue. I have a basic valid javascript app (Vue.js + Vuetify framework) which works fine in any browser (without SharePoint, so run from any hosted environment). Next I ...

1
2 3 4 5
8