Opened 4 years ago

Closed 4 years ago

#13270 closed Bug (wontfix)

When copy images between editor their src may nee to be corrected (different domains or base paths)

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

See #5218, #641and dozen other tickets. They were a reason to introduce data-cke-saved-src which is not affected when copying images or getting data from editor. This attribute keeps the exact value set by the user.

However, it has a side effect. When copying image from editor1 to editor2 and:

  • if these editors work in different domains or under different paths (or basePaths are set differently),
  • and if the source was set relatively to the editor path,

then after copy and paste such image will have a URL relative to editor1 while it operates under different path (that of editor2). Hence - it won't display.

Funny thing is that browsers copy a full path with the domain to the clipboard, so if we let browser do the job, everything would work. However, exactly this feature of the browsers was a reason to introduce data-cke-saved-src.

Change History (1)

comment:1 Changed 4 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: newclosed

There's no reasonable fix for this issue. It is a side effect of a fix for much more important problem (that reported in mentioned tickets). Therefore I'm closing this ticket as "won't fix".

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy