Fixed #854: IE fix for ckeditor's plugin insertpre:
Removed 'class' attribute to fix viw in IE8+. Use monospace in insertpre dialog in IE. Updated German translation file.
This commit is contained in:
parent
d75b8ea1f9
commit
ec61bd8cdc
@ -1,6 +1,6 @@
|
|||||||
CKEDITOR.plugins.setLang( 'insertpre', 'de', {
|
CKEDITOR.plugins.setLang( 'insertpre', 'de', {
|
||||||
title : 'Blocksatz-Text eingeben',
|
title : 'Text mit fester Laufweite eingeben',
|
||||||
code : 'Blocksatz',
|
code : 'Text',
|
||||||
edit : 'Text bearbeiten',
|
edit : 'Text bearbeiten',
|
||||||
notEmpty : 'Das Textfeld darf nicht leer bleiben.'
|
notEmpty : 'Das Textfeld darf nicht leer bleiben.'
|
||||||
});
|
});
|
||||||
|
@ -54,8 +54,8 @@ CKEDITOR.plugins.add( 'insertpre',
|
|||||||
{
|
{
|
||||||
return {
|
return {
|
||||||
title : editor.lang.insertpre.title,
|
title : editor.lang.insertpre.title,
|
||||||
minWidth : 540,
|
minWidth : 400,
|
||||||
minHeight : 380,
|
minHeight : 200,
|
||||||
contents : [
|
contents : [
|
||||||
{
|
{
|
||||||
id : 'general',
|
id : 'general',
|
||||||
@ -65,10 +65,8 @@ CKEDITOR.plugins.add( 'insertpre',
|
|||||||
type : 'textarea',
|
type : 'textarea',
|
||||||
id : 'contents',
|
id : 'contents',
|
||||||
label : editor.lang.insertpre.code,
|
label : editor.lang.insertpre.code,
|
||||||
cols: 140,
|
cols: 80,
|
||||||
rows: 22,
|
rows: 13,
|
||||||
class: "blocksize",
|
|
||||||
style: "font-family: Courier;",
|
|
||||||
validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.insertpre.notEmpty ),
|
validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.insertpre.notEmpty ),
|
||||||
required : true,
|
required : true,
|
||||||
setup : function( element )
|
setup : function( element )
|
||||||
|
@ -103,4 +103,7 @@ body.ckeditor_html
|
|||||||
background-color: Yellow;
|
background-color: Yellow;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cke_dialog_contents textarea.blocksize { font-family: Courier; font-size: 14px; }
|
.cke_dialog_contents textarea {
|
||||||
|
font-family: Courier New, monospace;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user