diff --git a/src/mixins/editorMixin.js b/src/mixins/editorMixin.js index bbdf45772..d7bdcaebb 100644 --- a/src/mixins/editorMixin.js +++ b/src/mixins/editorMixin.js @@ -118,6 +118,10 @@ export default { currentPage: this.pageInfoBarPage || this.pageToUse, }, }, + // Required for link handling on Nextcloud 27+28 + onLinkClick: (_event, attrs) => { + this.followLink(_event, attrs) + }, onOutlineToggle: (visible) => { this.toggleOutlineFromEditor(visible) },