Comments (6)
Hey Faddah. Sorry to say but this project is terribly unmaintained at this time. I'll re-open, but unless you or someone wants to contribute, this is unlikely to happen.
from react-rte.
Not at this time. The draft-js framework. on which this is built, is not well suited for editable tables. This is mostly due to the "flat" structure of the data model. There is some ongoing discussion of a new tree-based data model that supports arbitrarily nested structures (like a table cell with a paragraph inside or another table inside). This would make it possible to support much richer levels of editing.
Within the current constraints I've heard some suggestions about inserting tables as a sort of "foreign object" almost like embedding a spreadsheet. This would expose a limited set of features, maybe plain text in each cell without any ability to nest tables. As a side effect you wouldn't be able to create a text selection that crosses table or cell boundaries. But it would be much easier to implement. Similar to how they do in Quip.
This is probably not going to materialize in the short term.
from react-rte.
This is currently not on my roadmap (especially until draft-js has this functionality). Closing for now.
from react-rte.
What about today?
from react-rte.
Could this please be re-opened and re-examined? it's now a year and a half later, can we see if draft.js has tables, and therefore, your react-rte can have tables, please? we have an education sector client we're building a large enterprise app for and implementing tables is one of their biggest requests.
thank you in advance for your consideration and prompt response to this.
best,
— faddah
portland, oregon, u.s.a.
from react-rte.
Thank you, @sstur — i have noticed that other projects like yours that derive from facebook/react's draft.js have implemented tables using the draft.js plugin architecture, like draft-wysiwyg — see https://www.npmjs.com/package/draft-wysiwyg & https://github.com/bkniffler/draft-wysiwyg/ & https://draft-wysiwyg.herokuapp.com/. perhaps you could implement the same? Just a suggestion. Thank you for your prompt response & re-opening this.
best,
— faddah
from react-rte.
Related Issues (20)
- Appending custom html in the editor
- Warning: componentWillUpdate has been renamed HOT 2
- read the length of value
- How can I update the paste value while pasting it on rich text editor.
- converting between HTML and MD
- Is there any documentation for this?
- Add React 18.x.x HOT 4
- Show URL link on links hover
- Autofocus not working as expected with React hook forms
- How to get WYSIWYG when images are used
- Many newlines causes editor to go into an infinite loop
- Command for new line
- Size of the bullet points has not changed along with texts font sizes
- Not working on JSX
- Jumping cursor on mobile HOT 1
- ReferenceError: window is not defined HOT 1
- Window is not defined error when run from Next HOT 2
- react-rte dependency issue with [email protected] HOT 2
- Not working react-rte HOT 2
- While adding an empty link in popover, it redirects to home url when clicked
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 react-rte.