react-component / editor-core Goto Github PK
View Code? Open in Web Editor NEWa draft-js based editor
Home Page: http://react-component.github.io/editor-core/examples/simple.html
License: Other
a draft-js based editor
Home Page: http://react-component.github.io/editor-core/examples/simple.html
License: Other
warning in ./node_modules/rc-editor-mention/es/component/Mention.react.js
135:8-18 "export 'EditorCore' was not found in 'rc-editor-core'
hellllo i use this component In accordance with sample but in sample image plugin not work and have Error can you check it
15.4.0 已经没有 react/lib/CSSProperty.js
了。
rc-editor-core依赖了immutable,版本是^3.7.4,同时依赖了draft-js,而draft-js也依赖了immutable,版本是~3.7.4,导致npm install然后打包之后,会打包两个版本的immutable,我这儿的情况是bundle出来同时打包了[email protected]和[email protected]
这个库还是个大包
尝试修改这里的默认值为下面的内容:
https://github.com/react-component/editor-core/blob/master/examples/controllered.js#L23
`<div id="root">
<h1 style="color: #d2d2d2;text-align: center;">hello world</h1>
</div>`
期望的结果是只显示带有样式的文字。
项目中要用这个。 @RaoHai 能不能帮看一下。 谢谢
Someone went to the trouble to add a warning about this when value is supplied, but not explain why the warning exists. Is it bad? Will it format my hard drive or throw a red sock in with my whites? Given the warning text, the latter is far-fetched but plausible.
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.