# ModelCanEditAtEvent

typedef

Event fired when [`canEditAt`](module_engine_model_model-Model.md#function-canEditAt) method is called.

The [default action of that method](module_engine_model_model-Model.md#function-canEditAt) is implemented as a listener to this event, so it can be fully customized by the features.

Although the original method accepts any parameter of `Selectable` type, this event is fired with `selectable` normalized to an instance of [`ModelSelection`](module_engine_model_selection-ModelSelection.md) or [`ModelDocumentSelection`](module_engine_model_documentselection-ModelDocumentSelection.md).

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

<a id="properties">

## Properties

<a id="member-args">

### `args: [ [ selectable?: ModelSelection | ModelDocumentSelection ] ]`

<a id="member-name">

### `name: 'canEditAt'`

<a id="member-return">

### `return: boolean`

#### Value

`object`

## Fired by

* [Model#canEditAt](module_engine_model_model-Model.md#event-canEditAt)

---

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