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