• 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
    • Renamed Table Syntax Cleared on WYSIWYG Switch

    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: Renamed Table Syntax Cleared on WYSIWYG Switch

    • Issue Tools
      • View Changes
    1. issueid=4479 December 18, 2015 9:30 PM
      saya saya is offline
      New Member
      Renamed Table Syntax Cleared on WYSIWYG Switch

      After I finish posting a table then edit the post and check the source code, the BBcode turns from [tbl] (changed from the default table of Vaultwiki's) back to [table] (the original). It's a bit minor but because [table] is the vBulletin's BBcode, using the mediawiki formatting on [table] just makes it disappear.
    Issue Details
    Issue Number 4479
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Text Editor (WYSIWYG, etc)
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.7
    Fixed Version 4.0.8
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. December 19, 2015 9:24 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/helper/vb/class/ckeditor.php, find:
      Code:
      		$table_out = "[TABLE] {$attributes}";
      		$table_out .= $this->new_line() . $text . "|-";
      		$table_out .= $this->new_line() . "[/TABLE]";
      Replace with:
      Code:
      		$tag = vw_Hard_Core::model('Tag')->get_tag_name('vw_table_tag');
      
      		$table_out = "[{$tag}] {$attributes}";
      		$table_out .= $this->new_line() . $text . "|-";
      		$table_out .= $this->new_line() . "[/{$tag}]";
      Find:
      Code:
      $yesno = vw_Hard_Core::model('Tag')->parse_for('table', $for);
      Replace with:
      Code:
      			$table = vw_Hard_Core::model('Tag')->get_tag_name('vw_table_tag');
      			$yesno = vw_Hard_Core::model('Tag')->parse_for($table, $for);
      Reply Reply
    2. December 20, 2015 3:11 AM
      saya saya is offline
      New Member
      Much appreciated, works perfectly. Thank you very much.
      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 4:26 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.