nossas / slate-editor

A complete rich text editor based on SlateJS framework
https://slate-editor.bonde.org
MIT License
263 stars 56 forks source link

exports.atob = self.atob.bind(self) #52

Closed theskillwithin closed 6 years ago

theskillwithin commented 6 years ago
SOURCE ERROR LINE: exports.atob = self.atob.bind(self);
JS ERROR TRACE: TypeError: Cannot read property 'bind' of undefined at eval (webpack-internal:///658:3:25) at Object. (V8Js::compileString():132266:1) at __webpack_require__ (V8Js::compileString():127794:30) at eval (webpack-internal:///71:9:23) at Object. (V8Js::compileString():128314:1) at __webpack_require__ (V8Js::compileString():127794:30) at eval (webpack-internal:///657:9:30) at Object. (V8Js::compileString():132259:1) at __webpack_require__ (V8Js::compileString():127794:30) at eval (webpack-internal:///655:37:13)

Possibly doesn't work with SSR?

gabrielrtakeda commented 6 years ago

@theskillwithin can you give more details about this problem or, create a repo to reproduce this error?

theskillwithin commented 6 years ago

Error is given just on the server side rendered. I may have to delay the component from loading until after document/window is available.

currently researching