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:
Emanuel Schuetze 2013-08-29 11:45:48 +02:00
parent d75b8ea1f9
commit ec61bd8cdc
3 changed files with 10 additions and 9 deletions

View File

@ -1,6 +1,6 @@
CKEDITOR.plugins.setLang( 'insertpre', 'de', {
title : 'Blocksatz-Text eingeben',
code : 'Blocksatz',
title : 'Text mit fester Laufweite eingeben',
code : 'Text',
edit : 'Text bearbeiten',
notEmpty : 'Das Textfeld darf nicht leer bleiben.'
});

View File

@ -54,8 +54,8 @@ CKEDITOR.plugins.add( 'insertpre',
{
return {
title : editor.lang.insertpre.title,
minWidth : 540,
minHeight : 380,
minWidth : 400,
minHeight : 200,
contents : [
{
id : 'general',
@ -65,10 +65,8 @@ CKEDITOR.plugins.add( 'insertpre',
type : 'textarea',
id : 'contents',
label : editor.lang.insertpre.code,
cols: 140,
rows: 22,
class: "blocksize",
style: "font-family: Courier;",
cols: 80,
rows: 13,
validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.insertpre.notEmpty ),
required : true,
setup : function( element )

View File

@ -103,4 +103,7 @@ body.ckeditor_html
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;
}