File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
packages/app/src/app/pages/Sandbox/Editor/Workspace/screens/Comments/Dialog Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,10 @@ export const Comment = ({ source }) => (
5454 </ Text >
5555 ) ,
5656 code : props => < Code { ...props } /> ,
57-
5857 link : props => < Link { ...props } > { props . children } </ Link > ,
58+ linkReference : props => < Link { ...props } > { props . children } </ Link > ,
5959 image : props => image ( props ) ,
60+ thematicBreak : ( ) => null ,
6061 imageReference : props => image ( props ) ,
6162 } }
6263 />
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ export const Dialog = props => {
2222 const { state, actions } = useOvermind ( ) ;
2323 const [ value , setValue ] = useState ( '' ) ;
2424 const comment = state . editor . currentComment ;
25- const [ position , setPosition ] = React . useState ( {
26- x : 200 ,
27- y : 100 ,
25+ const [ position , setPosition ] = useState ( {
26+ x : props . x || 200 ,
27+ y : props . y || 100 ,
2828 } ) ;
2929
3030 const closeDialog = ( ) => actions . editor . selectComment ( null ) ;
You can’t perform that action at this time.
0 commit comments