You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the component somewhere in the block editor code by passing a notice message containing HTML tags
constnotice=`አማርኛ (<code>am</code>) is not available as target language with DeepL.<br>Afrikaans (<code>af</code>) is not available as target language with DeepL.`;
...
<DisplayNoticenotice={notice}/>
The notice should be displayed like this
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
No
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered:
Description
In classic editor we can introduce some limited HTML tags (
<br>
,<code>
,<a>
) by usingwp_kses()
function for exampleIn block editor these tags are always converted to text.
Is there a way to do that correctly in block editor or is it something that will be never possible?
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
No
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: