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

Line breaker also appears on read-only tables #4849

Open
ivol37 opened this issue Dec 4, 2024 · 0 comments
Open

Line breaker also appears on read-only tables #4849

ivol37 opened this issue Dec 4, 2024 · 0 comments

Comments

@ivol37
Copy link

ivol37 commented Dec 4, 2024

Expected behavior.

When you place a table inside a div with the contenteditabe="false" attribute and "fr-deletable" class, the whole div becomes a block that is read-only and can only be deleted as a whole. So changing the text in one of its rows/columns is impossible. When you hover over such a table, the line break icon should not appear as the whole block is read-only and the user is not supposed to be able to add a line break inside this div.

Actual behavior.

When you hover over the table, the line break icon appears allowing the user to insert a line break into the read-only div:

table-line-break

Steps to reproduce the problem.

This can be reproduced on Fiddle: https://jsfiddle.net/wvjyhra4/

Editor version.

4.3.1

OS.

Windows 11

Browser.

Chrome and Firefox

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