2012-03-02, 03:35:26
Yup, it is "formatted" in the styles. doh.Thanks.
I found a way to add a button plugin for pre and code or any element, ill post it when I get it implemented.
I also figured out where these options are removed, still dont know what the reasoning behind it was.
I guess to make it more "simple". Seems like a bad idea and much less functional to me.
I commented the lines out below, to get these features back.
admin/templates/js/ckeditor/config.js
At least now, i can insert image, link to image. save dialog
Right click the image, edit link, advanced, add my lightbox class and done.
A few less clicks is always nice.
I found a way to add a button plugin for pre and code or any element, ill post it when I get it implemented.
I also figured out where these options are removed, still dont know what the reasoning behind it was.
I guess to make it more "simple". Seems like a bad idea and much less functional to me.
I commented the lines out below, to get these features back.
admin/templates/js/ckeditor/config.js
Code:
if ( dialogName == 'image' ) {
// var infoTab = dialogDefinition.getContents( 'info' );
// infoTab.remove( 'txtBorder' );
// infoTab.remove( 'txtHSpace' );
// infoTab.remove( 'txtVSpace' );
// infoTab.remove( 'btnResetSize' );
// dialogDefinition.removeContents( 'Link' );
var advTab = dialogDefinition.getContents( 'advanced' );
advTab.remove( 'cmbLangDir' );
advTab.remove( 'txtLangCode' );
advTab.remove( 'txtGenLongDescr' );
advTab.remove( 'txtGenTitle' );
}
});
At least now, i can insert image, link to image. save dialog
Right click the image, edit link, advanced, add my lightbox class and done.
A few less clicks is always nice.