From 043eecaff319ad1945dfeeb91242a0ce3608560b Mon Sep 17 00:00:00 2001 From: Debdut Karmakar Date: Thu, 1 Oct 2020 23:26:30 +0530 Subject: [PATCH] Revert "Medium Editor" --- frontend/public/index.html | 3 --- frontend/src/EditPage.js | 11 ----------- 2 files changed, 14 deletions(-) diff --git a/frontend/public/index.html b/frontend/public/index.html index 5412ec06..aa069f27 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -9,8 +9,6 @@ name="description" content="Web site created using create-react-app" /> - - - diff --git a/frontend/src/EditPage.js b/frontend/src/EditPage.js index a3a140f7..a0f12b0e 100644 --- a/frontend/src/EditPage.js +++ b/frontend/src/EditPage.js @@ -31,17 +31,6 @@ class HomePage extends React.Component { return true; } - startEditor () { - const pages = document.querySelectorAll(".pc"), - editor = new MediumEditor(pages, { toolbar: { - buttons: ['bold', 'italic', 'underline', 'anchor'], - }}) - } - - componentDidMount () { - this.startEditor() - } - errorpage() { return (