Fix: tags h correctly supported
This commit is contained in:
parent
41196c01e9
commit
dba050fd43
@ -24,8 +24,8 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
config.fullPage = false; // Not a full html page string, just part of it
|
config.fullPage = false; // Not a full html page string, just part of it
|
||||||
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
||||||
//config.contentsCss = '/css/mysitestyles.css';
|
//config.contentsCss = '/css/mysitestyles.css';
|
||||||
config.image_previewText=' ';
|
config.image_previewText=' '; // Must no be empty
|
||||||
|
|
||||||
config.toolbar_Full =
|
config.toolbar_Full =
|
||||||
[
|
[
|
||||||
['Source','-','Save','NewPage','Preview','-','Templates'],
|
['Source','-','Save','NewPage','Preview','-','Templates'],
|
||||||
@ -45,30 +45,33 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Maximize', 'ShowBlocks','-','About']
|
['Maximize', 'ShowBlocks','-','About']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for mailing fields
|
||||||
config.toolbar_dolibarr_mailings =
|
config.toolbar_dolibarr_mailings =
|
||||||
[
|
[
|
||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent'],
|
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar']
|
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for notes fields
|
||||||
config.toolbar_dolibarr_notes =
|
config.toolbar_dolibarr_notes =
|
||||||
[
|
[
|
||||||
['Source'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent'],
|
['NumberedList','BulletedList','Outdent','Indent'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar']
|
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for details lines
|
||||||
config.toolbar_dolibarr_details =
|
config.toolbar_dolibarr_details =
|
||||||
[
|
[
|
||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
@ -77,7 +80,7 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent'],
|
['NumberedList','BulletedList','Outdent','Indent'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['SpecialChar']
|
['Link','Unlink','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
// Used for mailing fields
|
// Used for mailing fields
|
||||||
@ -86,5 +89,4 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Find']
|
['Find']
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@ -24,8 +24,8 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
config.fullPage = false; // Not a full html page string, just part of it
|
config.fullPage = false; // Not a full html page string, just part of it
|
||||||
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
||||||
//config.contentsCss = '/css/mysitestyles.css';
|
//config.contentsCss = '/css/mysitestyles.css';
|
||||||
config.image_previewText=' ';
|
config.image_previewText=' '; // Must no be empty
|
||||||
|
|
||||||
config.toolbar_Full =
|
config.toolbar_Full =
|
||||||
[
|
[
|
||||||
['Source','-','Save','NewPage','Preview','-','Templates'],
|
['Source','-','Save','NewPage','Preview','-','Templates'],
|
||||||
@ -45,30 +45,33 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Maximize', 'ShowBlocks','-','About']
|
['Maximize', 'ShowBlocks','-','About']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for mailing fields
|
||||||
config.toolbar_dolibarr_mailings =
|
config.toolbar_dolibarr_mailings =
|
||||||
[
|
[
|
||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar']
|
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for notes fields
|
||||||
config.toolbar_dolibarr_notes =
|
config.toolbar_dolibarr_notes =
|
||||||
[
|
[
|
||||||
['Source'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent'],
|
['NumberedList','BulletedList','Outdent','Indent'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar']
|
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for details lines
|
||||||
config.toolbar_dolibarr_details =
|
config.toolbar_dolibarr_details =
|
||||||
[
|
[
|
||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
@ -86,5 +89,4 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Find']
|
['Find']
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@ -24,8 +24,8 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
config.fullPage = false; // Not a full html page string, just part of it
|
config.fullPage = false; // Not a full html page string, just part of it
|
||||||
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
||||||
//config.contentsCss = '/css/mysitestyles.css';
|
//config.contentsCss = '/css/mysitestyles.css';
|
||||||
config.image_previewText=' ';
|
config.image_previewText=' '; // Must no be empty
|
||||||
|
|
||||||
config.toolbar_Full =
|
config.toolbar_Full =
|
||||||
[
|
[
|
||||||
['Source','-','Save','NewPage','Preview','-','Templates'],
|
['Source','-','Save','NewPage','Preview','-','Templates'],
|
||||||
@ -45,30 +45,33 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Maximize', 'ShowBlocks','-','About']
|
['Maximize', 'ShowBlocks','-','About']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for mailing fields
|
||||||
config.toolbar_dolibarr_mailings =
|
config.toolbar_dolibarr_mailings =
|
||||||
[
|
[
|
||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar']
|
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for notes fields
|
||||||
config.toolbar_dolibarr_notes =
|
config.toolbar_dolibarr_notes =
|
||||||
[
|
[
|
||||||
['Source'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent'],
|
['NumberedList','BulletedList','Outdent','Indent'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar']
|
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for details lines
|
||||||
config.toolbar_dolibarr_details =
|
config.toolbar_dolibarr_details =
|
||||||
[
|
[
|
||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
@ -86,5 +89,4 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Find']
|
['Find']
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@ -25,7 +25,7 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
||||||
//config.contentsCss = '/css/mysitestyles.css';
|
//config.contentsCss = '/css/mysitestyles.css';
|
||||||
config.image_previewText=' '; // Must no be empty
|
config.image_previewText=' '; // Must no be empty
|
||||||
|
|
||||||
config.toolbar_Full =
|
config.toolbar_Full =
|
||||||
[
|
[
|
||||||
['Source','-','Save','NewPage','Preview','-','Templates'],
|
['Source','-','Save','NewPage','Preview','-','Templates'],
|
||||||
@ -45,30 +45,33 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Maximize', 'ShowBlocks','-','About']
|
['Maximize', 'ShowBlocks','-','About']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for mailing fields
|
||||||
config.toolbar_dolibarr_mailings =
|
config.toolbar_dolibarr_mailings =
|
||||||
[
|
[
|
||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['Link','Unlink','Anchor','Image','Table','SpecialChar']
|
['Link','Unlink','Anchor','Image','Table','HorizontalRule','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for notes fields
|
||||||
config.toolbar_dolibarr_notes =
|
config.toolbar_dolibarr_notes =
|
||||||
[
|
[
|
||||||
['Source'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent'],
|
['NumberedList','BulletedList','Outdent','Indent'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
['Link','Unlink','Image','Table','SpecialChar']
|
['Link','Unlink','Image','Table','HorizontalRule','SpecialChar']
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// Used for details lines
|
||||||
config.toolbar_dolibarr_details =
|
config.toolbar_dolibarr_details =
|
||||||
[
|
[
|
||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
|
|||||||
@ -25,7 +25,7 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
|
||||||
//config.contentsCss = '/css/mysitestyles.css';
|
//config.contentsCss = '/css/mysitestyles.css';
|
||||||
config.image_previewText=' '; // Must no be empty
|
config.image_previewText=' '; // Must no be empty
|
||||||
|
|
||||||
config.toolbar_Full =
|
config.toolbar_Full =
|
||||||
[
|
[
|
||||||
['Source','-','Save','NewPage','Preview','-','Templates'],
|
['Source','-','Save','NewPage','Preview','-','Templates'],
|
||||||
@ -51,7 +51,7 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
['NumberedList','BulletedList','Outdent','Indent','CreateDiv'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
@ -64,7 +64,7 @@ CKEDITOR.editorConfig = function( config )
|
|||||||
['Source','Maximize'],
|
['Source','Maximize'],
|
||||||
['Cut','Copy','Paste','-','SpellChecker'],
|
['Cut','Copy','Paste','-','SpellChecker'],
|
||||||
['Undo','Redo','-','Find','Replace'],
|
['Undo','Redo','-','Find','Replace'],
|
||||||
['Font','FontSize'],
|
['Format','Font','FontSize'],
|
||||||
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
['Bold','Italic','Underline','Strike','Subscript','Superscript','-','TextColor','RemoveFormat'],
|
||||||
['NumberedList','BulletedList','Outdent','Indent'],
|
['NumberedList','BulletedList','Outdent','Indent'],
|
||||||
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user