Project:YUI Rich Text Editor
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

On a website hosted on an internal network, we use links to a network share using href="//computername/sharename". YUI appends http:// to the front of this, rendering the links useless.

Comments

#1

Seems like this may be an intentional behavior in the editor's javascript. It also doesn't allow you to enter in anything that looks like XSS attempt.

#2

Yeah this is an internal YUI Editor behavior. If anyone can look through the docs and find an override for this I will be happy to update the code with a new feature. Patch also welcome.

#3

It would be nice if YUI developers could make a little checkbox to denote 'this is local internal link, do not prepend http://'

Until then, use the automagic link wizard like normal.

Then enter plaintext/html code editing view and manually delete the 'http://' from your link's href. Be sure to exit the code view before saving or it will lose your changes.