Jyoti Puri

Results 148 comments of Jyoti Puri

@zhyupe : the algorithm parses html not as tree / nested structure but rather as flat structure and it results in flat inline style tags. I do not plan to...

@artemisIrelia : white spaces in middle of text is considered as white space only and not converted to ` `. It is required to convert to convert `space` -> ` ` in...

@tammomueller : can you plz help here ?

@liSong5713: customEntityTransform currently is required to be a function. If present its call to generate html for entity. Plz not that - if case its present default behavior for entity...

Hello @cocacrave, This is true `draftToHTML` supports only limited tags. Content generated by `draftjs` does not have HTML tags they are added by `draftToHTML`. Sanitizing the html generated `draftToHTML` should...

Some unicodes take 2 characters and are creating trouble. Its going busier for me but I will try to check this soon.

Hi @svanetten1976 , `htmlToDraft ` can work only with html produced by `react-draft-wysiwyg`. I do not hope it to work with custom html mentioned above.

Thanks for reporting this @Jpunt , I will try to fix this soon.

Hi @codenamev , You can use `config` object to over-ride the defaults provided by the lib: https://github.com/jpuri/draftjs-to-markdown/blob/master/js/index.js#L553 I will add this more clearly to readme.

Separator should be space character and not string of length 0. I think fixing that will fix the issue.