user4661780
user4661780

Reputation:

CKEditor custom toolbar inline

I Want to use Underline in custom toolbar inline but it doesn't work while bold , link and Italic work as well.

 var cfg1 = {
        toolbar: [
            ['Source', '-', 'Bold','Italic', 'Underline']

        ]
    };
    CKEDITOR.disableAutoInline = true;
    CKEDITOR.inline('inputGozine1',cfg1);

How can i use Underline in inline toolbar?

Upvotes: 0

Views: 111

Answers (1)

Reinmar
Reinmar

Reputation: 22023

Did you check what you have in the config.js file? In standard and basic presets there is:

config.removeButtons = 'Underline,Subscript,Superscript';

And this setting has higher priority than config.toolbar, so make sure to remove this line.

Upvotes: 0

Related Questions