We had assumed that this UDI would keep the image src up to date, when the media item gets updated, or at the very least when the page is published again.
However that doesn't seem to be the case - the image src attribute never seems to get updated in any of the scenarios we tried.
Is this a WIP for the future, or are we missing a trick?
Bonus question - is there a way to force the src attribute URL to use an absolute path rather than a relative one?
Good question - I was wondering this myself. Unfortunately we'll need someone from the core team to really answer this, so let's hope they might read this!
TinyMCE media picker UDI data attribute
Hi folks,
We were wondering what the purpose of the
udi
data attribute is on images that are added into TinyMCE, e.g.:data-udi="umb://media/7cda1b1dc46c46f9a9d88d2d30f173a7"
We had assumed that this UDI would keep the image
src
up to date, when the media item gets updated, or at the very least when the page is published again.However that doesn't seem to be the case - the image
src
attribute never seems to get updated in any of the scenarios we tried.Is this a WIP for the future, or are we missing a trick?
Bonus question - is there a way to force the
src
attribute URL to use an absolute path rather than a relative one?Good question - I was wondering this myself. Unfortunately we'll need someone from the core team to really answer this, so let's hope they might read this!
Hi Guys,
I think it's there for the following reason.
Dave
Thanks Dave, that would make a lot of sense.
Hopefully in the future pipeline we can keep the image sources up to date when things change, such as an image file being replaced.
Does anyone know how to force those source attributes to be absolute URLs?
is working on a reply...