draft-js-import-html icon indicating copy to clipboard operation
draft-js-import-html copied to clipboard

make INLINE_ELEMENTS, SPECIAL_ELEMENTS, SELF_CLOSING_ELEMENTS options configurable from outside of package

Open Tommy10802 opened this issue 9 years ago • 2 comments

Hello, i want to ask you is this features "make INLINE_ELEMENTS, SPECIAL_ELEMENTS, SELF_CLOSING_ELEMENTS options configurable from outside of package" is in your plan to implement? Because i am using your package because of i need to import html with custom tags into draft js editor. And your plugin is supporting this feature in stateFromElement function when you can defined options parameter. But problem my custom tag is inline element and your plugin parsed it as block element because is not at list of INLINE_ELEMENTS

Tommy10802 avatar Aug 11 '16 12:08 Tommy10802

+1

jonaswindey avatar Sep 05 '16 15:09 jonaswindey

Please add also: ELEM_ATTR_MAP

emplv avatar Sep 16 '16 11:09 emplv