Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tommy10802 opened this issue Aug 11, 2016 · 2 comments

Comments

@Tommy10802
Copy link

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

@jonaswindey
Copy link

+1

@emplv
Copy link

emplv commented Sep 16, 2016

Please add also: ELEM_ATTR_MAP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants