@veams/component-rte

The RTE component is a simple partial which supports the usage of markdown files just by refencing them in your file system.


Keywords
veams
License
MIT
Install
npm install @veams/component-rte@1.0.1

Documentation

npm version Gitter Chat

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


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).