1.0.1-beta.2 • Published 4 years ago

@latticejs/froala-editor v1.0.1-beta.2

Weekly downloads
15
License
MIT
Repository
-
Last release
4 years ago

@latticejs/froala-editor

A editor component built upon froala-editor.

Install

npm install @latticejs/froala-editor --save-dev

Usage

import React from 'react';
import Editor from '@latticejs/froala-editor';
import '@latticejs/froala-editor/styles/css/style.css';

export default class EditorComponent extends React.Component {
  render() {
    return (
      <Editor />
    )
  }
} 

The above snippet will render a basic Editor with a material look'n'feel. It also support themes (dark, light).

Props

config model onModelChange

For detailed documentation of props , refer to following link : https://www.froala.com/wysiwyg-editor/docs/framework-plugins/react .