From e4bff9d786d26190900dbc92d050085482d23359 Mon Sep 17 00:00:00 2001
From: chris <kokosias@yahoo.gr>
Date: Sun, 20 Nov 2022 12:26:00 +0200
Subject: [PATCH] remove comments

---
 wax-prosemirror-core/src/helpers/helpers.js | 30 ---------------------
 1 file changed, 30 deletions(-)

diff --git a/wax-prosemirror-core/src/helpers/helpers.js b/wax-prosemirror-core/src/helpers/helpers.js
index ab26271ef..e3d40fb3d 100644
--- a/wax-prosemirror-core/src/helpers/helpers.js
+++ b/wax-prosemirror-core/src/helpers/helpers.js
@@ -1,36 +1,6 @@
 /* eslint-disable no-param-reassign */
 import { each } from 'lodash';
 
-// const alterNotesSchema = schema => {
-//   const notes = [];
-//   each(schema.nodes, node => {
-//     if (node.groups.includes('notes')) notes.push(node);
-//   });
-//   if (notes.length > 0) {
-//     notes.forEach(note => {
-//       schema.nodes[note.name].spec.toDOM = node => {
-//         if (node) return [note.name, node.attrs, 0];
-//         return true;
-//       };
-//     });
-//   }
-// };
-
-// const revertNotesSchema = schema => {
-//   const notes = [];
-//   each(schema.nodes, node => {
-//     if (node.groups.includes('notes')) notes.push(node);
-//   });
-//   if (notes.length > 0) {
-//     notes.forEach(note => {
-//       schema.nodes[note.name].spec.toDOM = node => {
-//         if (node) return [note.name, node.attrs];
-//         return true;
-//       };
-//     });
-//   }
-// };
-
 const alterNotesSchema = schema => {
   const notes = [];
   each(schema.nodes, node => {
-- 
GitLab