Duplicate Smiley button does not work in the ACP area

tenants

Well-known member
Affected version
v2.3.4
The bug:
/forum/admin.php?button-manager/edit&type=toolbarButtonsXS

If you click a smiley there, it does not insert, most of the other functionality does work


I think... Im still digging, but the data-href="{{href}}" is not getting replaced, if you log out:
Code:
let menuHtml = document.querySelector('.js-xfEditorMenu').textContent.trim()
console.log(menuHtml)
but that could be a red herring
-----

I only noticed this because I wanted to add a text editor (with smiles) to an ACP plugin I am developing:
Code:
    <xf:formrow label="{{ phrase('x') }}" hint="supports bbcode">
        <xf:editorrow
            name="description"
            value="{$x.description}"
            rowtype="fullWidth noLabel"
            placeholder="{{ phrase('x') }}"
            label="{{ phrase('x') }}"
            data-xf-init="editor"
        />
    </xf:formrow>
 
I can't reproduce this on XF 2.3.6, smilies and emojies are inserted correctly. I do remember fixing some obscure editor insertion issues a while back, but I think it was prior to v2.3.4.
 
Back
Top Bottom