Introduction
This article is the first in a series to explore the SharePoint Content Editor Web part and how it is a gift for SharePoint developers.
In the SharePoint world, we have many components that can be useful for end users and also it provides many items for developers and administrators. Here I have begun a series to explore the components that can be really helpful for developers.
Those components might come builtin from SharePoint or they third-party components that solve the developer's problems and make their work easier.
Let's jump into the series now.
In this article, we will explore the options provided by the Content Editor Web part and how it is helpful for developers.
The Content Editor Web Part is used for adding formatted text, tables, hyperlinks and images to the web part page. The Microsoft Office team has given provided an introduction to the Content Editor Web part on this link Content Editor Web Part.
In the SharePoint world, we have many components that can be useful for end users and also it provides many items for developers and administrators. Here I have begun a series to explore the components that can be really helpful for developers.
Those components might come builtin from SharePoint or they third-party components that solve the developer's problems and make their work easier.
Let's jump into the series now.
In this article, we will explore the options provided by the Content Editor Web part and how it is helpful for developers.
The Content Editor Web Part is used for adding formatted text, tables, hyperlinks and images to the web part page. The Microsoft Office team has given provided an introduction to the Content Editor Web part on this link Content Editor Web Part.
For example, a developer wanted to test the application to access the web site details / creating a slideshow application using the client-side code using JavaScript or other client-side frameworks.
To do that, the user must edit the SharePoint Page every time using SharePoint Designer or during the creation of the app. The developer must edit, deploy and publish to view the result.
To avoid those cumbersome steps, we can easily test it using a content editor web part. Basically this Web Part doesn't offer the ability to enter a script, styles and other form related tags into the Content Editor Web Part directly. So we need to use some tricks to include scripts and style tags on the Content Editor Web part.
The Content Editor Web Part has the good option to include the script and styles in the web part properties called “Content Link”, there we can provide the link to our script file (that can be any text formatted file HTML, text, JavaScript and XML). So that we can update/modify the script and test our code frequently.
Include Script embed tags To Content Editor Web Part
- First we need to create a simple HTML file (called webinfo.html), that includes script, CSS and HTML content to test our application.




Rupali ShindePosted Dec 28, 2015, 11:24 PM
thanks for sharing ideas of SP 2013..
SriramPosted Jul 3, 2015, 8:28 AM
Good...........
NitinPosted Apr 25, 2015, 3:02 AM
Good one
Santhakumar MunuswamyPosted Apr 25, 2015, 12:25 AM
Good work
Karthik Muthu KaruppanPosted Apr 24, 2015, 5:49 PM
Good