Etymology
Today it means: In a fanciful manner. Full definition →
From fanciful + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.