Skip to content

Commit

Permalink
fix(NcRichContenteditable): remove value linkify
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <[email protected]>

[skip ci]
  • Loading branch information
ShGKme authored and backportbot[bot] committed Feb 13, 2025
1 parent 269e6b2 commit fe559ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mixins/richEditor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import NcMentionBubble from '../../components/NcRichContenteditable/NcMentionBubble.vue'
import Linkify from '../../utils/Linkify.js'

import escapeHtml from 'escape-html'
import stripTags from 'striptags'
Expand Down Expand Up @@ -51,8 +50,7 @@ export default {
// When splitting, the string is always putting the userIds
// on the uneven indexes. We only want to generate the mentions html
if (!part.startsWith('@')) {
// This part doesn't contain a mention, let's make sure links are parsed
return Linkify(part)
return part
}

// Extracting the id, nuking the leading @ and all "
Expand Down

0 comments on commit fe559ea

Please sign in to comment.