Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.8.1
-
None
Description
When a space is clicked in the tree, e.g. "Main", the suggest prints only the space name: "Main".
If the user inserts such in the suggest, selection does not change in the tree, getSelectedSpace(), getSelectedPage return the last page selected in the tree, by clicking it.
One solution could be to set the suggest input to Space.WebHome when a space is selected, this way, references in the suggest will be consistent (always of the form Space.Page). Another solution would be to find a way of resolving incomplete references in the suggest (either consider inserted text as page and look for it in the currently selected space or consider it as a space).