Friday, July 28, 2017
reactjs : draftjs how to initiate an editor with content
Stumbled on this cool text editor, draft.js by facebook. I try to follow the example in github but I want to create an editor with content instead an empty editor. The first argument to EditorState.createWithContent is a ContentState, not a string. You need to import ContentState
I have talked about the difficulty of typing certain JSON values coming from some APIs. The JSON is just very complicated. When I do that,...
Programmers almost always need the ability to find and replace certain text across multiple files in their projects. Most IDEs provide find ...
RecordRTC is a library that allows for client-side recording, using WebRTC. It's a fantastic tool (created and well-maintained by Muaz...
This is a guest post from Sacha Greif, co-author of Discover Meteor and creator of VulcanJS and Sidebar.