Greetings,
Been playing around with the wiki, and one feature that I'm trying to add right now,is to have some kind of select / combo box (BackPack List maybe :) ), on the editing page so that when entering data, you'd have access to all the 'WikiWords' that have
been entered into the wiki.
A slick implementation would be to have an Ajax popup appear right in the middle of the textarea, from a RMB or other keystroke, but I'd settle for in decreasing order of "coolness" :
1) a select control that when an item is selected, the selected WikiWord appears in the textarea at the cursor position, is this possible with Ajax ?
2) a "combo" box, where the selected W.W. could be cut /pasted into the document
3) a select box where at least the WW's are displayed, so that you can see one and manually
type it in
I have #3 working at the moment. It's pretty simple, in the Wiki edit action, I just get all the links in the system :
@links = WikiReference.find(:all)
then use "standard" Rails idioms to display a Select control on the edit page.
Mike
|