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

BUG: replaceWith method doesn't have string type #5503

Closed
2 tasks done
MaxwellTheSecond opened this issue Nov 6, 2023 · 2 comments
Closed
2 tasks done

BUG: replaceWith method doesn't have string type #5503

MaxwellTheSecond opened this issue Nov 6, 2023 · 2 comments

Comments

@MaxwellTheSecond
Copy link
Contributor

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome

Reproducible demo link

none

Describe the bug

replaceWith method from Component.ts doesn't have a type for string.

What is the expected behavior?
I should be able to replace a component with a string like in the example component.replaceWith('<div>Some new content</div>');

What is the current behavior?
grapesproblem

Code of Conduct

  • I agree to follow this project's Code of Conduct
@MaxwellTheSecond
Copy link
Contributor Author

PR: #5504

@artf
Copy link
Member

artf commented Nov 8, 2023

Merged #5504

@artf artf closed this as completed Nov 8, 2023
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

2 participants