Feature Proposal: It would be nice if TinyMCE's Insert/Edit link dialog had a possibility to search through all topic names


Sometimes you want to insert a link to the existing topic but you don't remember exactly it's name

Description and Documentation

It would be nice if TinyMCE's Insert/Edit link dialog had a possibility to search through all the topic names. It could have a browse area and a search field, and give you suggestions as you type.





-- Contributors: YuryGolev - 22 Mar 2011


Something like they have in WordPress would be ideal.


-- AndrewJones - 22 Mar 2011

This is similar to the Sharepoint feature Auto proposal of topic names during editing.

-- FranzJosefGigler - 22 Mar 2011

This is a high priority for me. I intend to have something done by the end of April. First step is to convert [[links]] to <a href="..., and that means carefully running through the WysiwygPlugin unit tests (with the Selenium) to minimise any new breakage.

I would like to think about making the link dialogue accessible to wiki app developers; so that the scope of links users may insert can be helpfully restricted. I'll just be using an ajax load of a topic section, I think that will be sufficient (but the JS needs to be done in a way that doesn't close too many doors).

-- PaulHarvey - 22 Mar 2011

Cool, look forward to seeing how this progresses smile

I would have thought that it wouldn't need many changes to the WysiwygPlugin. Just a TinyMCE plugin and a rest call to populate the topics when someone starts searching.

It might be easier to take WordPress' front-end code and adapt it to Foswiki, rather than duplicating their efforts.

-- AndrewJones - 23 Mar 2011

There's an insert-link-dialog with autocompletion as part of NatEditPlugin that comes very close to the above screenshot. It might also be worth noting that Confluence's editor has got some very handy features to insert links of all kind using action codes from within the editing process (no modal dialog). Very cool.

-- MichaelDaum - 23 Mar 2011
Topic revision: r6 - 23 Mar 2011, MichaelDaum
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