-
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
Classic block: Convert to Blocks removes data, rb, and rtc elements #11775
Comments
Thanks for clearly written issue! Since I wasn't familiar with these HTML elements, I looked them up and found some have limited browser compatibility and wanted to make a note about that and link to their respective specs for reference: |
This is now fixed. Probably by some of the changes that affected #12029 |
@nosolosw I can still reproduce in latest |
Hi @ZebulanStanphill this is a GIF I've just recorded with the latest I understood that was what you were expecting to happen, is that correct? |
@nosolosw No. If you look at the resulting markup, some of the tags have been stripped out. The The title of this issue says |
Oh, you are so right, I was confused by the actual text while looking at other issues at the same time. |
This is how the classic editor works (TinyMCE). There's nothing I can do about that. You'll notice that it works in Gutenberg:
<p><data value="value">data</data> <ruby>ruby <rb>rb</rb> <rp>rp</rp> <rt>rt</rt> <rtc>rtc</rtc> <rp>rp</rp></ruby></p>
|
The issue
<data>
,<rb>
, and<rtc>
elements are not preserved when converting a Classic block to other blocks using the Convert to Blocks option.Reproduction steps
<data>
,<rb>
, and<rtc>
elements to be removed.Related issues and PRs
The text was updated successfully, but these errors were encountered: