Issue #3161πŸ’¬ AnsweredOpened Nov 27, 2020by ssmanoj-grapes0 reactions

Editor Undo is removing collection and unable to replace the component

Quick answerby artf

Sorry, but without a reproducible demo, this issue doesn't make sense to me

Read full answer below ↓

Question

The collection of the selected component before Undo The collection of the selected component after Undo Code to replace the component with new component Uncaught TypeError: n.getEl is not a function and Uncaught TypeError: t.getSelectors is not function are the errors reported on save. I’m unable to replace the selected component with new component.

Answers (4)

artfβ€’ Dec 1, 2020

Sorry, but without a reproducible demo, this issue doesn't make sense to me

ssmanoj-grapesβ€’ Dec 2, 2020

Hi artf,

Please find the demo video of the issue grapejs-issue.zip.

artfβ€’ Dec 6, 2020

Ok, as you're not able to create a reproducible demo, I have to close this...

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @ssmanoj-grapes. The error TypeError: n.getEl is not a function and Uncaught TypeError: t.getSelectors is not function are the errors reported on save. I’m unable to replace the selected component with new component. occurs when ProseMirror attempts to access properties b...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.