Questions tagged [page-editor]

The Page Editor is a feature of Web Content Management Systems (WCMS) that allows authors to create and edit content with a WYSIWYG interface.

The Page Editor is a feature of a Web Content Management System (web CMS) that allows authors to create and edit web pages with a WYSIWYG interface, without interacting directly with the underlying content structures.

This tag should be used for questions relating to Page Editor development issues, and should be combined with a tag indicating the web CMS system, e.g. Sitecore, Wordpress, etc.

85 questions
8
votes
1 answer

Jquery with Sitecore Page editor

I need to put span tags around first word in a line. I used the below Jquery which is working fine in sitecore standard mode. $("body").has(".widget…
Dheeraj Palagiri
  • 1,829
  • 3
  • 23
  • 46
8
votes
3 answers

Sitecore: Detect user in Page Editor mode

Can I know how to detect user is in page editor mode using code? This is because, I have a component, when user browses from page editor, it will search in master_index folder instead of web_index folder.
WenHao
  • 1,183
  • 1
  • 15
  • 46
6
votes
1 answer

Adding a Page Editor 'Save and Publish' Button

I would like to provide another button beside "Save & Close" button on site Page Editor that will trigger save and publish action once pressed. I went to core and made a copy of "Save & Close" button that I'm planning to modify. I would call this…
krul
  • 2,211
  • 4
  • 30
  • 49
6
votes
2 answers

Has anyone run into Sitecore removing JavaScript from the page editor?

I've been working on a custom page in Sitecore over the holidays, and I've noticed an issue where Sitecore removes JavaScript lines from the editor. Here's an overview of my current scenario: I add Javascript to the page. I save, check in, and…
5
votes
1 answer

jcarousel plugin is not working in sitecore preview mode

jcarousel plugin is working when we run the page on browser but if we run the same page in sitecore preview mode(In sitecore: Click on Presentation in the top menu. Click on Preview in the ribbon) then this plugin is not working. please let me know…
Gaurav Agarwal
  • 863
  • 7
  • 28
5
votes
1 answer

Sitecore Page Editor and Workflow - how to?

Let's say that I have a classic page layout. A header, with logo (one sublayout) A top navigation in the header of the page (another sublayout) A 3-column page sublayout with: A left navigation sublayout loaded in the left column placeholder A…
Francesco Gallarotti
  • 1,221
  • 1
  • 16
  • 39
5
votes
1 answer

How to create a Sitecore ribbon button with dropdown menu?

The Sitecore PageEditor and Preview interfaces feature a language selector button that triggers a "dropdown"/overlay menu where the user can select a language. How do I replicate this behavior? (I set out to answer this question, and came up with a…
nickwesselman
  • 6,845
  • 2
  • 27
  • 46
4
votes
2 answers

Sitecore rich text field in page editor is not editable when it contains HTML formatting

I have a number of fields that are editable in Page Editor. One of them is a rich text field. This is the html: @foreach (var speaker in Model.Speakers) {
Erica Stockwell-Alpert
  • 4,624
  • 10
  • 63
  • 130
4
votes
1 answer

Delete confirmation when deleting from floating menu in a page editor in sitecore

I am very new sitecore, working with sitecore 7. The question is when I am in a page editor, when I delete an item using the floating menu 'delete' function, It just deletes the item. Customer requirement is to add a confirmation box here. Something…
Reza.Hoque
  • 2,690
  • 10
  • 49
  • 78
4
votes
2 answers

Sitecore page editor - how to extend page editor item editing panel

Need to add "publish" feature to the page editor, item editing section. (Under the "More" section would be ideal). How can I do this?
Dhanuka777
  • 8,331
  • 7
  • 70
  • 126
4
votes
2 answers

Sitecore Page Editor Publishing items related to content

I have a "Product Page",Product page maps to "ProductPage" Sitecore item. Website/Pages/ProductPage. I have a text area in that page with page editor, which loads text from "Product Example Text" Sitecore item's "Description" text from Web…
Dhanuka777
  • 8,331
  • 7
  • 70
  • 126
3
votes
1 answer

How to know if save was clicked in Content Editor or Page Editor in saveUI processor

I have a saveUI processor and I only want to run my code if the user clicked the save button in Page Editor. I've tried checking the context like: Sitecore.Context.PageMode.IsPageEditor but it's always false. My guess is that the processor isn't in…
Scott
  • 1,011
  • 1
  • 15
  • 30
3
votes
2 answers

jwPlayer causes rendering not to load in Sitecore's Page Editor

I'm currently working on a rendering in Sitecore 7.2 (MVC) that will show a jwPlayer given a link to a video (either in the Media Library or from an external source, like YouTube). When I add the rendering (with a valid data source) through…
Corey Adler
  • 15,897
  • 18
  • 66
  • 80
3
votes
1 answer

Disable designing role programmatically

I was wondering if there was any way to toggle/disable designer role from code. The desired effect from command: webedit:toggledesigncapability. Image of command in page editor: How can I toggle the designing capabilities from code?
CosX
  • 1,920
  • 2
  • 15
  • 25
3
votes
1 answer

Content reuse in Sitecore 7

Currently working in SC7 where I have implemented a kind of scaffolding so that editors can add an article to a page and add sections and paragraphs under it. You get the idea, html5 stuff... Now, the problem... Editors are working in Page…
1
2 3 4 5 6