Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

studioraketa/raketa-mce

Repository files navigation

@raketa-cms/raketa-mce

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save @raketa-cms/raketa-mce

Usage

import React from 'react'

import { RichText } from '@raketa-cms/raketa-mce'

const App = () => {
  return (
    <RichText
      label="Text"
      value="<p>Create React <img src='https://placehold.it/100x100' /> Library Example 😄</p>"
      customStyles={[
        { key: 'highlight', title: 'Highlight', inline: 'span', classes: 'highlight' },
        { key: 'small', title: 'Small', inline: 'span', classes: 'text-small' },
      ]}
      onChange={value => console.log(value)}
    />
  )
}

export default App

License

MIT © studioraketa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published