[gen] Bugfix: ckeditor
This commit is contained in:
parent
1be8163c70
commit
dfb41b0fae
|
@ -1005,10 +1005,11 @@ class String(Field):
|
|||
|
||||
def getCkParams(self, obj, language):
|
||||
'''Gets the base params to set on a rich text field'''
|
||||
ckAttrs = {'customConfig': '/ui/ckeditor/config.js',
|
||||
'contentsCss': '/ui/ckeditor/contents.css',
|
||||
'stylesSet': '/ui/ckeditor/styles.js', 'toolbar': 'Appy',
|
||||
'format_tags': ';'.join(self.styles),
|
||||
base = obj.getTool().getSiteUrl()
|
||||
ckAttrs = {'customConfig': '%s/ui/ckeditor/config.js' % base,
|
||||
'contentsCss': '%s/ui/ckeditor/contents.css' % base,
|
||||
'stylesSet': '%s/ui/ckeditor/styles.js' % base,
|
||||
'toolbar': 'Appy', 'format_tags': ';'.join(self.styles),
|
||||
'scayt_sLang': self.getCkLanguage(obj, language)}
|
||||
if self.width: ckAttrs['width'] = self.width
|
||||
if self.height: ckAttrs['height'] = self.height
|
||||
|
|
|
@ -126,7 +126,7 @@ td.search { padding-top: 8px }
|
|||
.grid th { font-style: italic; font-weight: normal;
|
||||
border-bottom: 5px solid #fdfdfd; padding: 3px 5px 0 5px }
|
||||
.grid td { padding: 3px 3px 0 3px }
|
||||
.timeline { font-size: 90%; color: #555555 }
|
||||
.timeline { font-size: 85%; color: #555555 }
|
||||
.timeline td { text-align: center; padding: 1px }
|
||||
.timeline th { padding: 1px }
|
||||
.tlLeft { text-align: left !important }
|
||||
|
|
Loading…
Reference in a new issue