Synchronize the `wysiwyg` template
authorAlexander Ebert <ebert@woltlab.com>
Wed, 26 Apr 2023 17:44:28 +0000 (19:44 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 26 Apr 2023 17:44:28 +0000 (19:44 +0200)
wcfsetup/install/files/acp/templates/wysiwyg.tpl

index b84af7b4175986e7c72e1260b93891b8fb75abfb..6d44038537b0dae8c90b0581a181e1f8f6beb61a 100644 (file)
@@ -50,7 +50,7 @@
                const bbcodes = [
                        {foreach from=$__wcf->getBBCodeHandler()->getButtonBBCodes(true) item=__bbcode}
                                {
-                                       icon: '{@$__bbcode->wysiwygIcon|encodeJS}',
+                                       icon: '{@$__bbcode->getIcon()|encodeJS}',
                                        name: '{@$__bbcode->bbcodeTag|encodeJS}',
                                        label: '{@$__bbcode->getButtonLabel()|encodeJS}',
                                },