Remove debug output
This commit is contained in:
@@ -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'
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user