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

Unable to delete table with a keyboard only when editor contains only table #254

Closed
natanielcz opened this issue Mar 17, 2020 · 0 comments
Closed
Labels
Milestone

Comments

@natanielcz
Copy link

Affected browsers: Mozilla Firefox

  1. Steps to reproduce: Create a table without line before and after (or just insert html from below)
<table style="width: 100%;">
    <tbody>
        <tr>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
        </tr>
        <tr>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
        </tr>
        <tr>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
            <td>
                <br>
            </td>
        </tr>
    </tbody>
</table>
  1. Select table with mouse or Ctrl+A
  2. Press delete to remove the table

On gif below on the left side is Google Chrome and on the right Mozilla Firefox

UkW9ghvOxB

@JiHong88 JiHong88 added the bug label Mar 17, 2020
@JiHong88 JiHong88 added this to the 2.27.0 milestone Mar 17, 2020
JiHong88 added a commit that referenced this issue Mar 17, 2020
fix: key event in freeFormatElement,
select all when there is no text,
add: util-isMedia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants