# ModelAttributeProperties

interface

A structure containing additional metadata describing the attribute.

See [`Schema#setAttributeProperties()`](module_engine_model_schema-ModelSchema.md#function-setAttributeProperties) for usage examples.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/schema.ts#L2080)

<a id="properties">

## Properties

<a id="member-__index[0]">

### `[name: string]: unknown`

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/schema.ts#L2114)

<a id="member-blockAlignment">

### `blockAlignment?: ModelBlockAlignmentAttributesMapping | ( element: ModelElement ) => ModelBlockAlignmentAttributesMapping`

Defines the mapping of all possible block alignments for a specific model element. It is used by features that need to determine whether an element can be aligned, and apply the alignment if possible.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/schema.ts#L2110)

<a id="member-copyFromObject">

### `copyFromObject?: boolean`

Indicates that given text attribute should be copied from an inline object to the next inserted inline content.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/schema.ts#L2103)

Defaults to `true`

<a id="member-copyOnEnter">

### `copyOnEnter?: boolean`

Indicates that given text attribute should be copied to the next block when enter is pressed.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/schema.ts#L2091)

<a id="member-copyOnReplace">

### `copyOnReplace?: boolean`

Indicates that given attribute should be preserved while replacing the element.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/schema.ts#L2096)

<a id="member-isFormatting">

### `isFormatting?: boolean`

Indicates that the attribute should be considered as a visual formatting, like `bold`, `italic` or `fontSize` rather than semantic attribute (such as `src`, `listType`, etc.). For example, it is used by the "Remove format" feature.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/schema.ts#L2086)

---

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