mapper
mapper copied to clipboard
Link from symbol description to O-Map Wiki
This is proposal
for adding a link from symbol description to symbol in O-Map Wiki. Such solution can be beneficial for beginners to see also text with graphics and photos related to map symbols. The problems now are following:
- Symbol description is shown as bubble and with mouse move disappear
- Links in description are not automatically converted to hyperlinks
Actual behaviour
Expected behaviour
Configuration
Mapper Version: 0.9.5 Operating System: Win XP
An option could be to add the lookup via right-click on a symbol:
My preference would be to have some sort of info window (maybe just extend the Measure window) which would be capable to process html code. The window could beside a properly layouted symbol specification contain the link to the o-map wiki examples but also a description on how to use the symbol (e.g. that the slope line should be snapped to the contour to have the correct length)
2. Links in description are not automatically converted to hyperlinks
You can add HTML <a>
tags. But you can't reach them before the tooltip disappears :-(
But it also adds load to the translations.
I think that tooltip is still good place for the link. Is it possible to change behaviour when tooltip disappear from mouse move to mouse click?
---------- Původní e-mail ---------- Od: Kai Pastor @.> Komu: OpenOrienteering/mapper @.> Datum: 20. 4. 2022 10:33:43 Předmět: Re: [OpenOrienteering/mapper] Link from symbol description to O-Map Wiki (Issue #2059) "
" 2. Links in description are not automatically converted to hyperlinks " You can add HTML tags. But you can't reach them before the tooltip disappears :-(
Unbenannt (https://user-images.githubusercontent.com/13567791/164186198-e02ae343-6db8-4616-a52c-12b4ffee93a6.png)
But it also adds load to the translations.
— Reply to this email directly, view it on GitHub (https://github.com/OpenOrienteering/mapper/issues/2059#issuecomment-1103619239) , or unsubscribe (https://github.com/notifications/unsubscribe-auth/ADZ2ZGTVZ22IYNBCGENM23TVF66OBANCNFSM5TVLU7EA) . You are receiving this because you authored the thread. Message ID: < @.***> "
Indeed it is possible to structure the text with html tags. One flaw though is that the editor is also interpreting these html tags such as the themselves are not editable and are removed at saving an edit.
e.g. here the p tag is applied here but gone on saving the edit.
So if we decide to use html here, the editor should show html tags instead of interpreting them.