Skip to content

MyMiniFactory/mmf-blog-editor

Folders and files

NameName
Last commit message
Last commit date
Jun 24, 2021
Aug 23, 2019
Sep 11, 2020
Feb 18, 2020
Mar 3, 2020
Sep 16, 2019
Sep 16, 2019
Sep 16, 2019
Jul 31, 2020

Repository files navigation

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