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

[QUESTION] Change the html content of the selected component #1511

Closed
mcsekar12 opened this issue Oct 12, 2018 · 1 comment
Closed

[QUESTION] Change the html content of the selected component #1511

mcsekar12 opened this issue Oct 12, 2018 · 1 comment

Comments

@mcsekar12
Copy link
Contributor

I am trying to replace the html of the basic Text componet using the below code

const component = editor.getSelected(); component.set('content', 'Test');

It gets changed in the canvas but the code still has 'Insert Your text here' appended to it as shown in the below image.

screenshot_2018-10-12 contentstudioui

@mcsekar12 mcsekar12 changed the title Change the html content of the selected component [QUESTION] Change the html content of the selected component Oct 16, 2018
@artf artf added the bug label Oct 18, 2018
@artf artf added this to To do in Release 0.14.43 via automation Nov 8, 2018
@artf artf moved this from To do to In progress in Release 0.14.43 Nov 17, 2018
@artf artf moved this from In progress to Done in Release 0.14.43 Nov 17, 2018
@artf artf closed this as completed in 5819604 Nov 20, 2018
@lock
Copy link

lock bot commented Nov 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the outdated label Nov 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

No branches or pull requests

2 participants