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

Bootstrap 5 table classes and images #401

Open
MV-1 opened this issue Aug 15, 2024 · 1 comment
Open

Bootstrap 5 table classes and images #401

MV-1 opened this issue Aug 15, 2024 · 1 comment

Comments

@MV-1
Copy link

MV-1 commented Aug 15, 2024

Maybe I'm wrong, but tables with CKEditor 5 seems to be a step backwards compared to version 4.
Is it possible to use Bootstrap 5 classes?
Is it possible to use images in a table?

I try to upgrade from Typo3 11 to 12 / t3sbootstrap 5.2.13 to 5.3.3

Michael

@MV-1
Copy link
Author

MV-1 commented Aug 28, 2024

You could add this to your MyCustomPreset.yaml as an example:

htmlSupport:
allow:
- name: 'table'
attributes: true
classes: true
styles: true
- name: 'img'
attributes: true
classes: true
styles: true

and mention to enable the classes in TypoScript Setup for frontend rendering too:

lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class.list = contenttable, MyClass, ...

br,
Michael

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

1 participant