From a6d4658dff48ba502666f99fe918e278e97a7bb0 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Mon, 24 Aug 2020 20:13:07 -0400 Subject: [PATCH] Simplify TextEditor by moving oncreate from the textarea vnode in view to the component itself, and removing the redundant vnode lifecycle hooks (since those can be applied on the component as well) --- js/src/forum/components/TextEditor.js | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/js/src/forum/components/TextEditor.js b/js/src/forum/components/TextEditor.js index b287f3f82..36edebba0 100644 --- a/js/src/forum/components/TextEditor.js +++ b/js/src/forum/components/TextEditor.js @@ -34,9 +34,6 @@ export default class TextEditor extends Component {