Open MykolaGolubyev opened 7 years ago
Hello, Is it possible to change the way Image gets rendered as HTML? For my task it would be enough to override ENTITY_ATTR_MAP for the image.
More context: I am using Image Alignment plugin (https://www.draft-js-plugins.com/plugin/alignment) and need to propagate align property to the generated html
Hey could you get around this? I'm trying to do the same... The align is not saved in the HTML, so when I convert it back to edtiorState I loose the alignment.
Hello, Is it possible to change the way Image gets rendered as HTML? For my task it would be enough to override ENTITY_ATTR_MAP for the image.
More context: I am using Image Alignment plugin (https://www.draft-js-plugins.com/plugin/alignment) and need to propagate align property to the generated html