Skip to main content
Skip table of contents

Edit and save Xeditor texts

Introduction

The edit mode opens and shows the Xeditor. For more information, see Create and open Xeditor texts.

Depending on your widget configuration, the Xeditor has opened inline in the widget or in another browser tab:

For more information on how-to create and open Xeditor asset, see Create and open Xeditor texts.


The following instructions are based on the censhare Standard Content Structure schema. Depending of the customization of your schema, the XML structure might change. As of that, also the shown XML structural elements in the Xeditor UI might change.

Edit text

  • Place your cursor where you want to add text.
  • The bar on the top gives a set of icons to enrich your text, for example choose bold, insert a table or add an image.
  • Depending on the position of the cursor not all icons of editor might be available. For example, images cannot be placed in a headline.
  • For an easier navigation, you can show the XML tags in the editor pane. For more information, see Create and open Xeditor texts.

Insert an XML element in text

Using right-mouse click

  1. Move your mouse over the place where you want to insert the new XML element.
  2. Do a right-mouse click there.
  3. The menu open: Place your cursor in the Search and insert field and start typing the name of the element that you want to insert.
  4. The list of XML elements is narrowed down as you type.
  5. Select the XML element that you want insert.


  1. If you do not know which XML element to insert, click the Structure menu entry:
  2. It lists all XML elements of the XML path, that you have selected, as menu entries, for example Article - Content - Text - Bullet list - List item - Paragraph.
  3. Go to the entry for which you want to insert the XML element, for example List item.
  4. Select Insert element.
  5. A list of elements shows up that are allowed to insert at the selected place.
  6. Select the desired XML element.

Using the XML path

  1. Place your cursor in the text from where you want to insert the new XML element.
  2. The bottom bar shows now the XML path of your text element, for example Article - Content - Text - Bullet list - List item - Paragraph.
  3. Each XML element offers you a list of XML elements that you can insert. For example:
    1. Click  Bullet list.
    2. A menu opens: Click Insert element.
    3. The Bullet list only allows you to enter a new List item because of the defined XML structure in the censhare Standard Content Structure schema.

Change the type of an XML element

Using right-mouse click

  1. Move your mouse over the place where you want to insert the new XML element.
  2. Do a right-mouse click there.
  3. The menu open: Click the Structure menu entry: It lists all XML elements of the XML path that you have selected as menu entries, for example Article - Content - Text - Bullet list - List item - Paragraph.
  4. Click the XML element type of the entry that you have selected with your right-mouse click: It is the last entry. In our example it is Paragraph.
  5. A sub-menu opens: Click Change type.
  6. A sub-menu opens: It lists all XML types to that you can change the selected XML element.
  7. Click the desired XML element type.

Using the XML path

  1. Place your cursor in the XML element of the text that you want to change.
  2. The bottom bar shows now the XML path of your text element, for example Article - Content - Text - Bullet list - List item - Paragraph.
  3. Each XML element offers you a list of XML elements that you can use instead of the actual one. For example:
    1. Click  Bullet list.
    2. A menu opens: Click Change type.
    3. The Bullet list allows you to use a Numeric List instead because of the defined XML structure in the censhare Standard Content Structure schema.
  4. If the XML element does have this option, you cannot change the XML type here.

Change or add attributes

  1. Go to the Table of contents pane.
  2. In the bottom, click Attributes:

  3. The Attributes edit pane opens.
  4. Go to the XML element where you want to add an attribute and place your cursor there.
  5. The Attribute pane shows the XML path of the selected XML element and any existing attributes, for example:
  6. For an easier navigation, you can also show the XML tags in the editor pane. For more information, see Create and open Xeditor texts.
  7. In the Add attribute menu select the attribute that you want to add, for example the style of a paragraph.
    Then, select the value of the attribute, for example the style of a paragraph:


  8. If you want to add another attribute, go to the Add attribute selection box again and select another attribute to add.
  9. To change an existing attribute, go the respective attribute selection box, and select another value respective enter another value for that attribute.

