0.1.3 • Published 2 years ago

proto-editor v0.1.3

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

ProtoEditor

Rich content is a complex problem and ProtoEditor solves it for you. You can quickly and easily add Rich Content to your React projects.

Features

Allows users to create rich content with the following elements

  • Block Quotes
  • Headings (6 sizes)
  • Paragraphs
  • Lists (Bulleted and Ordered)

Allows users to format text in the following ways:

  • Text Styling (Bold, Italics, Underline and Strikethrough)
  • Text Alignment (Left, Center, Right and Justify)
  • Text Color

Allows users to Theme their rich content in both Light and Dark Themes. This can be controlled or automatic.

Component API

ProtoEditor

readOnly

  • Renders the editor in read only (or edit) mode.
  • Values: true or false

theme:

  • Renders editor and content in whatever Theme the user configures.
  • Values: See "Theme" type definition

themeType (optional):

  • Manually controls which theme (light or dark) is shown in the editor
  • Values: See "ThemeTypes" definition

content (optional):

  • Rich content to be rendered by Editor. When not passed, an empty document is created.

Current Version: 0.1.3