Skip to content

Error when inserting tables in custom field #11733

@egzonhox

Description

@egzonhox

Shopware Version

6.7.0.1 & 6.7.1.2

Affected area / extension

Platform(Default)

Actual behaviour

I’ve created a custom field of type Text editor. When trying to insert tables into the editor, I encounter the following error:

this.$root.$el.getBoundingClientRect is not a function

Image

Expected behaviour

I should be able to save the table to the custom field.

How to reproduce

  1. Create a custom field type Text-Editor for product entity
  2. Go to product page and try to isnert table in this custom field

Definition of Done

  • An automated test covers the fix.
  • Integration/E2E testing in staging is done.
  • Changelog markdown file created or updated in /changelog/_unreleased directory.
  • Developer documentation written/updated.
  • End user and/or developer documentation written or updated with clarification.
  • Regression test created to ensure bug does not reappear, and automated regression tests pass.
  • Code changes resolve the reported bug without introducing new issues.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions