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

[Request] Don't force classname #10

Open
KriKrixs opened this issue Aug 23, 2024 · 7 comments
Open

[Request] Don't force classname #10

KriKrixs opened this issue Aug 23, 2024 · 7 comments

Comments

@KriKrixs
Copy link

Hi there,

First, thanks a lot for this module !

I have a request regarding class names of the table.
I need to apply some framework's CSS class such as Bootstrap etc...
For this i have developed a small module to be able to edit the source code.
Everything works great but it seems like with the table created with your module, i can't do this.

Is there a way to don't overwrite the class ?

@attoae
Copy link
Owner

attoae commented Aug 24, 2024

Do you want to add a class name to the table tag?
And display it like this below?

@KriKrixs
Copy link
Author

Yep exactly but i need to have a control on this

@attoae
Copy link
Owner

attoae commented Aug 28, 2024

I am trying to solve this issue.

@attoae attoae mentioned this issue Sep 6, 2024
@gabriel-h-nx
Copy link

hi there, one question, now, how can i switch the class?

@attoae
Copy link
Owner

attoae commented Jan 20, 2025

hi there, one question, now, how can i switch the class?

Whether it is a default classname or a dynamic classname?

@gabriel-h-nx
Copy link

hi there, one question, now, how can i switch the class?

Whether it is a default classname or a dynamic classname?

It's a bootstrap class

@attoae
Copy link
Owner

attoae commented Jan 25, 2025

hi there, one question, now, how can i switch the class?

Whether it is a default classname or a dynamic classname?

It's a bootstrap class

const TableContainer = Quill.import('formats/table-container');
TableContainer.defaultClassName = 'xxx';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants