#45823 closed defect (bug) (invalid)
Custom HTML block editor stripping HTML tags
Reported by: | streetlogics | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.0.2 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
I was using the Gutenberg editor prior to the 5.0.0 upgrade and was able to insert iframe and script tags via custom html blocks. Now that I've upgraded to 5.0.X, I can no longer create a custom HTML block with iframe or script tags. Is there a way I can change the way it's apparently stripping HTML tags from my custom HTML blocks? I'm unsure if this issue is in the new codex or a problem with Gutenberg, so I'm submitted the ticket in both places. This feels a little heavy handed, and incredibly odd and frustrating that this was working just fine prior to the "official" upgrade to use Gutenberg as the default editor. As a web developer, I expect to have 100% control over things like "custom HTML blocks" without having the editor interfere.
Realized I was editing with a non-admin user, admin users can upload custom html content of any type no issues.