Ckeditor5: The requested toolbar item is unavailable.

Created on 12 May 2019  路  3Comments  路  Source: ckeditor/ckeditor5

I'm using this code for set alignment to toolbar (Angular 7)

public Editor = ClassicEditor;
public config = {
toolbar: [ 'heading', '|', 'bold', 'italic','|','bulletedList', 'numberedList', 'undo', 'redo','alignment' ],
}

but give me this warning and not working

ckeditor.js:5 toolbarview-item-unavailable: The requested toolbar item is unavailable. Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-toolbarview-item-unavailable
{name: "alignment"}

this is my ckeditor in html

<ckeditor [config]="config" [editor]="Editor" ></ckeditor>

alignment invalid

Most helpful comment

I've followed this guide but nothing seems to work. Is there a workarond?

All 3 comments

Hello, your problem occurs because your build doesn't contain the alignment plugin. Please, take a look at our installing plugins guide.

I've followed this guide but nothing seems to work. Is there a workarond?

I've followed this guide but nothing seems to work. Is there a workarond?

Hi, if you have a question related to this guide, please open a new issue with a detailed description.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pjasiun picture pjasiun  路  3Comments

msamsel picture msamsel  路  3Comments

wwalc picture wwalc  路  3Comments

benjismith picture benjismith  路  3Comments

Reinmar picture Reinmar  路  3Comments