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
10 votes
3 answers
539 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: <...
test's user avatar
  • 123
0 votes
1 answer
71 views

How to remove content editor after first load of any page

Any one knows how to remove content editor after first load. I want to load the page with content editor for the first time but after page refresh the content editor should be removed from the page. ...
Mrunal Shidurkar's user avatar
2 votes
0 answers
389 views

CSS not applying to a Web Part

I have several web parts on a page, 2 of them are CEWPs. 1 links to the CSS and 1 links to a text file. The CSS is applied to all other web parts on the page but it will not apply to the CEWP ...
SimonW's user avatar
  • 65
3 votes
0 answers
840 views

Align web parts vertically in a web part zone

I have a page layout with the web part zone. The webpart zone is supposed to have 2 webparts - CSWP and Content Editor webpart. I need to place the CSWP above the Content Editor. I need to set the ...
Mancy Desaee's user avatar
  • 1,817
1 vote
1 answer
604 views

jQuery script for new list item form only works in edit mode

Newbie question. With Sharepoint Online, on a new List I'm modifying the Default New Form and I've added a Content Editor web part. I've linked the Content Editor to a script file that I've uploaded ...
fortuneRice's user avatar
1 vote
1 answer
314 views

Determine all sites with active script editors

Can somebody help me to determine all the sites which have content editor web parts active on the SharePoint Farm? Both publishing and non publishing sites. Is there a script? I found one at Finding ...
Praveenya Reddy's user avatar
1 vote
1 answer
14k views

Content editor webpart code to add a background image in SharePoint 2013?

