[gen] Make ckeditor work with IE.
This commit is contained in:
parent
e1e1b90921
commit
48c7c50122
5 changed files with 28 additions and 146 deletions
|
@ -2,27 +2,25 @@
|
|||
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.editorConfig = function(config) {
|
||||
config.toolbar = 'Appy';
|
||||
config.toolbar_Appy = [
|
||||
{name: 'basicstyles', items: ['Format', 'Bold', 'Italic', 'Underline',
|
||||
'Strike', 'Subscript', 'Superscript',
|
||||
'RemoveFormat'] },
|
||||
{name: 'paragraph', items: ['NumberedList', 'BulletedList'] },
|
||||
{name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText',
|
||||
'Undo', 'Redo']},
|
||||
{name: 'editing', items: ['Scayt']},
|
||||
{name: 'insert', items: ['Image', 'Table', 'SpecialChar', 'Link',
|
||||
'Unlink', 'Source', 'Maximize']},
|
||||
{ name: 'basicstyles',
|
||||
items: ["Format", "Bold", "Italic", "Underline", "Strike",
|
||||
"Subscript", "Superscript", "RemoveFormat"]},
|
||||
{ name: 'paragraph',
|
||||
items: ["NumberedList","BulletedList"]},
|
||||
{ name: 'clipboard',
|
||||
items: ["Cut","Copy","Paste","PasteText","Undo","Redo"]},
|
||||
{ name: 'editing', items: ["Scayt"]},
|
||||
{ name: 'insert',
|
||||
items: ["Image","Table","SpecialChar","Link","Unlink","Source","Maximize"]}
|
||||
];
|
||||
config.format_p = { element:'p', attributes:{'style':'margin:0;padding:0'}};
|
||||
config.format_h1 = { element:'h1', attributes:{'style':'margin:0;padding:0'}};
|
||||
config.format_h2 = { element:'h2', attributes:{'style':'margin:0;padding:0'}};
|
||||
config.format_h3 = { element:'h3', attributes:{'style':'margin:0;padding:0'}};
|
||||
config.format_h4 = { element:'h4', attributes:{'style':'margin:0;padding:0'}};
|
||||
config.entities = false;
|
||||
config.entities_greek = false;
|
||||
config.entities_latin = false;
|
||||
config.fillEmptyBlocks = false;
|
||||
config.removePlugins = 'elementspath';
|
||||
config.scayt_sLang = 'fr_BE';
|
||||
config.scayt_uiTabs = '0,1,0';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue