Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
72:editor_styles [2019/02/05 16:59] ext-bkkr72:editor_styles [2024/02/15 00:00] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ==== Choose a Style ==== ==== Choose a Style ====
  
-  - Select a text fragment and press the 'Style' button. The **Paragraph Format** dropdown list contains a number of pre-defined styles that you can use. To make the choice easier, the style names are displayed in a style that they represent, giving you a preview of what the text will look like.+  - Select a text fragment and click the 'Style' button. The **Paragraph Format**  dropdown list contains a number of pre-defined styles that you can use. To make the choice easier, the style names are displayed in a style that they represent, giving you a preview of what the text will look like.
   - Click on the style in the dropdown list to select the style.   - Click on the style in the dropdown list to select the style.
 +
  
 ==== Remove a Style ==== ==== Remove a Style ====
Line 15: Line 16:
 ==== Define Own Styles ==== ==== Define Own Styles ====
  
-  -+**Define own styles in PKitConfig.xml property global.editor.format**
  
-Define own styles in PKitConfig.xml property global.editor.format +//Note: All style classes must start with stages_//
- +
-      - +
- +
-Note: All style classes must start with //stages_// +
-      -+
 <code> <code>
 <property name="global.editor.format" <property name="global.editor.format"
Line 28: Line 24:
 p:stages_description_caption,p:stages_own_style"/> p:stages_description_caption,p:stages_own_style"/>
 </code> </code>
-  - Define a corresponding style in the custom.css file + 
-      -+**Define a corresponding style in the custom.css file**
 <code> <code>
 p.stages_own_style { p.stages_own_style {
Line 36: Line 32:
 } }
 </code> </code>
-  - Define a name of your style in the LocalPKit(_de).properties file + 
-      -+**Define a name of your style in the LocalPKit(_de).properties file**
 <code> <code>
 editor.format.p.stages_own_style = My own style editor.format.p.stages_own_style = My own style