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