draft-js-code icon indicating copy to clipboard operation
draft-js-code copied to clipboard

Collection of utilities to make code blocks edition easy in DraftJS

Results 14 draft-js-code issues
Sort by recently updated
recently updated
newest added

launch the [demo](http://samypesse.github.io/draft-js-code/) try to get below the 2nd code block. you can't. you can't click below it and you can't click to the right

Hi, fix for #31 Also added new argument for indentation depth for `onTabs`, `handleReturn`;

I'm new to Draft, I don't know if `code-block` is a standard and should be followed, or if you get to make your own or what. https://github.com/jpuri/react-draft-wysiwyg inserts `code`, so...

Hi, this should go after previous PRs. We don't need `getIndentation.js` anymore. When we are at the beginning of line at our `code-block` we can remove it by making attempt...

Hi, added shift-tab binding for removing indentation

Hi, if press tab several times it will indent on: 4, 4, 8, 16...

I copied the code as is in the readme to create an Editor component but the tab key did NOT indent but rather shifted focus. Is there something I am...

bug

When entering `"`, it should input `""` with cursor at right position like Sublime Text.

enhancement
help wanted

- [x] Add failing test - [ ] Implement indentation completion Should eventually close #12