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
Stateful programs often become complex beasts as they grow. Program state incohesively spread across a bunch of variables, spuriously guar...
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.