internal links and yui editor

bejam - March 8, 2009 - 15:43
Project:YUI Rich Text Editor
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Is there a way of specifying an internal link when clicking the link button? - yui prepends "http://" to any link given

#1

jpeters - March 27, 2009 - 14:51

I'm having this issue as well. Did you ever find a solution or a work around for it?

#2

jpeters - March 27, 2009 - 14:54

I'm having this issues as well. Bejam, did you ever find a solution or a work around for this?

Thanks in advance.

#3

bejam - May 29, 2009 - 12:48

No I never did - am still looking! It is quite annoying when trying to move a database between development and production - where you want the internal links to work on both rather than specifying a full URL

#4

koyama - June 25, 2009 - 20:20

+1 subscribe

#5

kirkhings - July 13, 2009 - 21:05

Here is how:

Go ahead and use the link automagic wizard to specify your internal link, click the 'x' to exit that automagic wizard.

Then enter the html/code editor (that button in the YUI editor, have to enable it in YUI settings if you have not already), find that link, and manually delete the 'http://' from the link's href. Be sure to exit the code view before saving or YUI ignores the changes you made while in code view.

Let's hope the YUI developers add a simple checkbox in the next release to indicate if you want to specify an internal local link path so their module doesn't do that anymore.

 
 

Drupal is a registered trademark of Dries Buytaert.