[4.1 Alpha 3] Admin cp: XF2.1 wiki button image url 404 for new wiki install (until any custom bbcode is saved)
After installing VW 4.1 Alpha 3 (build002) to a vanilla copy of XenForo 2.1.1 ... In the BBcode button manager, each of the VW button images fails to load the image:
Failed to load resource: the server responded with a status of 404 (Not Found).
It turns out that the image source path for each of the wiki buttons is pointing to the forum root directory, e.g:
Code:
<img src="bb_headline.gif" alt="">
For the public editor, the buttons weren't showing up at all (not even a placeholder)
However, if I locate one of the wiki bbcodes in Custom BB codes, open it in edit mode and then save it (without making any changes), this fixes the missing images. The path for the example above then becomes:
Code:
<img src="styles/default/vw/vw/editor/mce/bb_headline.png" alt="">
And now the buttons show up on the public editor, too. Weird

.
I'm not sure whether this is a VaultWiki or XenForo issue. With how the file extension changes from gif to png that seems to indicate that it is something VW related, but not sure.
In a moment I'll attach a screenshot showing the bbcode button manager from before editing/saving one of the custom bbcodes.