flutter-quill
flutter-quill copied to clipboard
Add Table
Is there an existing issue for this?
- [X] I have searched the existing issues
The question
I have to add table in my editor how to achieve in quill editor
You have to build the table widget or use the own from flutter and use it in the editor, take a look at this
Hello, I also have html containing
I will try to add this new feature
You can use Custom Embed Blocks to implement it with Table
widget or using flutter_editable_table or a similar package.
It seems that flutter_editable_table is not maintained in a timely manner and some dependencies are out of date. We may consider copying over the code in a dedicated folder so we can easily update its dependencies.
It seems that flutter_editable_table is not maintained in a timely manner and some dependencies are out of date. We may consider copying over the code in a dedicated folder so we can easily update its dependencies.
I make my own implementation, but, i having issues with the focusNode in QuillEditor and weird behaviors using TextField
i know it's ugly but, i'm still testing. I'm using QuillEditor in each cell of the table, and this cause this strange behavio (could be by a wrong updating implementation by me)
https://github.com/singerdmx/flutter-quill/assets/114286961/ce4555a1-93f4-4bd4-adc8-a467eaa1f4e8
yeah, it's the same but using Textfield. It Works good, but, has weird behaviors when you try to delete any characters when the input is empty
https://github.com/singerdmx/flutter-quill/assets/114286961/f7287129-0c7c-40fe-a65f-eb34790b319f
This is cool and a good start. Yeah, better to have our own code than relying on an external package. @CatHood0 My suggestion is getting it in with something to start even though it may not be perfect. Even iPhone has quite some flaws when it starts. I think it is fine to have some flaws in this feature. Worst case users do not use it at all. I believe other contributors will perfect this feature later iteratively.
Look forward to your PR
Hi! Please could you share the code of those implementations? I'm using flutter quill and I need to use tables...
@Paiolus I suggest you take a look at flutter_quill_extensions
and take this code with caution because the implementation of tables is currently limited and contains several bugs. At the moment, it is on my to-do list to improve the implementation so that it works as expected.
okay, thank you... I'll try to solve it. If I find something I will tell you!
What a pitty, quill editor is a nice plug-in