Show diff by sentence (#477)
This commit is contained in:
parent
505caa9aff
commit
b3aa3cb18a
6 changed files with 105 additions and 145 deletions
|
|
@ -13,7 +13,7 @@ import React, { useEffect, useRef } from 'react';
|
|||
import { renderToString } from 'react-dom/server';
|
||||
import ReactMarkdown from 'react-markdown';
|
||||
|
||||
import { diffEditor, DiffType } from '@/lib/editor/index';
|
||||
import { diffEditor, DiffType } from '@/lib/editor/diff';
|
||||
|
||||
const diffSchema = new Schema({
|
||||
nodes: addListNodes(schema.spec.nodes, 'paragraph block*', 'block'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue