This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, Fragment } from 'react' | |
import { CKEditor } from '@ckeditor/ckeditor5-react' | |
import ClassicEditor from '@ckeditor/ckeditor5-build-classic' | |
import { ENV } from '../constants/variables' | |
import { getToken } from "../services/auth" | |
class TextEditor extends Component{ | |
render(){ | |
const { value, onChange } = this.props // <- Dont mind this, just handling objects from props because Im using this as a shared component. |