Comments (2)
I think it would be possible in v3 to pass in an array of the list of plugins as strings that you wanted to use.
But the v3 of last draft is quite simple, just defining and initialising draft-js-plugins, it might be better to just copy the Editor src
and the package.json
plugin includes and use it in in your own project in this way.
from last-draft.
Yes you can
Check out the https://github.com/vacenz/last-draft-example-v3
from last-draft.
Related Issues (20)
- Disable Video Plugins HOT 5
- [Enhancement] Unify color.js used in editor and ld-color-picker HOT 1
- Iframes still not showing up HOT 1
- Enable multiple headings HOT 3
- HTML editor not importing editorState on open HOT 3
- Cannot edit content after adding an iframe to HTML HOT 1
- All divs are converted to paragraphs tags in HTML editor HOT 6
- Remove New Option HOT 1
- Sidebar does not follow after uploading an image HOT 1
- server side rendering
- It doesn't appear there is a way to remove the image plugin
- why i m not able to run the project... HOT 2
- Code block support?
- invalid type warning for AlignmentTool HOT 2
- v2 autocomplete mention, emoji needs to exit HOT 1
- Can't run v3 in my project. HOT 2
- How to disable/enable plugins using v3?
- TypeError: Cannot read property 'apply' of undefined
- Demos are broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from last-draft.