Benjamin Chodoroff

Results 19 comments of Benjamin Chodoroff

I ran into this issue when using a custom implementation of `RichTextUtils.toggleInlineStyle` and was able to achieve the desired behavior with: ```javascript if (selection.isCollapsed()) return EditorState.setInlineStyleOverride( EditorState.forceSelection(editorState, selection), newInlineStyle )...

just started a checklist in the issue description

is there any downside to having jussi take care of this? it seems like the ideal place to do it, even in the case of running jussi for local dev...

@r351574nc3 can you post a full stack trace?

what if this feature was added into the js api client itself?

just noticed that https://github.com/bnchdrff/iscrubber/commit/7a8c7016e8352c7f561d7dd9aad7fcffcfbb50fb is superceded by the fix provided in #3

the way it works now is.. it doesn't! :) the server will render the page as it would've been rendered for an unauthenticated user, and then in the frontend those...

we'd grab the jwt in a similar way to how i'm grabbing the csrf token here: https://github.com/bnchdrff/react-redux-graphql-passport-starter/blob/master/src/server.js#L60

i was totally wrong about my previous note -- we would need to ensure the client's stored jwt is passed along with that initial request. i'm looking into an approach...

not sure if there is a way to do it, aside from storing the jwt as a cookie instead of localstorage. reading http://stackoverflow.com/questions/40574994/jwt-stored-in-cookie-security-concerns#40579495 and other things. i'm hoping to find...