aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.tsx1
-rw-r--r--src/client/views/nodes/FormattedTextBox.scss5
-rw-r--r--src/client/views/nodes/FormattedTextBox.tsx5
3 files changed, 1 insertions, 10 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx
index 348a11992..d97710ffe 100644
--- a/src/client/views/collections/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/CollectionFreeFormView.tsx
@@ -165,7 +165,6 @@ export class CollectionFreeFormView extends CollectionViewBase {
if (!e.ctrlKey && !e.altKey && !e.shiftKey) {
if (this._previewCursorVisible) {
//make textbox and add it to this collection
- //let { LocalX, LocalY } = this.props.TransformToLocalPoint(this._downX, this._downY);
let tr = this.props.ScreenToLocalTransform().translate(this._downX, this._downY);
let LocalX = tr.TranslateX;
let LocalY = tr.TranslateY;
diff --git a/src/client/views/nodes/FormattedTextBox.scss b/src/client/views/nodes/FormattedTextBox.scss
index 12604f843..97d7f1426 100644
--- a/src/client/views/nodes/FormattedTextBox.scss
+++ b/src/client/views/nodes/FormattedTextBox.scss
@@ -9,11 +9,6 @@
}
.formattedTextBox-cont {
-<<<<<<< HEAD
background: white;
padding: 1vw;
-=======
- background: beige;
- padding: 0;
->>>>>>> d9d55e422826da1fe87aa7973c92e54bc0c99f02
} \ No newline at end of file
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx
index 194d5636c..4a6560dc9 100644
--- a/src/client/views/nodes/FormattedTextBox.tsx
+++ b/src/client/views/nodes/FormattedTextBox.tsx
@@ -9,18 +9,15 @@ import { EditorView } from "prosemirror-view";
import { Node } from "prosemirror-model";
import { Opt, FieldWaiting, FieldValue } from "../../../fields/Field";
import "./FormattedTextBox.scss";
-import { KeyStore } from "../../../fields/Key";
+import { KeyStore } from "../../../fields/KeyStore";
import React = require("react")
import { RichTextField } from "../../../fields/RichTextField";
import { FieldViewProps, FieldView } from "./FieldView";
-<<<<<<< HEAD
import { CollectionFreeFormDocumentView } from "./CollectionFreeFormDocumentView";
import { observer } from "mobx-react";
import { Schema, DOMParser } from "prosemirror-model"
import { Plugin } from 'prosemirror-state'
import { Decoration, DecorationSet } from 'prosemirror-view'
-=======
->>>>>>> d9d55e422826da1fe87aa7973c92e54bc0c99f02
// FormattedTextBox: Displays an editable plain text node that maps to a specified Key of a Document