better fb9414b
This commit is contained in:
parent
fb9414b9ae
commit
8eaffe46fe
@ -157,7 +157,7 @@ CKEDITOR.editorConfig = function( config ) {
|
||||
// console.log(JSON.stringify(config.toolbar_Standard));
|
||||
|
||||
// in case of toolbar : Full (moved 'Source' and removed 'Font' buttons. 'Styles' and 'Preview' disabled overall. )
|
||||
// With the css hidden fix for cke image button, it is not possible to move the s9ymediabuttons in this toolbar up. Leave it in others!
|
||||
// With the css hidden fix for cke image button, it is not possible to move the s9ymediabuttons in this toolbar up. Leave it in others! (fixed with break apart paragraph, which sets needed CSS IDs to CKE FULL Toolbar only! )
|
||||
config.toolbar_Full = [
|
||||
{ name: 'styles', items : [ 'Styles','Format',/*'Font',*/'FontSize' ] },
|
||||
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
|
||||
@ -165,12 +165,14 @@ CKEDITOR.editorConfig = function( config ) {
|
||||
{ name: 'document', items : [ /*'Source','-',*/'Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
|
||||
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
|
||||
{ name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },
|
||||
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
|
||||
{ name: 'paragraph1', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv' ] },
|
||||
{ name: 'paragraph2', items : [ 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
|
||||
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
|
||||
{ name: 's9yml', items : s9ymediabuttons },
|
||||
{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak' ] },
|
||||
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
|
||||
{ name: 'mediaembed', items : [ 'MediaEmbed' ] },
|
||||
{ name: 'others', items : s9ypluginbuttonsAll },
|
||||
{ name: 'others', items : s9ypluginbuttons },
|
||||
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] },
|
||||
{ name: 'document', groups : [ 'mode', 'document', 'doctools' ], items : [ 'Source' ] },
|
||||
{ name: 'cheatsheet', items : ['CheatSheet'] }
|
||||
|
@ -2346,7 +2346,9 @@ input[name="serendipity[filter][fileCategory]"] {
|
||||
|
||||
/* CKEDITOR Toolbar */
|
||||
/* hide cke-image button to support the internal functionality needed for MediaLibrary inserts, but disables the button to eyes, if not in CKE PRESET Toolbar (#65) */
|
||||
.cke_toolgroup a.cke_button__image:not(#cke_65) {
|
||||
/* Sadly firefox and chrome engines count differently in second textarea, DOM ID 65/146 in FF is 67/150 in Chrome. There is a need to put this into engines only media device */
|
||||
#cke_1_top .cke_toolgroup a.cke_button__image:not(#cke_65),
|
||||
#cke_2_top .cke_toolgroup a.cke_button__image:not(#cke_146):not(#cke_150) {
|
||||
display: none !important;
|
||||
visibility: hidden;
|
||||
height: 0 !important;
|
||||
@ -2354,7 +2356,8 @@ input[name="serendipity[filter][fileCategory]"] {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
/* hide next sibling separator */
|
||||
.cke_toolgroup a.cke_button__image:not(#cke_65)~.cke_toolbar_separator {
|
||||
#cke_1_top .cke_toolgroup a.cke_button__image:not(#cke_65)~.cke_toolbar_separator,
|
||||
#cke_2_top .cke_toolgroup a.cke_button__image:not(#cke_67)~.cke_toolbar_separator {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
margin: 0px;
|
||||
@ -2363,7 +2366,7 @@ input[name="serendipity[filter][fileCategory]"] {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
/* hide empty image toolgroup in toolbar BASIC (do not remove the span tag!) */
|
||||
span#cke_27 {
|
||||
#cke_1_top span#cke_27, #cke_2_top span#cke_63, #cke_2_top span#cke_67 {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
width: 0 !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user