From c06527be9cb032b233421805b7c14d4aeb86ca10 Mon Sep 17 00:00:00 2001
From: chris <kokosias@yahoo.gr>
Date: Thu, 19 Dec 2019 22:39:09 +0200
Subject: [PATCH] create some of the node files

---
 wax-prosemirror-schema/index.js                       | 11 +++++++++++
 wax-prosemirror-schema/src/editoria/marks.js          | 10 ----------
 wax-prosemirror-schema/src/marks/sourceMark.js        |  8 ++++++++
 wax-prosemirror-schema/src/nodes/authorNode.js        |  0
 .../src/nodes/epigraphPoetryNode.js                   |  0
 wax-prosemirror-schema/src/nodes/epigraphProseNode.js |  0
 wax-prosemirror-schema/src/nodes/extractPoetryNode.js |  0
 wax-prosemirror-schema/src/nodes/extractProseNode.js  |  0
 wax-prosemirror-schema/src/nodes/paragraphContNode.js |  0
 wax-prosemirror-schema/src/nodes/paragraphNode.js     |  0
 wax-prosemirror-schema/src/nodes/sourceNoteNode.js    |  0
 wax-prosemirror-schema/src/nodes/titleNode.js         |  0
 12 files changed, 19 insertions(+), 10 deletions(-)
 create mode 100644 wax-prosemirror-schema/src/marks/sourceMark.js
 create mode 100644 wax-prosemirror-schema/src/nodes/authorNode.js
 create mode 100644 wax-prosemirror-schema/src/nodes/epigraphPoetryNode.js
 create mode 100644 wax-prosemirror-schema/src/nodes/epigraphProseNode.js
 create mode 100644 wax-prosemirror-schema/src/nodes/extractPoetryNode.js
 create mode 100644 wax-prosemirror-schema/src/nodes/extractProseNode.js
 create mode 100644 wax-prosemirror-schema/src/nodes/paragraphContNode.js
 create mode 100644 wax-prosemirror-schema/src/nodes/paragraphNode.js
 create mode 100644 wax-prosemirror-schema/src/nodes/sourceNoteNode.js
 create mode 100644 wax-prosemirror-schema/src/nodes/titleNode.js

diff --git a/wax-prosemirror-schema/index.js b/wax-prosemirror-schema/index.js
index 2a5f4c3b7..d6a70f2e5 100644
--- a/wax-prosemirror-schema/index.js
+++ b/wax-prosemirror-schema/index.js
@@ -14,6 +14,17 @@ export { default as superscriptMark } from "./src/marks/superscriptMark";
 export { default as strikethroughMark } from "./src/marks/strikethroughMark";
 export { default as underlineMark } from "./src/marks/underlineMark";
 export { default as smallcapsMark } from "./src/marks/smallcapsMark";
+export { default as sourceMark } from "./src/marks/sourceMark";
+
 /*
 LIST OF SUPPORTED NODES
 */
+export { default as paragraphNode } from "./src/nodes/paragraphNode";
+export { default as authorNode } from "./src/nodes/authorNode";
+export { default as epigraphPoetryNode } from "./src/nodes/epigraphPoetryNode";
+export { default as epigraphProseNode } from "./src/nodes/epigraphProseNode";
+export { default as sourceNoteNode } from "./src/nodes/sourceNoteNode";
+export { default as paragraphContNode } from "./src/nodes/paragraphContNode";
+export { default as extractProseNode } from "./src/nodes/extractProseNode";
+export { default as extractPoetryNode } from "./src/nodes/extractPoetryNode";
+export { default as titleNode } from "./src/nodes/titleNode";
diff --git a/wax-prosemirror-schema/src/editoria/marks.js b/wax-prosemirror-schema/src/editoria/marks.js
index 8dda846fa..9594634b4 100644
--- a/wax-prosemirror-schema/src/editoria/marks.js
+++ b/wax-prosemirror-schema/src/editoria/marks.js
@@ -1,14 +1,4 @@
-const emDOM = ["em", 0],
-  strongDOM = ["strong", 0],
-  codeDOM = ["code", 0];
-
 const marks = {
-  source: {
-    parseDOM: [{ tag: "cite" }],
-    toDOM() {
-      return ["cite", 0];
-    }
-  },
   insertion: {
     attrs: {
       user: {
diff --git a/wax-prosemirror-schema/src/marks/sourceMark.js b/wax-prosemirror-schema/src/marks/sourceMark.js
new file mode 100644
index 000000000..7b87d7b46
--- /dev/null
+++ b/wax-prosemirror-schema/src/marks/sourceMark.js
@@ -0,0 +1,8 @@
+const source = {
+  parseDOM: [{ tag: "cite" }],
+  toDOM() {
+    return ["cite", 0];
+  }
+};
+
+export default source;
diff --git a/wax-prosemirror-schema/src/nodes/authorNode.js b/wax-prosemirror-schema/src/nodes/authorNode.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/wax-prosemirror-schema/src/nodes/epigraphPoetryNode.js b/wax-prosemirror-schema/src/nodes/epigraphPoetryNode.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/wax-prosemirror-schema/src/nodes/epigraphProseNode.js b/wax-prosemirror-schema/src/nodes/epigraphProseNode.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/wax-prosemirror-schema/src/nodes/extractPoetryNode.js b/wax-prosemirror-schema/src/nodes/extractPoetryNode.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/wax-prosemirror-schema/src/nodes/extractProseNode.js b/wax-prosemirror-schema/src/nodes/extractProseNode.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/wax-prosemirror-schema/src/nodes/paragraphContNode.js b/wax-prosemirror-schema/src/nodes/paragraphContNode.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/wax-prosemirror-schema/src/nodes/paragraphNode.js b/wax-prosemirror-schema/src/nodes/paragraphNode.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/wax-prosemirror-schema/src/nodes/sourceNoteNode.js b/wax-prosemirror-schema/src/nodes/sourceNoteNode.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/wax-prosemirror-schema/src/nodes/titleNode.js b/wax-prosemirror-schema/src/nodes/titleNode.js
new file mode 100644
index 000000000..e69de29bb
-- 
GitLab