alastairtaft / draft-js-editor Goto Github PK
View Code? Open in Web Editor NEWA rich text editor built using draft js
Home Page: http://alastairtaft.github.io/draft-js-editor/
License: Other
A rich text editor built using draft js
Home Page: http://alastairtaft.github.io/draft-js-editor/
License: Other
Seems to hang for me at the line
src/modifiers/removeMediaBlock.js -> lib/modifiers/removeMediaBlock.js
No error messages or anything I'm obviously doing wrong.
Demo is not working.
Hi, I think this editor provides a great starting point for an inline content editor. I'm working on integrating this in an app which has a dark background and therefore I set iconColor
to a light color. The issue is that the background color for the PopoverControl is a light color also and therefore the icons do not show up well in it.
It would be great if I could pass something such as a popoverStyle
prop to the editor which would allow me to pass custom styles for it. ex. popoverStyle={{backgroundColor: '#000', color: '#fff'}}
Thanks
Hi,
while uploading image same as you are doing, I am getting the file as undefined
handleFileInput(e){
// This just converts e.target.files form a FileList to an Array
var files = Array.prototype.slice.call(e.target.files, 0)
files.forEach(this.insertFile)
};
Hello -
Can you provide an example of how to customize the side bar icons? I'd like to be able to add more than just the "Big T" header one and the "Small T" header 2.
Hi,
Could you please include copyright holders and license?
I tried your example but at first i get error on missing packages draft-js,react,react-dom.
Please add it to the package.json
After install packages i get next error on upload image "Cannot read property 'wrapper' of undefined"
Can you add classes/ids to each individual icons so that specific styles can be added to specific icons?
Do you have any demo online?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.