Tell us what you are trying to do?
I use CRED forms to add and edit posts. Posts are custom posts by Toolset. When I add posts via cred form it saved embeded url (Youtube etc....) and post is saved with embedded content. When I edit post via cred form embed tag is removed in WYSIWYG editor.
When I edit post in backend everything works fine and I see embedded content.
I am not sure if it is Toolset issue or WYSIWYG problem.
Have you any idea on this ?
Is there any documentation that you are following?
Is there a similar example that we can see?
New post:
<p>Ahojte</p>
<p>[embed]hidden link;
Edited post:
<p>Ahojte</p>
<p></p>
What is the link to your site?
Hi,
Thank you for contacting us and I'd be happy to assist.
I've performed some tests on my website with the new post and the post-edit forms and with the post content as well as the WYSIWYG type field, but couldn't reproduce this behavior.
Here is the code, that I used for this testing and the embed shortcode stayed intact, in all tests:
<p>Ahojte</p>
<p>[embed]<em><u>hidden link</u></em>;
Can you please check this again and in case the issue persists, share temporary admin login details, along with the link to the form page?
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.
regards,
Waqar
Thank you for sharing the admin access details.
Just wanted to let you know that I'm still performing some tests on my website and will share the findings with you shortly.
Thank you for your patience.
Hello,
I will on holidays from 18th May to 27th May without easy access to computer.
So you have a lot of time for this ticket.
Page is not live, so you can try all you need.
Thanks
Thank you for waiting.
The Elementor editor seems to be responsible for the processing that filters out the embed tag.
You can directly use the form's shortcode with the [wpv-search-term param='pl'] shortcode to get the target post's value from the URL parameter "pl":
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-search-term )
[cred_form form="Edit článok blogu" post="[wpv-search-term param='pl']"]
As Elementor doesn't support nested shortcodes in its widget, you can enter content in this "Edit Blog" page without the Elementor builder.
Thanks Waqar,
I will test this way after 27th May....
Thanks for support..
You're very welcome and take your time.
My issue is resolved now. Thank you!