Opened 9 years ago
Closed 8 years ago
#14582 closed New Feature (wontfix)
Unable to edit meta tags (microdata) within a widget
Reported by: | AlexW | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
I've got a widget that provides a template for creating a recipe. It has fields for preparation and cooking times with associated microdata meta tags.
<meta itemprop="prepTime" content="" /> <meta itemprop="cookTime" content="" />
I've got a keyup
event that listens on the editables so the content
attributes can be updated.
The problem is the meta
tags are converted to comments which makes them difficult to update.
Could a way to manage these be added?
Change History (1)
comment:1 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Version: | 4.5.8 |
Unfortunately not.
Some time ago we have decided that meta tags in body element will be protected.
The only solution I could recommend here is that your widget goes through all the comments in document recognizes meta elements and updates their content attributes (decoding/encoding if necessary).
I assume you already know that but if you are using ACF you need to allow meta tags in CKEditor or better widget configuration e.g.