Select text and click here
```
## Installation
As this is a addon component, you need to install the addon first.
```bash
npm install @mark/editor @mark/tokens @mark/icons
```
You also need to include the css from froala editor directly to the page where you are using the editor component
```html
```
And finally also include or import the editor.
```javascript
// import from installed package
import "@mark/tokens/css";
import "@mark/icons";
import "@mark/editor";
// import from the cdn
import 'https://cdn.grade.design/mark/editor/0.2.0/index.js';
```
## Other Considerations
You have to handle the styling of the content with your local applications styles. Either global css or specifically targeted inside the editor.
```css
m-editor p,
m-editor ul,
m-editor ol {
margin: 0 0 var(--m-space-m);
}
```