Lorenzo Bernaschina

Results comments of Lorenzo Bernaschina

Hi Miguel, thank you for your answer. I am trying to reproduce the behavior inside my code: ``` const getCurrentBlock = (editorState: any) => { const selectionState = editorState.getSelection(); const...

Thanks @woren951 for the fix!! Does it keep formatting from external text too? (e.g. Copy-paste from Wikipedia paragraph with links). Could you please approve it @gohabereg? Thanks guys, amazing stuff!!...

Thanks for replying @sanjayaksaxena Yes, I meant before consolidation. It could be very expensive for me to reset on every upload. I am considering writing a custom removeDoc(id) before doing...

Thanks @sanjayaksaxena for your hard work, this is super cool! Here's the simple function I wrote: ``` var removeDoc = function ( id ) { if ( consolidated ) {...

I am working with Angular, so it's not exactly the same example. The problems are related to the Events keypress and keydown. ![screen shot 2018-11-13 at 11 05 42 2](https://user-images.githubusercontent.com/26749313/48406185-23d0c400-e734-11e8-9271-4466fa32f462.png)

OnPush didn't work for me. I solved removing `editor.on('process nodecreated noderemoved connectioncreated connectionremoved', async () => { await engine.abort(); await engine.process(editor.toJSON()); });` by doing this it is very quick even...

The side effect is that doing this way worker() doesn't work anymore (I don't need it). Maybe the worker() call on so many nodes and performances issues are related.

Use createRequire to import CommonJS module: Since ESM does not support require directly, you'll need to use createRequire from the module package to load the CommonJS module in an ESM...

Almost the same for me on v9.0.1 as mentioned by @qlereboursBS > I think it may be related to a poor connection. I'm currently in a hotel, the connection is...

In the meantime, I have found a workaround by replacing get calls with this. Hope it helps. ``` function getData(ref: DatabaseReference): Promise { return new Promise((resolve, reject) => { function...