mirror of https://github.com/fantasticit/think.git
Merge pull request #158 from fantasticit/fix/0813
This commit is contained in:
commit
5d328c61fc
|
@ -117,7 +117,7 @@ export const DocumentVersion: React.FC<Partial<IProps>> = ({ documentId, onSelec
|
||||||
})}
|
})}
|
||||||
</Select>
|
</Select>
|
||||||
<div style={{ paddingLeft: '8px' }}>对比</div>
|
<div style={{ paddingLeft: '8px' }}>对比</div>
|
||||||
<Space style={{ position: 'absolute', right: '240px' }}>
|
<Space style={{ marginLeft: 12 }}>
|
||||||
<Tag style={{ backgroundColor: '#e9ffe9' }}>增加的内容</Tag>
|
<Tag style={{ backgroundColor: '#e9ffe9' }}>增加的内容</Tag>
|
||||||
<Tag style={{ backgroundColor: '#ffeaea' }}>删除的内容</Tag>
|
<Tag style={{ backgroundColor: '#ffeaea' }}>删除的内容</Tag>
|
||||||
</Space>
|
</Space>
|
||||||
|
@ -148,8 +148,8 @@ export const DocumentVersion: React.FC<Partial<IProps>> = ({ documentId, onSelec
|
||||||
empty={!loading && !data.length}
|
empty={!loading && !data.length}
|
||||||
normalContent={() => (
|
normalContent={() => (
|
||||||
<div className={styles.contentWrap}>
|
<div className={styles.contentWrap}>
|
||||||
<main className={cls(isMobile && styles.isMobile)}>
|
<main className={cls('container', isMobile && styles.isMobile)}>
|
||||||
<div className={'container'}>
|
<div>
|
||||||
{diffVersion ? (
|
{diffVersion ? (
|
||||||
<div id="diff-visual" className="ProseMirror"></div>
|
<div id="diff-visual" className="ProseMirror"></div>
|
||||||
) : (
|
) : (
|
||||||
|
|
|
@ -159,8 +159,6 @@ export const Dragable = Extension.create({
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(result);
|
|
||||||
|
|
||||||
renderDragHandleDOM(view, result.el);
|
renderDragHandleDOM(view, result.el);
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue