Skip to content

Commit

Permalink
Merge pull request #4664 from nextcloud/fix/duplicate-t
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl committed Aug 10, 2023
2 parents 0e0358c + cb89802 commit df2a3df
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 25 deletions.
4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-editors.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-editors.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/vendors.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/vendors.js.map

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions src/nodes/Heading/HeadingView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@
</template>

<script>
import Vue from 'vue'
import { NodeViewWrapper, NodeViewContent } from '@tiptap/vue-2'
import { useEditorMixin } from '../../components/Editor.provider.js'
export default Vue.extend({
export default {
name: 'HeadingView',
components: {
NodeViewWrapper,
Expand Down Expand Up @@ -72,7 +71,6 @@ export default Vue.extend({
linkSymbol() {
return this.extension.options.linkSymbol
},
t: () => window.t,
},
methods: {
Expand All @@ -81,7 +79,7 @@ export default Vue.extend({
window.location.hash = this.href
},
},
})
}
</script>

<style lang="scss">
Expand Down

0 comments on commit df2a3df

Please sign in to comment.