nhn / toast-ui.react-editor

This repository is DEPRECATED! GO TO 👉 https://github.com/nhn/tui.editor/tree/master/apps/react-editor
MIT License
45 stars 12 forks source link

I have a question about how to add new toolbar option to props #13

Closed mnosuk closed 5 years ago

mnosuk commented 5 years ago

we have props toolbarItems and we have ext

  <Editor
    initialValue="hello react editor world!"
    previewStyle="vertical"
    height="600px"
    initialEditType="markdown"
    useCommandShortcut={true}
    exts={[
      {
        name: 'chart',
        minWidth: 100,
        maxWidth: 600,
        minHeight: 100,
        maxHeight: 300
      },
      'scrollSync',
      'colorSyntax',
      'uml',
      'mark',
      'table'
    ]}
  />
);

but i'm not sure if i want to add something like "textbubble" for my toolbar, how can I add it?