React-draft-wysiwyg: HTML Table support

Created on 15 May 2017  ยท  23Comments  ยท  Source: jpuri/react-draft-wysiwyg

This is a really fantastic project. The only thing missing here is table support. I know the author is busy working on something else before she has chance of digging in. I am really new to react and draft. I am just wondering if there is any workaround to achieve table support, such as including a plugin like draft-js-table-plugin to work with react-draft-wysiwyg. Has anyone get HTML table working with react-draft-wysiwyg?

Most helpful comment

Hi @jasonfoy99 , thanks you liked editor project.

Its hard to use draft-js-table-plugin with react-draft-wysiwyg.

A way to achieve it would be create custom block renderer and custom toolbar button.

There are quite a few people who need it and it very useful feature. I am thinking of developing it - but it will be comparatively bigger task and since I am also busier these day - I can not promise how soon it will be ready.

All 23 comments

Hi @jasonfoy99 , thanks you liked editor project.

Its hard to use draft-js-table-plugin with react-draft-wysiwyg.

A way to achieve it would be create custom block renderer and custom toolbar button.

There are quite a few people who need it and it very useful feature. I am thinking of developing it - but it will be comparatively bigger task and since I am also busier these day - I can not promise how soon it will be ready.

Understood. Thank you for your quick reply.

Any progress on this?

Any progress?

Is there any progress?

Just gonna add my name to the list, this would be super helpful it seems to be one of the least implemented features in WYSIWYGs ๐Ÿ‘

Yep! That bigger feature. I need it :(. I hope @jpuri will resolve it .

@jpuri do you want me to build a PR for this because I would like to see this as well.

Sure, I will be very happy for a PR of this feature. Plz let me know if I can help you anywhere in doing that.

So,

I am not sure about how you want the table to look for the SVG icon. Maybe I can leave that to you. I will try to get the normal functionality working and we can go from there.

On May 15, 2018, at 8:17 AM, Jyoti Puri notifications@github.com wrote:

Sure, I will be very happy for a PR of this feature. Plz let me know if I can help you anywhere in doing that.

โ€”
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/jpuri/react-draft-wysiwyg/issues/323#issuecomment-389145724, or mute the thread https://github.com/notifications/unsubscribe-auth/AF9vGAHkuw5F0SIforv1IsRJufzqBHcDks5tysdSgaJpZM4NbCvz.

That wounds good ๐Ÿ‘

I have been trying to figure this out... Everything seems to be in
different places. I do not know how I would go about doing this. I think
I am giving up. I want to help but, I think I might just try to build my
own with a basic draft-js then find out how to integrate it.
Unfortunately, that will take some time.

What I see as important to get this up and running is the following:

  • Add table button
  • Choose the size of the table (height x width)
  • While in a table add column
  • While in a table add row
  • While in a table remove column
  • While in a table remove row

I will see if I can revisit this after I implement it individually.

On Tue, May 15, 2018, 1:03 PM Jyoti Puri notifications@github.com wrote:

That wounds good ๐Ÿ‘

โ€”
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jpuri/react-draft-wysiwyg/issues/323#issuecomment-389240779,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF9vGHMuv3NTCrQxOcUrpkstjEnCg1FPks5tywpZgaJpZM4NbCvz
.

Hi,

Any update on this? I really need this plugin or way to use table in the editor.

Anyone has a suggestion what is the best way to achieve this right now?

Is there any update on this... really need the feature

@jpuri ANY UPDATES?

Any update on how to implement table in react draft ?

Is there any progress?

I am also looking forward to it.
I am using the components available in plugin
draft-js-table-plugin to include them in my project.
Screen Shot 2021-01-14 at 14 40 58

draft-js-table-plugin

@tinhlv looks good, do you have a guide for how to use draft-js-table-plugin

@tinhlv same question as @zhuhongyin any guidance on how you got this to work as you showed in the image? Thanks for the help.

No

On Tue, Feb 16, 2021, 14:24 Sangeet Agarwal notifications@github.com
wrote:

@tinhlv https://github.com/tinhlv same question as @zhuhongyin
https://github.com/zhuhongyin any guidance on how you got this to work
as you showed in the image? Thanks for the help.

โ€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jpuri/react-draft-wysiwyg/issues/323#issuecomment-780063741,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASPDIJPGOPYOJLSFF77UTLTS7LBADANCNFSM4DLMFPZQ
.

How can i use this

Was this page helpful?
0 / 5 - 0 ratings