Revision 1457
Added by Dietmar almost 13 years ago
wb_fckconfig.js | ||
---|---|---|
104 | 104 |
FCKConfig.ToolbarSets["WBToolbar"] = [ |
105 | 105 |
['Source','DocProps','-','NewPage','Preview','-','Templates'], |
106 | 106 |
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], |
107 |
['FitWindow','ShowBlocks', '-', /* 'SyntaxHighLight2', */ /* 'flvPlayer', */ '-','About'],
|
|
107 |
['FitWindow','ShowBlocks', '-', 'SyntaxHighLight2', /**/ /* 'flvPlayer', */ '-','About'],
|
|
108 | 108 |
'/', |
109 | 109 |
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], |
110 | 110 |
['TextColor','BGColor'], |
... | ... | |
168 | 168 |
CSS definition file and place it as "editor.css" in your template folder. |
169 | 169 |
All styles will automatically be updated and used with the FCK editor. |
170 | 170 |
|
171 |
If you don?t want to put custom "editor.css" files into your templates folder, you can
|
|
171 |
If you don�t want to put custom "editor.css" files into your templates folder, you can
|
|
172 | 172 |
try the other approach introduced below: |
173 | 173 |
|
174 | 174 |
copy all CSS definitions of your template into file: /my_config/my_fckeditorarea.css |
... | ... | |
178 | 178 |
Via file (/my_config/my_fckstyles.xml) you can define additional styles for default |
179 | 179 |
elements. Use this option, if you want to display conditional styles only if a special |
180 | 180 |
HTML element is selected (e.g. after selecting an <img> element, the style menu will |
181 |
provide additional elements like align=left, align=right, which don?t show up for other
|
|
181 |
provide additional elements like align=left, align=right, which don�t show up for other
|
|
182 | 182 |
elements like <p> |
183 | 183 |
|
184 | 184 |
CSS definitions declared in the XML file are realised as INLINE styles. If you want avoid |
Also available in: Unified diff
Preparing 2.8.2 stable, last tests