geekhack

Site Announcements and Feedback => Announcements/Feedback/Suggestions => Topic started by: TheSoulhunter on Fri, 01 March 2013, 10:38:52

Title: Insert Hyperlink button suggestion
Post by: TheSoulhunter on Fri, 01 March 2013, 10:38:52
Insert Hyperlink button inserts:
Code: [Select]
[url][/url]

Now, something I know from other forums...


Insert Hyperlink button throws a prompt to type a URL resulting in:
Code: [Select]
[URL="URL"]URL[/URL]
Example: http://www.youtube.com (http://"http://www.youtube.com")



Insert Hyperlink button used on selected TEXT throws a prompt to type a URL resulting in:
Code: [Select]
[URL="URL"]TEXT[/URL]
Example: Check this out! (http://"http://www.youtube.com")



Insert Hyperlink button used on selected IMAGE throws a prompt to type a URL resulting in:
Code: [Select]
[URL="URL"][IMG]IMAGE[/IMG][/URL]
Example: (http://geekhack.org/Smileys/solosmileys/smiley.gif) (http://"http://www.youtube.com")


etc.

Makes life much easier! :)

Title: Re: Insert Hyperlink button suggestion
Post by: alaricljs on Fri, 01 March 2013, 10:41:08
What browser?  I have Firefox and it does exactly what you're asking for.
Title: Re: Insert Hyperlink button suggestion
Post by: TheSoulhunter on Fri, 01 March 2013, 10:48:16
What browser?  I have Firefox and it does exactly what you're asking for.

I use Firefox as well...
But selecting the "well" in the sentence above and hitting the button simply results in:

Code: [Select]
I use Firefox as [url]well...[/url]
On other forums it works!
Title: Re: Insert Hyperlink button suggestion
Post by: alaricljs on Fri, 01 March 2013, 11:53:40
Java ?
Title: Re: Insert Hyperlink button suggestion
Post by: TheSoulhunter on Fri, 01 March 2013, 13:05:06
Java ?

Enabled!
Btw, most of the mentioned forums where it works are vBulletin based...
Title: Re: Insert Hyperlink button suggestion
Post by: alaricljs on Fri, 01 March 2013, 13:37:01
Do you have WYSIWYG editor checked on this page:  http://geekhack.org/index.php?action=profile;area=theme  ?
Title: Re: Insert Hyperlink button suggestion
Post by: TheSoulhunter on Fri, 01 March 2013, 13:54:55
Do you have WYSIWYG editor checked on this page:  http://geekhack.org/index.php?action=profile;area=theme  ?

Well, WYSIWYG editor is somewhere in between...
While it throws the prompts and using the button on text or images works, you don't have editable tag code anymore, so meh :/
Title: Re: Insert Hyperlink button suggestion
Post by: alaricljs on Fri, 01 March 2013, 14:00:24
That silly arrow in red [] toggles to editable code.
Title: Re: Insert Hyperlink button suggestion
Post by: TheSoulhunter on Fri, 01 March 2013, 14:42:29
That silly arrow in red [] toggles to editable code.

I guess toggling it on/use/off/edit/on/use/off/edit... will do it as a work around, thanks for pointing that out :)
Anyway, I prefer the simple instant non WYSIWYG method vB uses, would be cool if it could be integrated here!