Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9938 closed Bug (invalid)

'/node' added to image and url paths after clicking save button in drupal

Reported by: Simranjit singh Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.5
Keywords: Cc:

Description

I am using CKEditor 3.6.5 in Drupal 6.27

While giving paths for images and links in CKE, '/node' is added in front of the path, after I click save button.

For example: If path of the image is src="folder1/folder2/image.jpg" After clicking the save button the image does not display. If I again edit the page, the image url is: src="/node/folder1/folder2/image.jpg"

'/node' is added automatically, which breaks the image source and hence the image is not displayed. Same thing happens with the url paths.

But If i use a slash in front of the path like src="/folder1/folder2/image.jpg" then the image is shown, It works fine on the website at root directory. However , I am using another website that is in the subfolder at the server. then path with '/' in front of it becomes an absolute path and the image doesnot display.

Could you please let me know of the solution to this problem.

Change History (2)

comment:1 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

CKEditor has nothing to do with saving. If this was happening when you switch to source and back or when you destroy/create editor with ajax sample (which populates editor with earlier written on HTML page data) then this would be a bug in editor.

If you want to file a bug for drupal module please do it here - http://drupal.org/project/issues/ckeditor?text=&status=All&priorities=All&categories=All&version=All&component=All

comment:2 Changed 11 years ago by Simranjit singh

Thanks @j.swiderski for your input.

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