From f137ca3f8c6cf0541c285de41e07a69b501caa70 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Mon, 16 Dec 2019 18:35:25 +0200 Subject: [PATCH] remove file upload from wax view --- wax-prosemirror-core/src/WaxView.js | 1 - .../src/InlineAnnotations/CodeService/CodeService.js | 1 - 2 files changed, 2 deletions(-) diff --git a/wax-prosemirror-core/src/WaxView.js b/wax-prosemirror-core/src/WaxView.js index eff2f4bf8..da000c45c 100644 --- a/wax-prosemirror-core/src/WaxView.js +++ b/wax-prosemirror-core/src/WaxView.js @@ -19,7 +19,6 @@ class WaxView extends Component { editable: () => !readonly, state: EditorState.create(options), dispatchTransaction: this.dispatchTransaction, - fileUpload: this.uploadImage, handleDOMEvents: { blur: onBlur ? view => { diff --git a/wax-prosemirror-plugins/src/InlineAnnotations/CodeService/CodeService.js b/wax-prosemirror-plugins/src/InlineAnnotations/CodeService/CodeService.js index 78fde71b9..2f9cad0e5 100644 --- a/wax-prosemirror-plugins/src/InlineAnnotations/CodeService/CodeService.js +++ b/wax-prosemirror-plugins/src/InlineAnnotations/CodeService/CodeService.js @@ -3,7 +3,6 @@ import Service from "wax-prosemirror-core/src/services/Service"; class CodeService extends Service { boot() { const createMark = this.container.get("CreateMark"); - console.log(createMark, "maamamam"); createMark({ code: { parseDOM: [{ tag: "code" }], -- GitLab