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

learn more… | top users | synonyms

1
vote
2answers
609 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 ...
4
votes
1answer
2k views

How to retrieve all choice field values using ecmascript – SharePoint 2010 and bind to html dropdown in the content editor webpart

I need to bind the SharePoint 2010 choice column in the HTML dropdown of the content editor webpart.. I have followed this blog but it could not achieve my requirement. I have replace my listname, ...
8
votes
4answers
6k views

SP2010 - Edit in Sharepoint Designer open in Word

I'm completely stuck on this issue that keeps reoccuring for my organizations Sharepoint Administrators. On a Site Page under Site Actions, selecting the option 'Edit in Sharepoint Designer' opens ...
0
votes
1answer
257 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
3
votes
1answer
51 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?
0
votes
2answers
1k views

Content Editor Web Part not loading Content Link

I have a Content Editor Web Part, pointing to an html file at the web app's root (Content Link = "/Style Library/MyCollaborationWebParts/MyCollaborationLinks.html"). The content showed by the CEWP ...
0
votes
2answers
66 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 ...
0
votes
2answers
32 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 ...
1
vote
3answers
659 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 ...
0
votes
0answers
41 views

Is there a way to get a Provider-Hosted app hosted on a page to access Excel Web Parts also hosted on the same page?

Currently I use a content-editor web part (CEWP) on the same page as an excel web part. The CEWP points to an html file in a document library on the same SharePoint site. As such, JavaScript in ...
0
votes
0answers
39 views

Sharepoint 2010 iFrame question

I'm looking for some help on a problem I've encountered, I've built a SharePoint site and I have 3 separate content editor parts (2 parts for header and footer banners and a 3rd linked to a text file) ...
0
votes
0answers
22 views

content editor reverting back to old data

I have a content editor in SharePoint 2010 and I have updated and saved it, which seems to have worked fine. But say I come back a day after and it has reverted back to the old data. Any ideas?
0
votes
1answer
109 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 ...
0
votes
1answer
80 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....
0
votes
0answers
37 views

How to save data locally to a webpart?

So, here's my scenario. I have a webpart which has a textbox. I want to save the contents of the textbox specifically tied to the webpart (there would additional controls but I don't want to save ...
0
votes
2answers
174 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 ...
0
votes
1answer
38 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. ...
3
votes
1answer
1k views

Why Do My Content Editor Web Parts Have “noindex” Class?

When i create a content editor web part on a publishing page in SharePoint 2010, the following code is created: <div WebPartID="151e7c56-689b-48ef-ab7e-7f8ed3958cb5" HasPers="false" id="...
0
votes
1answer
411 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" ...
1
vote
1answer
49 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 ...
0
votes
1answer
108 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 ...
0
votes
1answer
456 views

JavaScript code block messing with drop-downs in Menu

I am using SharePoint 2010 and I need to place the following JavaScript code on a page to give me time in Rome <SCRIPT LANGUAGE="JavaScript"> function GetTime() { var dt = new Date(); ...
1
vote
0answers
54 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 ...
1
vote
4answers
7k views

ContentEditor WebPart Edit Permissions

I have a publishing site. A user is in the visitors group. On a certain page I have given the user Full control. They can edit the body of the page but cannot edit the content of a ContentEditor ...
2
votes
1answer
742 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://...
0
votes
1answer
118 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 ...
0
votes
1answer
489 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'...
0
votes
2answers
267 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 ...
2
votes
3answers
678 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 ...
0
votes
1answer
186 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 ...
0
votes
1answer
70 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 ...
2
votes
1answer
226 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 ...
0
votes
1answer
45 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="...
1
vote
1answer
49 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></...
0
votes
1answer
148 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 ...
0
votes
1answer
27 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, ...
0
votes
2answers
35 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 ...
2
votes
2answers
2k views

Where is the Spell Checker in the Content Editor Web Part in SharePoint 2010?

Has the Spell Checker been removed from the CEWP in 2010? In 2007 users using the Rich Text option could spell check content. In 2010, the ribbon is showing no option to spell check. It does however ...
3
votes
1answer
240 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 ...
0
votes
0answers
121 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 ...
0
votes
3answers
437 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 ...
0
votes
0answers
31 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 ...
0
votes
1answer
48 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'...
2
votes
3answers
4k views

Overwrite the default font for Content editor webpart in sharepoint 2010

I added a content editor webpart in my sharepoint page. By default it is using 'Verdan' font type. How would I change it to 'Arial' ?
2
votes
2answers
7k views

Change default font-size in Content Editor

I need to change the default font-size in Sharepoint 2010 Content Editor. I've tried to set .ms-rte-wpbox {...} CSS property as suggested somewhere on web but it didn't work. Any help would be ...
1
vote
0answers
174 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 ...
0
votes
0answers
153 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 ...
2
votes
2answers
1k views

Adding Font Awesome Icons to Quick Launch Links

When customizing the Quick Launch Links Navigation, I got stuck with adding Font Awesome Icons. How do I go about it so that it appears like the ones in the picture below? And the code is as below: ...
2
votes
0answers
79 views

I'm having trouble with basic layout using html/css with Sharepoint

first time poster here so I'd like to apologize if I do this wrong. I'm new to Sharepoint, so I'm having difficulty with some basic stuff. My end goal is to basically make something that looks like ...
2
votes
0answers
56 views

Clicking on WebPart modifies page layout

I'm building a custom dashboard with some CEWP's and List webparts, using a three column page layout. Whenever I interact with (click) one of the columns, it adjusts the layout. In this particular ...