Create a template modification
Modification key
Search type
Find
Replace
In the
If you need to make the same editor in conversations, then create a similar modification for the template conversation_view
thread_view
Modification key
mini_reply_thread
Search type
Regular expression
Find
HTML:
/(<xf:macro template="quick_reply_macros" name="body")(.*?)(\/>)/s
Replace
HTML:
<xf:js>
XF.Element.extend('quote',
{
__backup: {
"click": "_clickMiniReply"
},
click: function(e) {
this._clickMiniReply(e);
$(".editorPlaceholder").trigger("click");
}
});
</xf:js>
$1$2
arg-simple="{{ true }}"
arg-deferred="{{ true }}"
$3
In the
extra.less
template with the desired style, add
Less:
.p-body-pageContent {
position: relative;
height: auto;
.js-quickReply {
position: sticky;
bottom: 0px;
z-index: 10;
}
}
If you need to make the same editor in conversations, then create a similar modification for the template conversation_view