Hi
I want this in my reply posts
Currently if I paste an image link in the reply area, this is the output source code:
<div class="wpforo-post-content"> <p><img decoding="async" src="https://picsum.photos/536/354.jpg"><p> </div>
I want the option wpforo-auto-embeded-link and wpforo-auto-embeded-image in automatic when paste the image link, that my output source code add link to image and show the image
<div class="wpforo-post-content"> <a class="wpforo-auto-embeded-link" href="https://picsum.photos/536/354.jpg" target="_blank"><img class="wpforo-auto-embeded-image" src="https://picsum.photos/536/354.jpg"/></a> </div>
Try changing the type of visual editor to text but does exactly the same.
Can you guide me?
thank you
Why my post dont have reply??
Thanks. That source code option and pressing Ctrl+Z when pasting the image are the only options I've found.
Isn't there some code to embed in the theme's functions file?
I'm having trouble giving these options to my users, and I haven't been able to add that code to TinyMCE for the image paste option.
I've tried with the WPForo frontend.js file without success.