Skip to content
#

typescript-library

Here are 706 public repositories matching this topic...

kyryloren
kyryloren commented Jul 17, 2020

Hello.

This module doesn't support server side rendering.
When building on Netlify or on local production, I get an error that says "'window' is not available during server side rendering", and a bunch of code that is returned from the EditorJS plugin(s).

This is how I currently fixed this:

const MyComponent = () => {
  if (typeof window !== 'undefined') {
    const Editor = r

Improve this page

Add a description, image, and links to the typescript-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the typescript-library topic, visit your repo's landing page and select "manage topics."

Learn more