Insert pictures

  1. Place cursor at the text where you want to add the picture.
  2. Click the image icon in the top bar of the Xeditor.
  3. A list of selectable images shows up. Note that the list of images that shows up depends on the configuration of your system. If the desired image does not show up in the list, contact your censhare Web Admin: He can check the configuration of the image search in the selection list.
  4. Use the search field at the top to filter the image list.
  5. Mark one image and click Select.
  6. The image is inserted at the place of your cursor.

Delete pictures

You can use the Backspace button or the bottom bar to delete a picture.

Using the Backspace button:

  1. Click the picture.
  2. Press the Backspace button.
  3. The image is deleted.
  4. To delete the Image box, press the Backspace button once again.
  5. The image box is also deleted.

Using the bottom bar:

  1. Click with the cursor behind the picture preview in edit pane.
  2. The bottom bar now shows the XML path to the image, for example Article - Content - Text - Image box - Image.
  3. Click Image box.
  4. A menu opens: Click Delete.
  5. The picture including all related XML tags is removed. 


There is a known bug for the Safari web browser: You cannot delete pictures using the Backspace button.

Use the preview widget

  • Use the Preview widget to see a preview of your text. This is especially useful while you are editing and want to see how your text looks like.
  • Choose between a PDF or an HTML based preview.
  • The PDF rendering uses XSL-FO for the transformation.
  • The HTML rendering uses the Online Channel of censhare. 

How to use HTML

  1. Select the channel for the preview:  HTML.
  2. Select the method for HTML rendering in View: HTML Preview or censhare:cs5.text-preview for text.
  3. For HTML Preview, you can also select the Device that is used for rendering and the size of the preview in Scale
  4. The Open preview in a new window button opens the preview in another browser tab.
  5. Click the  Refresh button to update your preview.

How to use PDF

  1. Select the channel for the preview: PDF.
  2. The method for the PDF rendering is already set: XSL-FO: Article to PDF Transformation. There is only one transformation to select.
  3. The integrated PDF-Viewer offers the following actions:
    • ≡ Menu: Shows or hide thumbnails of the pages of the preview
    • Use + to zoom in or - to zoom out
    • Fit to width: Resize the preview to the size of the PDF window.
    • Rotate Anti-clockwise: Rotate the preview in 90 degree steps.
    • Download: Download a PDF of the preview.
    • Print the PDF.
    • More actions offers among others to switch to a Two-page view

If you do not see a PDF preview but just a download button, check your browser setting how PDFs are handled.

Save your text

  1. To save your changes, click the Xeditor Save button on the top left of the Xeditor widget: It saves your content changes in the current version of the storage item of the checked out Xeditor text asset. You can also use or Cmd+S (Mac) respective Ctrl+S (Windows) to save.
  2. To save your changes in another asset version:
    1. Click the Xeditor Save button or press Cmd+S (Mac) respective Ctrl+S (Windows). This ensures that also your latest changes are saved that might not yet have been covered by the auto-update functionality.
    2. Click SAVE or SAVE & CLOSE of the Xeditor text asset itself. If you have opened the Xeditor in another browser tab, you must go to the Xeditor text asset browser tab and press SAVE or SAVE & CLOSE there.
  3. If you have opened the Xeditor in another browser tab and close the Xeditor text asset via CANCEL, SAVE, or SAVE & CLOSE, you cannot edit in Xeditor browser tab anymore. You receive a message: "(warning) Document is not checked out by you.
    1. Close the Xeditor browser tab and reopen the Xeditor at the Xeditor text asset page ." This is to prevent that you edit and loose your changes because you cannot save them anymore after the check-in of the Xeditor text asset!
    2. If you have opened the text asset in another browser window, go to that browser window and reopen the Xeditor there. Now, go back to the Xeditor browser tab and reload the page. You can now also continue your editing here.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.