Advanced Bb Codes Pack

xF2 Add-on Advanced Bb Codes Pack 1.14.5

No permission to download
  • When "Size tag in rem units" is enabled, force 'px' unit sizes into 'rem' units to allow text scaling
  • Like
Reactions: BattleKing
  • Require StandardLib v1.11.0+
    • Improve support for rendering templates in the mail & api contexts by correctly injecting template filters/functions into multiple rendering contexts
  • Move template functions abs/parse_less_func into Standard Lib add-on
  • Remove unused 'bb_code_time' date-time formatting option, this was just {{ date($time, 'picker') . 'T' . date($time, 'H:i:00P') }}
  • Like
Reactions: BattleKing
  • Require XenForo 2.2+
  • Add "MathJax source (latex bb-code)" option. Defaults to "cdn.jsdelivr.net" to deliver v2.7.9
    • Hosting locally requires downloading MathJax-2.7.9.zip. This is a ~38mb zip! Copy the entire contents of the zip, preserving directories, to;
      js/sv/vendor/
    • See the FAQ for an example of setting up proxying for MathJax without needing to download the entire ~40mb redistributable.
    • Edit the template sv_bbcode_latex to change which mathjax version is used. Note; v3+ requires new javascript setup scripts which is not supported.
  • Add self-closing font-awesome bb-codes (not installed by default);
    • A "Brands" Style Font Awesome Icon; [FAB=font-awesome]
    • A "Duotone" Style Font Awesome Icon; [FAD=icons]
    • A "Light" Style Font Awesome Icon; [FAL=icons]
    • A "Regular" Style Font Awesome Icon; [FAR=icons]
    • A "Solid" Style Font Awesome Icon; [FAS=icons]
  • Like
Reactions: BattleKing
  • CSS incantations to fix [abbr] & [time] underline behaviour for iOS devices
  • Like
Reactions: BattleKing
  • Fix php 8.1 compatibility
  • (Hopefully) Improve compatibility with copy&paste support for google docs
  • Fix regression in Microsoft Word copy & paste support around missed adding new lines.
    • Note; using custom styling in Microsoft Word will likely confuse the Microsoft Word Html => bb-code converter. Deeply.
1.9.5 - Bugfix update
  • On building javascript bundle, use minified version of all js files
  • Fix toggle bb-code in XF2.1
  • Improve copy & paste support for Word, but supporting page layout "after" option
  • Disable editor workarounds which have been implemented in XenForo v2.2.7+ when using XF2.2.7+
  • Update [abbr] and [time] bb-codes to support touch events to show the tooltip for better mobile support
1.9.3 - Feature update
  • Fix XF2.1 support for copy & paste of Discord code blocks
  • Workaround for editor bug where whitespace is eaten after a link inside a list (that has child-list).
  • Workaround for janky editor behaviour around invisible new lines resulting in to few and too many lines being removed when pressing delete at the end or a line or backspace at the begining of the line
  • Allow parse_less_color to convert rgb/rgba format into a hex string before caching or before touching the less parser
  • Rework how custom json is passed to the editor to better scale and require less json decoding steps
  • Update hr custom bb-code
    • Increase height of line slightly
    • Uses template rendering instead of text replacement
    • Fix copy & paste of existing hr tags would strip the hr styling choice
    • Shim XF2.2 Insert HR button to inject add-on css (bbc-hr)
  • Update h1/h2/h3/h4 custom bb-codes
    • In XF2.1; implement editor support, including copy & paste support
    • In XF2.2; force h1 tags to be accepted; and provide per tag css
    • Shim XF2.2 Paragraph format button to inject add-on css (bbc-header)
    • Add Paragraph format button to XF2.1 (requires manually adding to editor toolbars)
  • Improve support for copying from Microsoft Word/LibreOffice/OpenOffice and not aggressively adding additional newlines
  • Improve support for preserving new-lines for some HTML copy & paste operations
  • Add option "Normalize quote characters on paste" to convert "smart" quotes into standard ascii quotes
  • Add copy & paste support for XF inline code blocks
  • Add copy & paste support for XF inline spoiler & add-on's non-blury spoiler blocks
  • Add "Editor playground" option, allow users to preview editor output. Including debug options to inspect how XF transforms editor code to html/bb-code
  • Make the draft button not get disabled in bb-code mode, as the feature still works in the background
  • Add style property "Suggest disabling bb-code mode clicks", to help non-desktop users get out of bb-code mode
  • Add "fullscreen editor button" option, to enable the fullscreen editor plugin & button (default enable)
    • Requires adding the button to the editor toolbar's manually
    • Recommend updating Thread Reply Banner to v2.4.2 if using XF2.2+
  • Fix displaying bb-codes tagged as moderator only in the front-end
  • Fix javascript error blocking more than 1
    to be added per editor

  • Like
Reactions: BattleKing
  • On toggling show transparent as spoilers; remove the data-xf-click attribute to restore old pointer behaviour
  • Compatibility fix for XF2.1.6 changes to [color] bb-code
    • Add "Support transparent color" option (default enabled), overrides XF2.1.6 behaviour
  • Like
Reactions: BattleKing
Top