Become a member
Sign in
Prabhanjan Kumar
Prabhanjan Kumar

Prabhanjan Kumar

124 Following
8 Followers
·
  • Profile
  • Claps
  • Highlights
  • Responses

Latest

Prabhanjan Kumar
Prabhanjan Kumar
Feb 19, 2018 · 4 min read

చైనీయుల నీతి పథం ‘తావొ తె చింగ్‌’ (19–02–2018 00:26:29 from Andhrajyothi Editorial)

Prabhanjan Kumar
Prabhanjan Kumar
Jul 31, 2016 · 1 min read

Draft.js Editor Internals — DraftEditorContents

for react developers…

Below code snippet highlights the key portions of the DraftEditorContents that shows how it reads the blocks from editorState and converts into html elements.

Prabhanjan Kumar
Prabhanjan Kumar
Jul 31, 2016 · 2 min read

Draft.js Overview with Code snippets

for react developers,

DraftEditor(Editor Component) is the main component that controls contentEditable component and the root of the Editor.

class DraftEditor extends React.Component 
{
...
return
…

3