Remove debug output

This commit is contained in:
2025-11-28 21:56:56 +01:00
parent d1a01ca7a6
commit cdd95d1c5a
3 changed files with 53 additions and 23 deletions

View File

@@ -138,6 +138,7 @@ export class TpRtbUserMention extends TpRtbBaseExtension {
getSuggestionConfig() {
return {
suggestionType: 'user',
char: '@',
allowSpaces: false,
startOfLine: false,
@@ -152,6 +153,7 @@ export class TpRtbUserMention extends TpRtbBaseExtension {
'data-type': 'mention',
'data-id': node.attrs.id,
'data-label': node.attrs.label,
'data-subtype': 'user',
'data-mention-suggestion-char': '@',
contenteditable: 'false'
},
@@ -203,7 +205,8 @@ export class TpRtbUserMention extends TpRtbBaseExtension {
if (component._command) {
component._command({
id: user.id,
label: user.username
label: user.username,
subtype: 'user'
});
}
};