Questions tagged [content-editor]
69 questions
10
votes
9 answers
sharepoint: Using a Content Editor Web Part this error occurred:"Cannot retrieve properties at this time."
I have a content editor web part. Whenever I edit the content and then click save, the following errors occurred:
"Cannot retrieve properties at this time."
"Cannot save your changes"
How do you fix this?
I tried googling it.. there are some…
Nikkho
7
votes
1 answer
How to make a contenteditable div reversible after change made with js?
When I delete some text in the contenteditable div in mistake, I can reverse it with Ctrl + z.
But after I made some change with javascript. I can't use Ctrl + z to reverse to previous change.
For example, when I add node to the selected text ,like…

Radian Jheng
- 667
- 9
- 20
3
votes
2 answers
Sitecore - how to show templates under specific folder, inside insert options context menu
Lets say the user itself is able to add new branch templates.
And on a homepage item, insert options must consist of items inside that branch templates folder.
In sitecore, insert options can only be set to specific items. When I select a folder as…

Batu
- 431
- 1
- 6
- 17
3
votes
2 answers
Why can't my Sitecore custom validator read the item as it has been edited in Content Editor?
I have created a custom validator in Sitecore. It executes correctly, and I can debug it and step through it.
I extended my validator from StandardValidator, which in turn extends from BaseValidator.
In my validator, I get the item:
var item =…

Deane
- 8,269
- 12
- 58
- 108
3
votes
1 answer
Sitecore 7 - Content editor error: String was not recognized as a valid DateTime
I'm working with Sitecore 7.0 rev 131127 and when I tried to go to the Content Editor I'm getting the following error:
But when I try to go to other modules such as Marketing Center, it is working.
I tried the following changing following value to…

Roshane Kekuluthotuwage
- 588
- 1
- 5
- 20
3
votes
2 answers
How to place cursor at the end of text after replacing HTML with jQuery?
I have a contenteditable div and trying to replace tag with tag but after replacing the html using jQuery replaceWith() function cursor defaults to the beginning of the text however I want it at the end of the replacing html.
Here is…

ʞɹᴉʞ ǝʌɐp
- 5,350
- 8
- 39
- 65
3
votes
1 answer
When creating custom content editor (Editor tab) in sitecore, what the format of URL should be if I have desired aspx page in another VS project
When creating custom item editor in Sitecore(Editor tab), only required field is the Url, which will point to the .aspx page. Where this .aspx page should be added and what URL should I type. I've created a web application in Visual Studio and an…

User
- 281
- 4
- 16
3
votes
2 answers
SharePoint 2010 Content Editor Webpart not supporting iframe
I am trying to Embed a SharePoint Site Page in a Content Editor Webpart using iframe in SharePoint 2010. Once i save and close the content editor, the iframe is removed. Is there a solution for this?

Vishanth
- 1,320
- 3
- 14
- 26
3
votes
2 answers
Post installation styles are missing on the sitecore login and content editor pages
I did an installation of sitecore on one of a dev server and copied over the site root folder to a bunch of dev machines. This process worked fine on 6 of the 7 machines and we can see the sitecore login and content editor pages fine and browse to…

flinty
- 51
- 3
2
votes
0 answers
HTML contenteditable - overriding default causes flicker while execCommand
I am working on an online HTML text editor having features to format block like add bold, italics, code block.
So, contenteditable dev by default mimics the style and element on pressing enter. So, if the current element is pre and I press enter it…

Vikash Kumar
- 145
- 1
- 10
2
votes
0 answers
How to check if the cursor has reached end of the content editable div or end of line while typing using javascript?
I have a simple content editable div with certain width and height now, I want to fire an event when cursor reaches end of the content editable div and also the end of the line.
Use Case: Something like google docs when user reaches the end of the…

ʞɹᴉʞ ǝʌɐp
- 5,350
- 8
- 39
- 65
2
votes
1 answer
Launch Content Editor from code
I have an application that is creating an new item in Sitecore then opening up the Content Editor to that item, it is loading fine but whenever i try to open the html editor i get a 'NullReferenceException'. This is only happening when i launch the…
Phil
1
vote
1 answer
SharePoint web part content disappearing
I have been creating web pages using MS Word 2007 and creating hyperlinks within them. Then I am turning them into Web Page documents. I am then creating a picture library specifically for that page on SharePoint and using DreamWeaver 2004 to link…
Caroline
1
vote
1 answer
Default ribbon tab in Sitecore content editor changed after adding a button
I have created a new button in the Sitecore content editor ribbon. When I open the content editor in Sitecore the newly created button tab opens by default but I want the home tab to be opened by default as it was before adding a new tab
screenshot…

Vinesh
- 13
- 3
1
vote
1 answer
Sharepoint 2010. Add custom background and frame for content editor webpart
I need to create custom webpart with complex (few divs, or other html elements) background and borders.
How can i use default sharepoint content editor and just add predefined background and frame!?
Thanks.

Ievgen
- 4,261
- 7
- 75
- 124