I have the following code to add a bg image on my Subsite home page. It does'nt seem to work and I have a solid feeling its the way I'm referring the image (stored under a picture library named 'Image ...
user7400's user avatar
  • 1,256
1 vote
1 answer
2k views

Sharepoint 2010 web part & IE 11 - targets document mode 8... APIs may not be available

I am running some javascript (d3.js, sp.js) in a web part on a sharepoint 2010 site. Everything runs fine when I use chrome or firefox, however when I open the page in IE 11 it does not load correctly ...
As3adTintin's user avatar
3 votes
2 answers
5k views

<FORM> tags are not supported in custom page layout

I am creating a custom page layout (I am also using a custom masterpage). I have created a CEWP and linked it to a notepad file, the file is just HTML and Javascript <table border="0" width="200" ...
Jamie_lee's user avatar
  • 427
2 votes
1 answer
141 views

Make a content editor web part "expire" after a certain date

Is there any chance of setting up an end or expiry date to content editor web part, so that it automatically go off when it passes the set date? I am using SharePoint 2007.
user49598's user avatar
0 votes
0 answers
67 views

Create Template for Page with List and CEWP

In our portal we have a List that acts as a signup sheet, and above it we have inserted a CEWP to provide some directions. Is there a way that I can save the combination as a template of some kind? ...
bgmCoder's user avatar
  • 3,551
3 votes
1 answer
105 views

Adding a Content Editor Content Link causes other Web Parts to have a truncated title

In SharePoint 2013, I added a Content Editor Web Part and then specified a Content Link. After I did that, other Web Part titles were truncated on the left hand side. This side effect even extended ...
Dave Brauer's user avatar
0 votes
1 answer
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 ...
Venkata Polepalli's user avatar
0 votes
1 answer
4k views

Looking for count down clock in CEWP using html/jquery [duplicate]

I am looking to insert a count down clock in content editor web part using html / jQuery. Did any one ever do this? I am unable to figure out how to start as am not a pro in scripting.
SPLearner's user avatar
  • 1,407
0 votes
2 answers
2k views

SharePoint Content Editor HTML textbox Enter key leading to Edit mode of Page

While using HTML Textbox in content editor and from Chrome or Mozilla User presses Enter key leading to edit mode of the page. Issue with SharePoint 2010 and SharePoint 2013
Ankitkumar Malde's user avatar
3 votes
1 answer
919 views

Remove content editor name when page has been published

I have a content editor webpart in Office 365. When I publish the page the content editor name is still there. How can I remove this?
funlovingfunbags's user avatar
1 vote
2 answers
695 views

How to put Script Editor inside Content Editor?

I have a javascript and in order to work, I have to use Script Editor. The reason why I want to put Script Editor inside Content Editor is because Content Editor are filled with tables, and 1 of the ...
Zul Hazmi's user avatar
2 votes
2 answers
4k views

Programmatically create fields in a SPList using Client Side OM

Has anyone tried with creating some 20+ Single line of text SPField using Client Side OM, like within a Content Editor Web Part. Because creating a SPList with these many number of columns using ...
userAZLogicApps's user avatar
0 votes
1 answer
831 views

Jquery UI not loading

I have a standard web part page and am reading items from a list and then displaying then under jquery tabs. I have downloaded the jquery UI (minified) and placed them in the site assets library of ...
Miyagi's user avatar
  • 623
0 votes
1 answer
395 views

SP2010 - CEWP not executing javascript until page refresh

The CEWP is loading a HTML page stored in the Site Assets library. The HTML contains a few inputs and some Javascript. Javascript is: Function myInit(){ console.log("here"); Ctx = new SP....
user13186's user avatar
  • 886
0 votes
2 answers
43 views

Migrated sites don't allow edits

We've migrated all of our sites to SP 2013, but now many of them (still with the 2010 UI) don't allow editing to pages. If you click "Edit this Page" it blinks, but you can't edit the content. Is ...
clevergrant's user avatar
0 votes
2 answers
2k views

Relative Paths in Content Editor Web Part

I have a relatively complex html-structure in a document library, which I want to display in a web part. The web part refers to site.com/library/index.htm, from which other pages are called. Problems ...
wheeler's user avatar
  • 443
0 votes
1 answer
554 views

Tooltips or Popups from List/Reusable Content

A customer would like to insert descriptions on words in his text on a page. Two possibilities to show them: 1. You hover a special word and a tooltip shows up with the description of the word. 2. ...
Florian Leitgeb's user avatar
0 votes
1 answer
2k 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" ...
Julio's user avatar
  • 23
1 vote
1 answer
170 views

Creating a modeless dialog box that appears automatically after 5 mins

I have a sharepoint site. On it I want to apply modeless dialog box , that will appear after 5 mins when user has open the site. Please suggest. I have written javascript code in CEWP that opens a ...
user44135's user avatar
0 votes
2 answers
2k views

Content Editor - ordered list second level

I wanted to create multilevel ordered list in SharePoint 2013 Content Editor, with continuous counting, including numbers from upper levels. 1. Planes 2. Cars 2.1. Ferrari 2.2. BMW 3. Trains ...
Kristaps Vilerts's user avatar
1 vote
0 answers
144 views

Client-Side Save Event in Edit Mode

Is there any client-side event I can listen to when a user saves a page? I know how to detect the edit mode and I could add event listeners to save/check-in buttons, but it would be better to listen ...
Florian Leitgeb's user avatar
3 votes
1 answer
3k views

Get the list of all webparts IDs in a page using REST/CSOM

I have few content editor web parts in my page I need to get the GUID of all the web parts that are there in the page I am able to get the list of all webparts in the page by navigating to http://...
Vignesh Subramanian's user avatar
0 votes
1 answer
643 views

jQuery validation on date field

I have 2 date fields in SharePoint list Deferral Raised Date and Original Dispatch to date. I want to put formula in jQuery such that value of Original Dispatch to date should be less than Deferral ...
ARD's user avatar
  • 776
0 votes
1 answer
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'...
juliana's user avatar
0 votes
2 answers
1k views

Unable to execute javascript user function within Content Editor

Trying to implement some javascript functions within the content editor. I have more advanced code to implement, but am not able to even execute the following code. The user defined function will not ...
user3658710's user avatar
2 votes
3 answers
2k views

javascript- How do I create a global variable among all pages

I implemented a toggle in my home page through javascript in content editor web part, the toggle has state between 1 and 0. Now I need the exact same toggle in all other pages of my site, but I'm not ...
SSilicon's user avatar
  • 155
0 votes
1 answer
615 views

Custom code in webpart HTML editor

I need to implement a simple show/hide div when a user clicks on a specific area of a map in sharepoint. The following code works perfectly in all browsers, but when i paste it exactly as is in the ...
Lucas's user avatar
  • 3
0 votes
1 answer
431 views

Audience Targeting not working in SP2010

We have 3 content editor webparts on Wiki Page. All the 3 webparts are added using SharePoint Designer. All the webparts have target audience. We are facing an issues when we deploy the wsp: All 3 ...
Nikhil J's user avatar
  • 4,904
1 vote
3 answers
3k views

referring to files in style library from content editor web part

I have a content editor webpart I am referring a html file to the content link of the webpart the contentLink looks something like the one below sites/ImageList/Style Library/Page/ImageList.html ...
Vignesh Subramanian's user avatar
2 votes
1 answer
484 views

How to create webpart page using ECMA Script

I have tried to create webpart page using ECMA script, but did not get the right solution. Example : I have created two text-boxes one for "page name" ,second for "web-part name". when user click on ...
Sonu's user avatar
  • 63
1 vote
2 answers
3k views

Get inner content of Content editor web part Programatically using CSOM C#

I need to Access Web parts Content Property but it is not available in Web Part Properties when I tried with Client side object model C#. Please find below reference links for detail information. ...
Sharepoint Beginner's user avatar
1 vote
1 answer
54 views

Not able to update src in <embed>

I used the below code in content editor to extract the query string and update the src of <embed>. <object><embed id="ExampleEmbed" src="somfile" height="850" width="850" type="...
A Beginner's user avatar
1 vote
1 answer
314 views

How to change src of <embed> tag in a content editor?

I have inserted the below code to display my file in content editor web part. <object><embed src="somfile" height="850" width="850" type="application/pdf"></embed></...
A Beginner's user avatar
0 votes
1 answer
751 views

How to hide both the quick links bar and the recently modified portion?

As a site administrator for my team I decided to abandon the left side quick links bar. I took the following steps to do that: From Site Settings, I disabled the quick links bar after removing all ...
Michiel Brouwer's user avatar
0 votes
1 answer
30 views

Content gone after editing page

I'm having this issue on a dev environment and a quality environment, all of a sudden. The issue is that whenever I edit a page, imagine to change a title or add a webpart to the rich text html field, ...
João Mariano's user avatar
0 votes
2 answers
44 views

How to change what web parts are available to use in a site?

When adding a web part to a Web Part page, the only option I have are Lists and Libraries category. I'm looking to add a Content Editor web part, but that is not available. Is there a setting under ...
wahle509's user avatar
  • 371
1 vote
0 answers
419 views

Opening a SharePoint file using a hyperlink

On a browser-based SharePoint drive, the default file-opening functionality for an macro-enabled Excel file is to open it directly in Excel; no asking for Open/Save As, no intermediary steps; when the ...
Taylor Lopez's user avatar
1 vote
3 answers
3k views

How to display Custom Page Inside Web Part Page

In one part of my portal I have a Web-Part page, and I want to use one of the zones to display a Custom Page (just a wiki page from a Team Site in the Site Page library) inside that zone. If I use a ...
bgmCoder's user avatar
  • 3,551
3 votes
1 answer
486 views

Edit item popups not working with ms-listviewtable class in a CEWP

I'm using SharePoint 2010 and Internet Explorer 9. (I have no choice in browser or versions -- policy dictates I use these until told otherwise) I actually solved my problem, but I still don't ...
Francoise Becker's user avatar
0 votes
0 answers
47 views

Editable repeating region in sharepoint

SharePoint Novice. Just as the image shows, I'm trying to create an editable repeating region in SharePoint and I have idea on how I can achieve that. Any suggestions or ideas on how I can get this ...
Dz1's user avatar
  • 75
0 votes
1 answer
274 views

How do I reset "Edit Web Part" - Unable to re-add webpart?

When I click edit on an item in a list, I get a blank page. I'm investigating this and discovered that when I go to "Form Web Parts - Default Edit Form" that there are no web parts on that page. I'...
makerofthings7's user avatar
2 votes
0 answers
504 views

How to execute a SQL Agent Job on a button click in a Web Part page of a SharePoint 2013 site?

I have a SharePoint 2013 on-premises site. The requirement is to add a button to one of the Webpart pages and on click of that button, a sequence of 3 consecutive SQL Server Agent jobs will be ...
Koushik's user avatar
  • 182
2 votes
0 answers
4k views

Editor buttons not working

I am setting up a SharePoint environment and have encountered an issue. I'm trying to set up a simple form using web parts/html-form editor. However, when I try edit the form content, the "Source ...
Susanna's user avatar
  • 71
2 votes
3 answers
11k views

Mandatory File Attachmant

I want to make file attachments mandatory in a list. Every new element should have an attachment. Therefore I used a content editor webpart with following sourcecode: <script type="text/javascript"...
Tobias's user avatar
  • 23

1 2 3
4
5
8