Skip to content

Instantly share code, notes, and snippets.

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.