Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
72:editor_styles [2019/02/05 16:59] ext-bkkr72:editor_styles [2019/02/05 17:00] – [Define Own Styles] ext-bkkr
Line 14: Line 14:
  
 ==== 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 23:
 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