Image assets in HTMLText fields belonging to dataobjects are not being published.
suggests otherwise, am testing with versioned dataobjects and the images inserted/uploaded via the editor are not published. The dataobjects are saved via the “publish” button.
It works correctly on SiteTree types though, so the difference might be the way publish is called on versioned dataobjects vs sitetree?
There’s an issue open about this here: Inconsistency: Publishing files linked in HTMLEditorField · Issue #75 · silverstripe/silverstripe-versioned · GitHub
With a few discussions about how best to implement it.
It’s being worked on right now by the infamous @TractorCow Will be in the 4.2.0 release.