Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
72:editor_styles [2019/02/05 16:59] – ext-bkkr | 72: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_// | + | |
- | - | + | |
< | < | ||
< | < | ||
Line 28: | Line 23: | ||
p: | p: | ||
</ | </ | ||
+ | |||
- Define a corresponding style in the custom.css file | - Define a corresponding style in the custom.css file | ||
- | - | + | |
< | < | ||
p.stages_own_style { | p.stages_own_style { | ||
Line 36: | Line 32: | ||
} | } | ||
</ | </ | ||
+ | |||
- Define a name of your style in the LocalPKit(_de).properties file | - Define a name of your style in the LocalPKit(_de).properties file | ||
- | - | + | |
< | < | ||
editor.format.p.stages_own_style = My own style | editor.format.p.stages_own_style = My own style |