Joseph Dykstra
Joseph Dykstra

Reputation: 1466

CKEDITOR toolbar buttons do not show up

This...

CKEDITOR.replace('layout_edit', {
    toolbar: [
        [ 'Undo', 'Redo' ],
        [ 'Bold', 'Italic', '-', 'RemoveFormat', 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ],
        [ 'FontSize' ]
    ]
})

...turns into this...

enter image description here

I don't know why the justify options and font size options don't show up.

Upvotes: 0

Views: 242

Answers (1)

Joseph Dykstra
Joseph Dykstra

Reputation: 1466

Make sure you include a version of CKEDITOR that has the plugins you need. This does not have 'justify' or 'font':

<script src="//cdn.ckeditor.com/4.4.7/standard/ckeditor.js"></script>

Try this:

<script src="//cdn.ckeditor.com/4.4.7/standard-all/ckeditor.js"></script>

Upvotes: 1

Related Questions