Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#9441 closed Bug (expired)

anchors problem copying from word

Reported by: marcelo Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version:
Keywords: Cc:


hello! im trying ckeditor_3.6.5 and i have a little problem. when I copy a text from word with anchors, and paste it in ckeditor, all "anchor links" are converted to absolute, ex:

anchor from word "#more" url used by cms: /cms/edit.php

conversion by ckeditor: "/cms/edit.php#more" but, I have a separate ULR for CMS and website, how can I configure CKEDITOR to convert anchor only to "#more", without the CMS BASE PATH


Attachments (1)

AGUIRRE, Algunas cuestiones sobre el seguro ambiental2 editor.doc (62.0 KB) - added by marcelo 11 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by Jakub Ś

Keywords: anchor copy word relative absolute removed
Status: newpending
Version: 3.6.5

I have tried to use anchors in word document and didn't get this result. Anchors were pasted as they were created.

  • Could you perhaps provide sample Word file showing this problem?
  • If I understand correctly you open Word file on desktop, copy file into CKEditor through CMS which is located on site A but on site B links don't work. Is that correct?

comment:2 Changed 11 years ago by marcelo

Hi! i have attached a Word file to show the problem. I open the file at my desktop (on disk C) on word, and copy it. after, I paste this content on CKEDITOR, using a cms at (backend) All anchors from word are copied correct to CKEDITOR, but when I save my copied content in my CMS, all anchors are converted from relatives to absulutes like So, when I show the copied article on my frontend at, all anchors are absolute to the cms like I will need that anchors from copied from word keep relatives..... Momentanialy, I solve it using a str_replace at frontend I hope you can understand. THanks a lot!!

comment:3 Changed 11 years ago by Jakub Ś

Hi, sorry for late response. Could you tell me if this is happening in IE browser or every browser?

If this is happening in every browser then I would blame your CMS -

I save my copied content in my CMS

If this is happening only in IE then this won't fix issue just like #8022 and only user custom method just like your string replace can be used here.

comment:4 Changed 11 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed

comment:5 Changed 10 years ago by Frederico Caldeira Knabben

Component: GeneralPlugin : Paste from Word
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy