1.0.1 • Published 6 years ago
@veams/component-rte v1.0.1
Rich Text Editor (Markdown Component)
Description
The RTE component is a simple partial which supports the usage of markdown files just by referencing them in your file system.
Requirements
- mangony-hbs-helpers - In this library a markdown parser is integrated.
Installation
Installation with Veams
veams install component rte
veams -i c rte
Fields
rte.hbs
Settings
Parameter | Type | Value | Description |
---|---|---|---|
settings.rteContextClass | String | default | Context class of the component. |
settings.rteClasses | String | Modifier classes for the component. | |
settings.rteCWD | Boolean | Set to true if you want use the current working directory of the page. | |
settings.rteCWDLevelUp | Number | You can go up directories by providing a number. |
Content
Parameter | Type | Description |
---|---|---|
content.rteMd | String | Path to markdown file (starting at the root directory if you do not use settings.rteCWD ). |