React-draft-wysiwyg: How to add caption to the image file to describe the function of the file.

Created on 25 Sep 2017  路  5Comments  路  Source: jpuri/react-draft-wysiwyg

For example, in the picture below the display of a div to fill out the description of the picture information, and will not be deleted by the delete the entire file are deleted, can give some ideas. Thank you

Most helpful comment

Is this feature available now?

All 5 comments

Ask the idea Thank you

@bang88 @enkrates @jackmoore @the1sky

@janjon : editor atm does not support image caption. I will develop this feature but I can not commit how soon.

@jpuri Thank you for your reply, my current program is to add an image decorator, type is the picture I will add an unstyled block and let it have entityRanges point to the entityMap, but I now have a problem that is my picture is empty Time and can not properly render the decorator definition, and I want the user can not press Backspace to clear the current block of the text. And I can not inject onKeyDown event, there is no good way.

Is this feature available now?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dahudson88 picture dahudson88  路  3Comments

gyarasu picture gyarasu  路  4Comments

Fireprufe15 picture Fireprufe15  路  4Comments

sontek picture sontek  路  4Comments

jpuri picture jpuri  路  4Comments