# Vue3 + TypeScript component for RAON K Editor

[RAONWIZ](http://www.raonwiz.com/) / [RAON K](https://www.raonk.com/) Vue component for RAON K Editor.

## Installation and usage

In order to create an component instance in Vue.js, install the `raonkeditor-vue3` npm package as a dependency of your project:

```bash
npm install raonkeditor-vue3
```

After installing, import RAONKEditorVue to your application:

```js
import { defineComponent } from 'vue';
import RAONKEditor from 'raonkeditor-vue3/dist/cjs/index';
//import RAONKEditor from 'raonkeditor-vue3/dist/es2015/index';
```

And use the `<RAONKEditor />` component in your template:

```html
<template>
	<div id="app">
		<RAONKEditor />
	</div>
</template>
```

## Download RAON K Editor component

This Vue integration component must be provided with RAONK Editor component through the following site. (You need to sign up for this website):

[https://www.raonk.com/page/buying/license_reqTem.aspx](https://www.raonk.com/page/buying/license_reqTem.aspx) by visiting the site, Request a trial version of RAONK Editor.

Install RAONK Editor provided via e-mail as follows and run the sample:

```
Copy to the /samples/basic/src subdirectory.
ex) /samples/basic/src/raonkeditor
```

## Browser support
To enable Internet Explorer 11 support, instead of the standard import you need to import a specific `dist/browser/index.umd.min.js` file containing all required polyfills:

```js
import RAONKEditorVue from 'raonkeditor-vue3/dist/browser/index.umd.min.js' (Deprecated)
```

## TypeScript support

TypeScript 4.8+ is supported.

## Contributing

After cloning this repository, install necessary dependencies:

```
npm install
```

### Building the package

Build a minified version of the package that is ready to be published:

```
npm run build
```

### Executing

Run:

```
npm run start
```

## License

Copyright (c) 2003-2022, RAONWIZ DevTeam. All rights reserved.