Skip to content
Snippets Groups Projects
Commit 0cc58873 authored by Marius Dumitru Florea's avatar Marius Dumitru Florea
Browse files

XWIKI-17793: Users cannot continue typing seamlessly after inserting a mention...

XWIKI-17793: Users cannot continue typing seamlessly after inserting a mention with the '@' shortcut
XWIKI-19236: Mentions are not inline where inserted in an empty line
* Enforce the inline mode when inserting the mention macro using the @ shortcut. This also moves the caret after the macro.
parent 218c1af3
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@
editor.once('afterInsertHtml', function () {
editor.execCommand('xwiki-macro-insert', {
name: 'mention',
inline: true,
inline: 'enforce',
parameters: {
reference: param.id,
style: 'FULL_NAME',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment