# HtmlSupportDataSchemaInlineElementDefinition

interface

A definition of [data schema](module_html-support_dataschema-DataSchema.md) for inline elements.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L289)

<a id="properties">

## Properties

<a id="member-allowEmpty">

### `allowEmpty?: boolean`

Indicates that an element should be preserved even if it has no content.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L321)

<a id="member-appliesToBlock">

### `appliesToBlock?: string | boolean`

Indicates that element should not be converted as a model text attribute. It is used to map view elements that do not have a separate model element but their data is stored in a model attribute. For example `<tbody>` element does not have a dedicated model element and GHS stores attributes of `<tbody>` in the `htmlTbodyAttributes` model attribute of the `table` model element.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L316)

<a id="member-attributeProperties">

### `attributeProperties?: ModelAttributeProperties`

Additional metadata describing the model attribute.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L294)

<a id="member-coupledAttribute">

### `coupledAttribute?: string`

The name of the model attribute that generates the same view element. GHS inline attribute will be removed from the model tree as soon as the coupled attribute is removed. See [GHS post-fixer](module_html-support_datafilter-DataFilter.md#function-_registerCoupledAttributesPostFixer) for more details.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L308)

<a id="member-isBlock">

### `isBlock?: boolean` _(inherited)_

Indicates that the definition describes block element. Set by [`registerBlockElement`](module_html-support_dataschema-DataSchema.md#function-registerBlockElement) method.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L260)

<a id="member-isEmpty">

### `isEmpty?: boolean` _(inherited)_

Indicates that the definition describes an empty HTML element like `<hr>`.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L270)

<a id="member-isInline">

### `isInline?: boolean` _(inherited)_

Indicates that the definition describes inline element.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L265)

<a id="member-isObject">

### `isObject?: boolean` _(inherited)_

Indicates that the definition describes object element.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L249)

<a id="member-model">

### `model: string` _(inherited)_

Name of the model.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L239)

<a id="member-modelSchema">

### `modelSchema?: ModelSchemaItemDefinition` _(inherited)_

The model schema item definition describing registered model.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L254)

<a id="member-priority">

### `priority?: number`

Element priority. Decides in what order elements are wrapped by [`ViewDowncastWriter`](module_engine_view_downcastwriter-ViewDowncastWriter.md). Set by [`registerInlineElement`](module_html-support_dataschema-DataSchema.md#function-registerInlineElement) method.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L301)

<a id="member-view">

### `view?: string` _(inherited)_

Name of the view element.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/dataschema.ts#L244)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
