We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I need a new type of block with element <address> as wrapper
<address>
such like <span> I am currently on the way to <address> 1600 Amphitheatre Parkway, Mountain View, CA, 94043 </address>.<span>
<span> I am currently on the way to <address> 1600 Amphitheatre Parkway, Mountain View, CA, 94043 </address>.<span>
In order to specify which part of text should be treated as address (for mobile app)
I will send pr to both draftjs-to-html and this repo, probably should also modify draftjs-utils according to this issue. facebookarchive/draft-js#1211
draftjs-to-html
draftjs-utils
but I cannot decide the style in editor, so I do need your help in draftjs-utils @jpuri
Thanks!
The text was updated successfully, but these errors were encountered:
Hey @haharu ,
I was looking at this: https://www.w3.org/TR/html4/struct/global.html#h-7.5.6 Looks like address is not a block level tag. I do not think we should include it in blocks.
I would rather prefer to create a custom toolbar option for a tag like this.
Sorry, something went wrong.
hi @jpuri,
thanks for your advice, I will close this issue and pr.
No branches or pull requests
Hello,
I need a new type of block with element
<address>
as wrappersuch like
<span> I am currently on the way to <address> 1600 Amphitheatre Parkway, Mountain View, CA, 94043 </address>.<span>
In order to specify which part of text should be treated as address (for mobile app)
I will send pr to both
draftjs-to-html
and this repo, probably should also modifydraftjs-utils
according to this issue.facebookarchive/draft-js#1211
but I cannot decide the style in editor, so I do need your help in
draftjs-utils
@jpuriThanks!
The text was updated successfully, but these errors were encountered: