1.0.5 • Published 4 years ago

@raketa-cms/raketa-mce v1.0.5

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

@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

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago