Skip to content

ckeditor5-elements / BreadcrumbItem

Interface: BreadcrumbItem ​

A breadcrumb: an element of the data view, its label, and the model element it belongs to.

Properties ​

label ​

ts
label: string;

modelElement ​

ts
modelElement: 
  | ModelElement
  | null;

The model element of the view element: the mapped one, or for a part of a structure (e.g. a tbody), the closest mapped ancestor (the table). null for list items (ul, li), which come from block attributes.


viewElement ​

ts
viewElement: ViewElement;

The data view element (as in the editor data, e.g. getData()).