• 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
    • Feature
    • Support for new XF2.2 editor

    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: Support for new XF2.2 editor

    • Issue Tools
      • View Changes
    1. issueid=6062 June 15, 2020 6:26 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Support for new XF2.2 editor

      Please add support for the new XF 2.2 editor.
      Please mind that it now supports HEADING code as well as horizontal HR lines.
      It also has a new attachment manager.
      More info here:
      https://xenforo.com/community/thread...ements.181715/
    Issue Details
    Issue Number 6062
    Issue Type Feature
    Project VaultWiki 4.x Series
    Category Editing Pages
    Status Closed (Merged)
    Priority 7 - Minor Features / Enhancements
    Suggested Version 4.1.0 RC 3
    Implemented Version 4.1.0
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Votes for this feature 1
    Votes against this feature 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 16, 2020 9:47 AM
      ACL ACL is offline
      Regular Member
      I wonder if this new HEADING bbcode could be processed by VaultWiki to act as a substitute for VaultWiki's custom H bbcode only on wiki pages? I think that this could greatly simplify creating and editing wiki pages from having WYSIWYG headings in the editor that could still be included in a page's table of contents. Plus the usual wiki section head controls (e.g. share this section, show/hide).

      If it isn't too onerous, I'd like to see "Heading 1" render and function on wiki pages the same as [H=2], "Heading 2" as [H=3] and "Heading 3" as [H=4]. I can't speak for other admins, but at least with my site [H=1] is used infrequently. I also get that XF2.2's HEADING bbcode only offers 3 levels while [H] offers twice that many (1-6), but perhaps that's a necessary price to pay to make the wiki editing experience more accessible to a wider user base (not just power users). If more heading levels or 'hidden by default' are needed, [H] could still be used, it just wouldn't be WYSIWYG.

      If it is possible, I think it is safe to say that (at least in XF2.2+) the above would fulfill part 3 of an earlier feature request that I made in 2017 to make heading bbcode easier to use. Or maybe this idea can't be easily implemented. Hard to know when XF2.2 hasn't been released yet.

      What does everyone else think?

      PS: Here's a screenshot from from Kier's Have you seen...? video showing the XF2.2 editor heading menu.

      Attachment 1708
      Reply Reply  
    2. June 16, 2020 3:45 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      If that would be possible then that would be a really nice enhancement.
      Reply Reply  
    3. June 17, 2020 11:52 AM
      pegasus pegasus is offline
      VaultWiki Team
      The wiki headings currently provide specific functionality that is not possible to extend to a WYSIWYG format (the TOC splitting) due to the section-mismatch problem that it encourages users to create. We would only be able to add WYSIWYG handling by removing that functionality from the BB-Code and making it a formatting-only code (thus removing any benefit of ACL's suggestion) which would not be possible until: https://www.vaultwiki.org/issues/3259/

      It may be possible to provide editor controls without WYSIWYG, but since 4.1.x is feature-locked now, that is unlikely until a new branch.

      The following is likely regarding editor changes in XenForo 2.2, without waiting for a new branch:
      - Ensure that VaultWiki's HR BB-Code is automatically renamed when installing VaultWiki (existing installations should rename manually if they want to switch to XenForo's HR, potentially breaking existing usages). DONE
      - Ensure that wiki toolbar types still work properly in the updated button manager and are applied correctly to wiki editors. DONE
      - Ensure that the preview tab is implemented and working properly in wiki editors. DONE
      - Ensure that attachment editing still works properly in wiki comments. LOOKS GOOD
      - If possible easily, plug certain wiki BB-Codes, such as COMMENT, TEMPLATE, and FILE into the new Quick-Insert toolbar. Quick-Insert bar didn't make it into XF 2.2 final.
      Reply Reply  
    4. December 14, 2020 1:06 PM
      SeToY SeToY is offline
      Junior Member
      Quote Originally Posted by pegasus
      (existing installations should rename manually if they want to switch to XenForo's HR, potentially breaking existing usages).
      What would you recommend when upgrading from XF 2.1 to XF 2.2 and wanting to make the switch to XF's HR tag? What should I rename it to to be consistent with the automatic renaming?
      Reply Reply  
    5. December 15, 2020 3:17 PM
      pegasus pegasus is offline
      VaultWiki Team
      You can rename the HR BB-Code that VaultWiki created in the Custom BB Codes to anything you want really. Just keep in mind that anywhere you already used the BB-Code as HR will now be trying to use the XenForo version, which may not support the same features. So some cases of already used HR BB-Codes may need to be updated if they are important to the design/layout of a particular post (by editing that post).
      Reply Reply  
    6. December 15, 2020 3:20 PM
      SeToY SeToY is offline
      Junior Member
      Okay, so simply renaming it to (for example) [vwhr] would be sufficient enough (apart from changing already existing vw pages) for XenForo to automatically pick up their own [hr] implementation in the rest of the forum?

      And how would I go about doing that? Because when editing the hr tag, I get the message "Only a limited number of fields in this item may be edited" and cannot change anything of value.
      Reply Reply  
    7. December 15, 2020 4:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, your understanding is correct.

      It sounds like you are in the correct place, but XenForo might require your admin to be in development mode in order to rename BB-Codes that belong to add-ons. If you are unfamiliar with the process, it is achieved by adding something like this to XenForo's src/config.php file:
      Code:
      if (strpos($_SERVER['SCRIPT_FILENAME'], 'admin.php') !== false)
      {
      	$config['development']['enabled'] = true;
      }
      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 7:40 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.