Draft-js: convertToHTML method

Created on 11 Apr 2016  路  2Comments  路  Source: facebook/draft-js

Hello guys, i want to ask you if you are plannig method convertToHTML, opposite to convertFromHTML function. Output of this function will be raw html of current content of editor.

Thanks.

question

All 2 comments

No, since we do not have a use case for this at Facebook. However, there are utilities on GitHub that offer this behavior.

It is a really basic functionality that all wysiwyg editors support.

Was this page helpful?
0 / 5 - 0 ratings