Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Table #1735

Closed
1 task done
dev-ravan opened this issue Feb 10, 2024 · 7 comments · Fixed by #1960
Closed
1 task done

Add Table #1735

dev-ravan opened this issue Feb 10, 2024 · 7 comments · Fixed by #1960
Labels
help wanted Extra attention is needed

Comments

@dev-ravan
Copy link

Is there an existing issue for this?

The question

I have to add table in my editor how to achieve in quill editor

@dev-ravan dev-ravan added the help wanted Extra attention is needed label Feb 10, 2024
@iremceliksena
Copy link

Hello,
I also have html containing

. I want to reflect the HTML codes as they are and edit them in the editor. How can I do this, or can I do it? Can it only detect parameters such as

?

@CatHood0
Copy link
Collaborator

I will try to add this new feature

@ellet0
Copy link
Collaborator

ellet0 commented Jun 25, 2024

You can use Custom Embed Blocks to implement it with Table widget or using flutter_editable_table or a similar package.

@singerdmx
Copy link
Owner

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.

@CatHood0
Copy link
Collaborator

CatHood0 commented Jun 28, 2024

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)

screen-20240628-160450.mp4

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

screen-20240628-161643.mp4

@singerdmx
Copy link
Owner

singerdmx commented Jun 28, 2024

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.

@singerdmx
Copy link
Owner

Look forward to your PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants