Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into upstream-master
  • Loading branch information
swxk19 committed Jun 21, 2022
2 parents f0c5ad9 + 0320f52 commit 0e9e17c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Editor/extensions/SizedImage.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from '@tiptap/extension-image'
import { ReactNodeViewRenderer } from '@tiptap/react'
import ImageResizeComponent from '../ImageResizeComponent'
import ImageResizeComponent from './components/ImageResizeComponent'

// Based on https://github.com/ueberdosis/tiptap/issues/1365#issuecomment-853799239
export default Image.extend({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight'
import { ReactNodeViewRenderer } from '@tiptap/react'
import { lowlight } from 'lowlight/lib/all'
import CodeBlockComponent from '../CodeBlockComponent'
import CodeBlockComponent from './components/CodeBlockComponent'

export default CodeBlockLowlight.extend({
addNodeView() {
Expand Down

0 comments on commit 0e9e17c

Please sign in to comment.