G. Scott Olson
G. Scott Olson
Excellent. Thanks for the quick fix! :tophat:
This also didn’t work for me initially, but… It‘s probably an OS settings issue. Try doing the same key-holding behavior in the browser’s URL bar. My guess is that it...
> For GitHub, GitHub gist, Bitbucket, or GitLab repositories you can use the same shortcut syntax you use for npm install: "repository": "npm/npm" Via https://docs.npmjs.com/files/package.json So in this case, dropping...
Thanks for the clarification, @zpao. I hope you get a restful night of sleep. :night_with_stars:
Thanks for the quick reply. Let me take a shot at your suggestion and I will get back to you.
> @hellendag Can you create a custom block component that includes your checkbox and composes a DraftEditorBlock? I noticed that `DraftEditorBlock` requires [props](https://github.com/facebook/draft-js/blob/06891490069d3ccfb89caf53f33a7545d39fc3ec/src/component/contents/DraftEditorContents.react.js#L125-L136) to be [passed in](https://github.com/facebook/draft-js/blob/06891490069d3ccfb89caf53f33a7545d39fc3ec/src/component/contents/DraftEditorContents.react.js#L171). As a result,...
> So I believe you should have access to all the necessary props, and can propagate them through to your `DraftEditorBlock` using `{...this.props}`. Sweet! > Does it work if you...
Thanks for the help. `data-offset-key` worked! Alright…making some progress. No more `Uncaught Invariant Violation`s. Is it possible to special case the selection to “skip” the inline `` altogether? It would...
It is consistent when moving the cursor before/after the ``: ``` javascript anchorKey: "erh0g" anchorOffset: 0 focusKey: "erh0g" focusOffset: 0 hasFocus: false isBackward: false ``` _(I pulled these values from...
If I apply certain styles to the ``, (e.g. `position: absolute`, `float: left`) selection behavior changes a little. Going “forward” → moves the selection from the end of the current...