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:
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:
/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)
-----
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>