2

WYSIWYG image upload from custom module but not sow in frontend .phtml file showing [src="{{media url=wysiwyg/gutenberg-diagram_1.jpg}}" ] like this but image not found and image not show enter image description here

Link and Iframe also not working

2 Answers 2

3

you need to just filter your content like this :

$this->_filterProvider->getPageFilter()->filter($content);

1

wysiwyg/gutenberg-diagram_1.jpg should be under single quote.

Like:

src="{{media url='wysiwyg/gutenberg-diagram_1.jpg}'}}"
1
  • WYSIWYG is default save this format . i was didn't change any things Commented Jan 3 at 6:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.