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

Prevent breaks <br> after each paragraph <p> #17

Open
minstyle opened this issue Aug 12, 2024 · 0 comments
Open

Prevent breaks <br> after each paragraph <p> #17

minstyle opened this issue Aug 12, 2024 · 0 comments

Comments

@minstyle
Copy link

minstyle commented Aug 12, 2024

Contao 5.3.12
PHP 8.3.10
terminal42/contao-rte_table 2.0.0

In a table cell a break <br> is automatically created after each paragraph <p>. Is there a way to prevent the output of breaks?

Screenshots:

TinyMCE:
grafik

TinyMCE Source code:
grafik

Frontend output in the browser:

grafik

The breaks only appear in frontend but not in the backend of Contao.

Workaround with CSS:

p + br {
    display: none;
}

But that cannot be the solution.

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