Rich text element

Information

Folder
src/components/rte

Files

// src/components/rte/schema.json

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "required": [
    "html"
  ],
  "properties": {
    "html": {
      "type": "string"
    }
  }
}

Variations

Introduction

miyagi is a component development tool for JavaScript templating engines.

Benefits

  • No overhead in your project by running _miyagi_ without a configuration file.
  • Works with any folder structure.
  • Helps you developing your components encapsulated.
  • Validates your components for HTML and accessibility violations.
  • Mock data (static or dynamic) allows developing independently from a backend.
  • Validates your mock data against your JSON schema.
  • Documentation of your components using markdown.
  • The layout is customizable, so it fits to your project.
  • Supports lots of template engines by using consolidate.js internally.
  • Allows creating a static build.
  • Lets you create components via CLI.