Skip to content
Snippets Groups Projects
Commit 2fc7a523 authored by chris's avatar chris
Browse files

remove console log

parent 203a6a61
No related branches found
No related tags found
1 merge request!144enable insertions, deletions on codeblock
...@@ -19,7 +19,7 @@ const UploadImage = styled.div` ...@@ -19,7 +19,7 @@ const UploadImage = styled.div`
`; `;
const ImageUpload = ({ item, fileUpload, view }) => { const ImageUpload = ({ item, fileUpload, view }) => {
const { activeViewId } = useContext(WaxContext); const { activeViewId } = useContext(WaxContext);
console.log(item);
return ( return (
<UploadImage select={item.select && item.select(view.state, activeViewId)}> <UploadImage select={item.select && item.select(view.state, activeViewId)}>
<label <label
......
import Tools from '../../lib/Tools';
import { Commands } from 'wax-prosemirror-utilities'; import { Commands } from 'wax-prosemirror-utilities';
import { injectable } from 'inversify'; import { injectable } from 'inversify';
import { icons } from 'wax-prosemirror-components'; import { icons } from 'wax-prosemirror-components';
import Tools from '../../lib/Tools';
export default
@injectable() @injectable()
export default class Table extends Tools { class Table extends Tools {
title = 'Insert table'; title = 'Insert table';
content = icons.table; content = icons.table;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment