# engine/view/styles/margin

module

<a id="functions">

## Functions

<a id="function-addMarginStylesRules">

### `addMarginStylesRules( stylesProcessor ) → void`

Adds a margin CSS styles processing rules.

```typescript
editor.data.addStyleProcessorRules( addMarginStylesRules );
```

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/view/styles/margin.ts#L20)

#### Parameters

* `stylesProcessor: StylesProcessor`

#### Returns

* `void`

---

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