Sha256: 48cf7829017eb50ecfc7e4cb8e49ae316785da3289572735cc6546c55a409527

Contents?: true

Size: 481 Bytes

Versions: 948

Compression:

Stored size: 481 Bytes

Contents

import React, { useState } from 'react'
import { RichTextEditor } from 'playbook-ui'

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

948 entries across 948 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui-14.11.1 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
playbook_ui_docs-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx