Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ckeditor questions
#3
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
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.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
ckeditor questions - by shawn_a - 2012-03-02, 01:19:23
RE: ckeditor questions - by shawn_a - 2015-02-16, 00:27:38
RE: ckeditor questions - by Riianna - 2015-03-15, 06:25:46
ckeditor questions - by mvlcek - 2012-03-02, 01:25:28
ckeditor questions - by shawn_a - 2012-03-02, 03:35:26
ckeditor questions - by mvlcek - 2012-03-02, 03:49:35
ckeditor questions - by shawn_a - 2012-03-02, 05:47:33
ckeditor questions - by shawn_a - 2012-03-02, 06:01:22
RE: ckeditor questions - by maf - 2015-02-15, 15:24:49
ckeditor questions - by Connie - 2012-03-02, 18:14:49



Users browsing this thread: 1 Guest(s)