maptool
maptool copied to clipboard
[Bug]: Notes with type text/markdown can not be scrolled in HTML view
Describe the Bug
When editing a token's Notes with the type text/markdown
, if you switch to the HTML view, the entire section is locked down. This is surely to prevent editing, but a side-effect is that the scroll bar is also disabled, and so sufficiently long notes can't be viewed in their entirety in this view.
To Reproduce
- Edit a Token
- Switch to the Notes view
- Set the type to
text/markdown
- Enter input long enough that it would extend beyond the vertical bounds of the HTML view
- Switch to the HTML view
- Attempt to scroll down the frame with the mouse wheel or scroll bar
Expected Behaviour
I expect to be able to scroll down the frame to view the entirety of the note's formatted contents.
Screenshots
No response
MapTool Info
Version: 1.14.3
Desktop
Arch Linux
Additional Context
No response
A (slightly risky) workaround is to switch to the MIME type dropdown text/html
while on the HTML notes tab, which will reenable any scroll bar present and allow mouse scrolling. The risky bit is if you click back to the TEXT tab before resetting the type back to text/markdown
it will convert all your lovely markdown text to html tags...
If you do this accidentally just don't click the OK button as it will save this unintended html to the notes and you will lose the markdown entirely. If you click the Cancel button you will instead just lose any markdown changes you have made since last editing the token. There is of course campaign saves to save the day, but not ideal in the middle of a game!