Skip to content
Snippets Groups Projects
Commit 5e07cab4 authored by chris's avatar chris
Browse files

cleanup

parent 26d5f75c
No related branches found
No related tags found
1 merge request!160add track change plugin through service
/* eslint-disable */
import { minBy, maxBy, last } from 'lodash'; import { minBy, maxBy, last } from 'lodash';
import { Plugin, PluginKey } from 'prosemirror-state'; import { Plugin, PluginKey } from 'prosemirror-state';
import { Decoration, DecorationSet } from 'prosemirror-view'; import { Decoration, DecorationSet } from 'prosemirror-view';
......
...@@ -13,7 +13,6 @@ class Emphasis extends Tools { ...@@ -13,7 +13,6 @@ class Emphasis extends Tools {
get run() { get run() {
return (state, dispatch) => { return (state, dispatch) => {
console.log('run');
toggleMark(state.config.schema.marks.em)(state, dispatch); toggleMark(state.config.schema.marks.em)(state, dispatch);
}; };
} }
......
...@@ -11,7 +11,6 @@ import { ...@@ -11,7 +11,6 @@ import {
} from 'prosemirror-schema-list'; } from 'prosemirror-schema-list';
import { import {
toggleMark,
baseKeymap, baseKeymap,
chainCommands, chainCommands,
exitCode, exitCode,
...@@ -21,8 +20,6 @@ import { ...@@ -21,8 +20,6 @@ import {
deleteSelection, deleteSelection,
} from 'prosemirror-commands'; } from 'prosemirror-commands';
import { Commands, DocumentHelpers } from 'wax-prosemirror-utilities';
const backSpace = chainCommands( const backSpace = chainCommands(
deleteSelection, deleteSelection,
joinBackward, joinBackward,
......
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