globocom / megadraft

Megadraft is a Rich Text editor built on top of Facebook's Draft.JS featuring a nice default base of components and extensibility

Home Page:http://megadraft.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not Seeing Text Block in Menu

S1ark opened this issue · comments

-- Bug Report --

Expected Behavior

Text Block to be shown as part of left Menu

Current Behavior

Not Seeing Text Block in Menu

Steps to Reproduce

  <MegadraftEditor
            editorState={editorState}
            onChange={onChange}
            placeholder="Title"
          />

Browser, device, and OS

Screenshots

Screen Shot 2022-06-06 at 1 15 50 AM

Text Blocks are created by just typing into the editor. That's why it's not displayed in plugins menu.

Image and Video plugins are the default plugins when no plugins props is passed to <MegadraftEditor /> component. The screenshot shows they are rendered correctly.