Skip to content

The whole editor iframe body get lost on delete #453

@marianskrisa

Description

@marianskrisa

Current behavior:
Deletion of inserted table, deletes the whole iframe body

Steps to reproduce:

  1. Open editor
  2. Add some text
  3. Now before that text (u can enter it down) paste an excel/word simple table
  4. Manually select the table (using mouse)
  5. Try Delete / Backspace / Ctrl+X
  6. The whole iframe body get lost, the editor is broken

Note: Try multiple times, sometimes its working but mostly not.

Expected behavior:
Iframe body not deleted. Editor works.

Angular: 18
tinymce-angular: 9.1.1
tinymce: 8.3.2

U can even simulate it here in storybook:
https://tinymce.github.io/tinymce-angular/?path=/story/editor--form-control-story&globals=backgrounds.grid:!false

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions