support links in RTE
This commit is contained in:
@@ -69,7 +69,7 @@ class PlainWithPillsSerializer {
|
||||
case 'plain':
|
||||
return node.data.get('completion');
|
||||
case 'md':
|
||||
return `[${ node.text }](${ node.data.get('url') })`;
|
||||
return `[${ node.text }](${ node.data.get('href') })`;
|
||||
case 'id':
|
||||
return node.data.get('completionId') || node.data.get('completion');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user