Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 838 Bytes

README.md

File metadata and controls

44 lines (35 loc) · 838 Bytes

MMF Blog Editor (WYSIWYG)

  • Titles, link, Bold/Italic, code
  • Media: Image upload and resize, embedded video (Or by recognizing youtube links etc...)
  • Embeddable MyMiniFactory object

How it works

Basic config

import React, {Component} from "react";
import RichEditor from 'mmf-blog-editor';

export default class EditorEnvironment extends Component {
    render() {
        return (
            <div>
                <RichEditor/>
            </div>
        )
    }
}

Customization

Props

  • enablePhotos (bool)
  • enableYT (bool)
  • enableMMF (bool)
  • enableEmoji (bool)
  • enableUndo (bool)

Build and release for production

git checkout build
git merge master # Or the branch that you want to release
npx rollup -c rollup.config.js
git add build
git commit -m "Update"
git push origin build