You are here: Foswiki>Tasks Web>Item10089 (02 Dec 2012, GeorgeClark)Edit Attach

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

pencil
Priority: Enhancement
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Extension
Component: TinyMCEPlugin, WysiwygPlugin
Branches: Release01x01 trunk
Reported By: PaulHarvey
Waiting For:
Last Change By: GeorgeClark
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy