TrixVue Editor
Install
You can use Yarn or NPM
$ npm install --save trix-vue2
OR
yarn add trix-vue2
Usage
//... your code
Props
Name | Type | Default | Description |
---|---|---|---|
id | String | trix-container | Set the id (necessary if multiple editors in the same view) |
inputId | String | - | Set inputId when you want to embed trix editor inside a form. |
Example
Basic Setup
TrixVue Editor 1. Simple TrixVue example:
Use inside a form
TrixVue Editor 2. TrixVue inside form:
License
MIT