Sha256: d0af1e5a9ea9d0168cb18c779275fd832e7964082c8ca08540761e04d91e43af

Contents?: true

Size: 476 Bytes

Versions: 915

Compression:

Stored size: 476 Bytes

Contents

import React, { useState } from 'react'
import { RichTextEditor } from '../../'

const RichTextEditorDefault = (props) => {
  const [value, setValue] = useState('Add your text here. You can format your text, add links, quotes, and bullets.'),
  handleOnChange = (html) => setValue(html)

  return (
    <div>
      <RichTextEditor
          onChange={handleOnChange}
          value={value}
          {...props}
      />
    </div>
  )
}

export default RichTextEditorDefault

Version data entries

915 entries across 915 versions & 2 rubygems

Version Path
playbook_ui-13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.33.0.pre.alpha.PLAY1454formpillicons3309 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.33.0.pre.alpha.PLAY1454formpillicons3309 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.33.0 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.32.0.pre.alpha.PBNTR405dropdownformfixesrails3301 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.32.0.pre.alpha.PBNTR405dropdownformfixesrails3301 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.32.0.pre.alpha.PLAY1138iconkitaddcolorprop3268 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.32.0.pre.alpha.PLAY1138iconkitaddcolorprop3268 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.32.0.pre.alpha.play1416movealiaslogic3266 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.32.0.pre.alpha.play1416movealiaslogic3266 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.32.0.pre.alpha.play1416movealiaslogic3239 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.32.0.pre.alpha.play1416movealiaslogic3239 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.32.0.pre.alpha.PLAY14103236 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.32.0.pre.alpha.PLAY14103236 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.31.0.pre.alpha.play1416movealiaslogic3232 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.31.0.pre.alpha.play1416movealiaslogic3232 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.31.0.pre.alpha.PBNTR342navtabbing3231 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.31.0.pre.alpha.PBNTR342navtabbing3231 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-13.31.0.pre.alpha.PBNTR342navtabbing3230 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-13.31.0.pre.alpha.PBNTR342navtabbing3230 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx