Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item10089: WysiwygPlugin should allow editors to work on double bracket links as tags

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement Closed Extension TinyMCEPlugin, WysiwygPlugin  
Let's fix links in WYSIWYG. The editor should instruct
WysiwygPlugin if it wants links as [[links]], otherwise deliver them as <a> tags.

-- PaulHarvey - 27 Nov 2010

Possible approach would be Item10082 in combination with a if statement (if context CKEditorPluginEnabled then).

-- AlexanderStoffers - 10 Dec 2010

I should have some time this weekend. It would help a lot of your patches contained unit tests - otherwise I have to write them, which takes time.

-- PaulHarvey - 11 Dec 2010

A problem which will go away: currently it's possible to apply styles to the target portion of [[target][link text] links, Eg. italics, which buggers the target topic name. No styles should be allowed in the target link portion.

-- PaulHarvey - 10 Feb 2011

See also Item1396

-- PaulHarvey - 28 Feb 2012

I think this is now fixed with checkins against Item1396.

-- GeorgeClark - 24 Apr 2012

Further fixes. Now supports all TML links with the exception of a topic link with embedded spaces. That case still renders as protected text.

-- GeorgeClark - 05 May 2012

Added one more style. Legacy link format [[http://blah.com/ link text]] will be converted to an html link, and will be saved as a new style [[http://blah.com][link text]] link. This upgrades the legacy links when edited.

-- GeorgeClark - 09 May 2012
 
Topic revision: r18 - 02 Dec 2012, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License