-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Converting To Blocks Looses Existing Anchor Tag Parameters #4498
Labels
[Feature] Paste
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Milestone
Comments
jorgefilipecosta
added
the
[Status] In Progress
Tracking issues with work in progress
label
Mar 23, 2018
I also noticed converting from Classic Post to Blocks also loses class names. Test Create Classic Post with:
Open post in editor and convert to blocks, both class names are lost. |
2 tasks
danielbachhuber
added
the
[Type] Bug
An existing feature does not function as intended
label
Apr 10, 2018
This was referenced Apr 10, 2018
Well also other attributes, for example ARIA roles and properties, get stripped out. For example, this:
is converted to:
Maybe time to rename this issue 🙂 |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Feature] Paste
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Issue Overview
When converting an existing post to blocks, all anchor tag parameters are lost (with the exception of href). For example, target="_blank" is removed and also rel="nofollow" is removed. When converting to blocks, all existing HTML for an anchor tag should remain during a conversion to blocks.
Steps to Reproduce (for bugs)
Expected Behavior
When converting to blocks, all existing HTML for an anchor tag should remain during a conversion to blocks.
Current Behavior
When converting an existing post to blocks, all anchor tag parameters are lost (with the exception of href). For example, target="_blank" is removed and also rel="nofollow" is removed.
Possible Solution
Screenshots / Video
Related Issues and/or PRs
Todos
The text was updated successfully, but these errors were encountered: