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
1 answer
53 views

Web Part iframe HTML5 animation does not play

I'm starting to play with Google Web Designer to create animations of industrial machine sequences. They work fine when the resultant HTML file is opened directly in the browser. I'm now testing my ...
0 votes
1 answer
32 views

Custom banner overlapping the page

I am trying to add a custom banner to the SharePoint Online Page (Classic experience). Unfortunately, the banner is overlapping other elements of the page. This is what I am doing: Created the code ...
  • 33
0 votes
1 answer
12 views

Saving/Updating a Wikifield column for Wiki Library using JSOM

I've written some code in an attempt to keep a Content Editor Web Part in sync with a Wiki Pages Library. This code executes and states that it's completed successfully without error. Checking the ...
0 votes
0 answers
10 views

How to make a sharepoint website responsive? [duplicate]

I'm inserting some html, css and js as a web part in the custom editor, so I can create some pages in my SharePoint website. But I'm facing issues with responsiveness, because even my code working ...
0 votes
0 answers
3 views

Retrospectively adding fields to Pages from Templates

I've been asked to create a page template in SharePoint 365 with various fields/web-parts to be populated in the page as a wiki - that's fine, I can create a template etc - it's the final request is ...
0 votes
0 answers
227 views

How to fix blank white page issue when opening or editing Sharepoint online list item?

So I'm working on a huge Sharepoint online (Office 365) list that has a lot of columns of different types and one of them is a comments/notes column that is Multi-Line and has Enhanced rich text ...
0 votes
0 answers
35 views

Is there a Snippet code to force PPSX file to open in show mode and NOT edit mode?

I have embedded a PowerPoint file (saved as a ppsx) into a SharePoint web part page. unfortunately it only defaults to edit mode. Obviously because I saved it as a PowerPoint Show file I would like it ...
0 votes
1 answer
476 views

Check if content editor or script editor web part is present in the list forms (New/Display/Edit form) using PowerShell (CSOM/PnP)

I am trying to check if the content editor or script editor web part is present on the list forms (NewForm, EditForm, DisplayForm) in SharePoint 2013. I can get the web part type from web part page ...
1 vote
1 answer
27 views

Running an application setup script using content editor

Preface, I have absolutely no experience with SharePoint (we use 2016) and I've received tasking that requires me to set some things up. Basically, my org wants to set up a stress test application on ...
  • 11
0 votes
1 answer
383 views

Hiding fields in SharePoint Online list

I have a SharePoint Online list, I want to be able to go to create a new item and hide certain fields from users. How do I hide the GeoLocationField in the form only? I was able to hide other fields ...
0 votes
1 answer
46 views

Copy Input Box to SharePoint input

Is it possible to get the value in the textbox value I created in Script Editor to copy over to Title? I would like for the text I type to automatically copy over to the Title box that is part of the ...
0 votes
1 answer
13 views

Block users from seeing a List Form?

I have a list, and have created multiple edit forms. Is there a way that I can create a page view that is limited to only certain users, and when they click edit, only their version of the form ...
0 votes
0 answers
52 views

Can you add a button or link to a Custom action to a display form page using script Editor

I would like to trigger a custom action via a link or button on the form page. Yes, I have already created a button/icon in the ribbon. But what I want to do is create a button on the page front and ...
0 votes
1 answer
609 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, ...
  • 3
0 votes
1 answer
85 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
1 answer
662 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
1 answer
368 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 ...
  • 45
0 votes
2 answers
35 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
2 answers
60 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 ...
1 vote
2 answers
3k 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 ...
1 vote
1 answer
490 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
0 answers
2k 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 ...
  • 23
0 votes
2 answers
183 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/...
  • 13
1 vote
2 answers
2k 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
1 answer
127 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 ...
  • 23
3 votes
3 answers
2k 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=...
  • 71
0 votes
2 answers
868 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 ...
  • 2,879
2 votes
1 answer
176 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-...
  • 21
0 votes
0 answers
156 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
1 answer
77 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 ...
1 vote
2 answers
914 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 ...
  • 1,225
0 votes
1 answer
41 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
3 answers
1k 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 ...
2 votes
1 answer
55 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 ...
  • 31
0 votes
1 answer
230 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
2 answers
870 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="...
  • 1,787
0 votes
1 answer
105 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
1 answer
37 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="...
  • 154
0 votes
1 answer
468 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,057
1 vote
0 answers
20 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. ? ...
2 votes
2 answers
4k 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 ...
0 votes
1 answer
202 views

Displaying List Item in CEWP on another Page

I have a SharePoint with several calendars named for their store number, I also have a list named Store Addresses which has the store numbers and their addresses. I am trying to display the address ...
  • 11
0 votes
2 answers
1k 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 ...
  • 131
1 vote
1 answer
453 views

Scripts Not Working in Content Editor

I have a generic out of box web part page. I have added a content editor web part on that page that links to a HTML file because I want to build my own custom form via HTML. Here is the HTML file. &...
  • 125
2 votes
2 answers
714 views

Single Page application without Content Editor Web Part [closed]

Right now my sharepoint site consists of one page, which has only a web part placeholder containing a content editor web part that links to my Vue.JS app. So basically I've created some sort of SPA in ...
  • 131
3 votes
1 answer
59 views

How to persist data that is entered into a Content Editor Web Part

I've created a table where users can add/remove rows containing past employment history Code here I'm using a Content Editor Webpart which points to an html file that contains both the code and html. ...
4 votes
1 answer
905 views

Content editor web part issue not rendering HTML

I'm having an issue w/ a Content Editor Web Part. I would like to add an HTML table that gives users the ability to add and remove rows from a table. How should I add the following code to the CEW? ...
1 vote
1 answer
127 views

Does one script override another script in sharepoint 2013?

I have two jquery script. when one script works, the other one does not function and vice versa. Intially, I thought it is because both scripts had same function name etc. I changed the variable name ...
  • 61
0 votes
1 answer
336 views

How to remove close button, created by and last modified by from display form of list?

Using script editor/content editor web-part on the display form of list, I am able to get the list item to print. However it also prints close button, created by and last modified by from the display ...
0 votes
1 answer
10 views

How do I access a specific category of documents across libraries by clicking a web part tile?

Wondering if there's a way to accomplish this task: I've created separate categorized SharePoint libraries (i.e., Legal, HR, Business, etc.) which contain documents with a column-view based on ...

1
2 3 4 5
8