ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

Lines and paragraphs

In the OE text area you can create new lines and paragraphs. While the paragraphs can be classified, the lines can not be classified.

Please note that both lines and non-classified paragraphs are displayed in a natural way (without tags) when the OE is disabled. For classified paragraphs the XML tag "paragraph" is displayed.

When the system is generating XHTML code (converting the contents of an XML block datatype into XHTML), it will use "br" and "p" tags for lines and paragraphs. This is the default behavior and it is controlled by the following templates:

  • design/standard/templates/content/datatype/view/ezxmltags/line.tpl
  • design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl

Creating a new paragraph

Position the cursor at a location where you wish to add a new text paragraph and press the "Enter" key. A new empty paragraph will be created.

Classified paragraphs

The OE allows you to set the "class" parameter for paragraphs. To do this, find some non-formatted text inside the paragraph, click your right/secondary mouse button and choose the "Properties" command from the context menu. A modal dialog will appear. Select the class name from the drop-down list and click the "OK" button.

Please note that the "Properties" menu item will not be available if you first select/mark a part of the text and/or if you right-click on bold text, links and so on.

Creating a new line

Hold the "Shift" key down and press the "Enter" key. A new empty line will be created. Please note that you cannot use empty lines for spacing content (the system will remove them automatically when storing your drafts and publishing your objects).

Svitlana Shatokhina (15/12/2005 8:28 am)

Svitlana Shatokhina (10/11/2006 9:52 am)

Svitlana Shatokhina, Balazs Halasy


Comments

  • There is a setting to allow empty paragraphs

    See with your beloved admin to change it.
    • Re: There is a setting to allow empty paragraphs

      In your content.ini.append.php file :

      [paragraph]
      AllowEmpty=true
  • Page setting

    How can I create empty lines for spacing my content and creating nice page setting ?