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

SetContent() not working fine for component-audio #177

Closed
UbaidAnwar opened this issue Jul 4, 2019 · 7 comments
Closed

SetContent() not working fine for component-audio #177

UbaidAnwar opened this issue Jul 4, 2019 · 7 comments
Assignees
Labels

Comments

@UbaidAnwar
Copy link

When I save my page and it contains audio component it works fine for the first time but when I edit the page and save it again the audio component disappears.
Any help regarding this issue please?

@ducdhm
Copy link
Contributor

ducdhm commented Jul 5, 2019

@UbaidAnwar so it's getContent() not setContent(), right?

@UbaidAnwar
Copy link
Author

UbaidAnwar commented Jul 5, 2019

@UbaidAnwar so it's getContent() not setContent(), right?

Thanks for your reply.
Yes its getContent(), actually when I getContent() it contains a div "class="audio-wrapper" and when I setContent() and do some editing and save it again then this div is missing and it issue on next edit.

@ducdhm ducdhm assigned ducdhm and unassigned UbaidAnwar Jul 12, 2019
@ducdhm ducdhm added bug and removed Answered labels Jul 12, 2019
@ducdhm
Copy link
Contributor

ducdhm commented Jul 12, 2019

Fixed!

@ducdhm ducdhm closed this as completed Jul 12, 2019
@UbaidAnwar
Copy link
Author

UbaidAnwar commented Aug 5, 2019

Fixed!

I am using the old version and its almost completed for my task.
Can you please send me the code block to fix it? so I can add it in my js.

@ducdhm
Copy link
Contributor

ducdhm commented Aug 5, 2019

@UbaidAnwar you can see my changes at here

@UbaidAnwar
Copy link
Author

Ok thanks ..let me check

@UbaidAnwar
Copy link
Author

Thanks its almost fixed my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants