Make WordPress Core

Opened 5 weeks ago

#61237 new defect (bug)

When Editor becomes an iframe, relative path content is not displayed correctly

Reported by: sawanoboly's profile sawanoboly Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


The editor canvas becomes an iframe (blob) under certain conditions, but there is a tag I would like to see added to the embedded html generated when this happens.

In my environment, when adding images to an article, I sometimes use relative URLs instead of absolute URLs.
In that case, the image in the iframe cannot be previewed.

To solve this problem, you need to add a base tag to the header part of the html in the iframe.

Here is an example

  <base href="{WP_HOME_URL}" />


I issued a similar question below, but I heard Trac is better, so I'm posting it back here.

Please consider this.

Change History (0)

Note: See TracTickets for help on using tickets.