• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Wrapping attachment with div disables it's attirbutes

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Wrapping attachment with div disables it's attirbutes

    • Issue Tools
      • View Changes
    1. issueid=3916 August 14, 2014 1:35 AM
      delicateglow delicateglow is offline
      Junior Member
      Wrapping attachment with div disables it's attirbutes

      If I wrap an attachment with [div] tags (more specially, float to right), the image becomes unclickable and does not appear to have frame and border enabled, even though it was chosen. The caption will not show either.
    Issue Details
    Issue Number 3916
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Working as Designed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.0 RC 1
    Fixed Version (none)
    Milestone VaultWiki 4.0 Gold
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 14, 2014 8:20 AM
      pegasus pegasus is offline
      VaultWiki Team
      Can you post the exact BB-Code that you used? Using only the information provided in your post, I am unable to reproduce this issue in https://www.vaultwiki.org/demo/In-Stream
      Reply Reply  
    2. August 14, 2014 12:53 PM
      delicateglow delicateglow is offline
      Junior Member
      Code:
      [div] style="float: right" |
      [file]File:Image|border|frame|Caption[/file]
      [/div]
      Reply Reply  
    3. August 14, 2014 1:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      Interesting. This example works:
      Code:
      [div] style="float: right" |
      [file]Image:fuckipedia.JPG|border|frame|Caption text[/file]
      [/div]
      Parsed:

      Caption textCaption text

      So I will need a link to an example that doesn't work.
      Reply Reply  
    4. August 14, 2014 2:29 PM
      pegasus pegasus is offline
      VaultWiki Team
      According to the BB-Code cache, you have DIV with "Is this a Wiki link BB-Code" = "Yes" in the Syntax Manager. VaultWiki doesn't want to put a link inside another link (not valid HTML), and since links are inline-level elements, it doesn't want to put the image in a block-level container with borders (that would also be invalid HTML).

      Currently this is all functioning as designed. Since you have told VaultWiki that the containing DIV is a link and it knows links are inline, it uses the behavior for inline images. The caption will show as alt text if you hover over the image.

      If you would like to have images function as expected in a DIV, and also have DIV function as a block-level element like it does in HTML, then you should turn off the setting "Is this a Wiki link BB-Code" for DIV.
      Reply Reply  
    5. August 14, 2014 2:52 PM
      delicateglow delicateglow is offline
      Junior Member
      Ah, makes sense. Thanks
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 5:13 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.