I understand there is a known issue with Magento 2.2.x and the image gallery. We are experiencing this issue where the template link quotes are broken by what appears to be some kind of html encoding. The version of the magefan blog we are using is the one bundled with the Cleversoft Novetty theme.
There is a comment with a suggested fix in the readme file bundled with the Novetty theme about this problem and with a suggested work around. The suggestion involves using the html mode of the editor to replace a double-quote with a single quote.
The work-around does work for my tests, but it doesn't actually show a double-quote in the HTML mode, it shows a url encoded " instead. You can replace the pair of " with either a pair of either single or double quotes and it fixes the link. But it should be noted that the html-encoding is breaking the template field itself as the {{ }} block is actually appearing until you remove the " and replace it. (once replaced, if you go back to the html view, you see an actual relative path)
Also, upon finding the xml fix in the m22 branch, I noted that there was already a commented out section in the app/code/Magefan/Blog/view/adminhtml/ui_component/blog_post_form.xml (in the Novetty version, view/adminhtml/ui_component/blog_post_form.xml in this repository) which is a match for the htmlContent section in the m22 branch. I tried uncommenting the section as per the suggestion in the first line of the comment but it did nothing as far as solving the issue.
I understand there is a known issue with Magento 2.2.x and the image gallery. We are experiencing this issue where the template link quotes are broken by what appears to be some kind of html encoding. The version of the magefan blog we are using is the one bundled with the Cleversoft Novetty theme.
There is a comment with a suggested fix in the readme file bundled with the Novetty theme about this problem and with a suggested work around. The suggestion involves using the html mode of the editor to replace a double-quote with a single quote. The work-around does work for my tests, but it doesn't actually show a double-quote in the HTML mode, it shows a url encoded " instead. You can replace the pair of " with either a pair of either single or double quotes and it fixes the link. But it should be noted that the html-encoding is breaking the template field itself as the {{ }} block is actually appearing until you remove the " and replace it. (once replaced, if you go back to the html view, you see an actual relative path)
Also, upon finding the xml fix in the m22 branch, I noted that there was already a commented out section in the
app/code/Magefan/Blog/view/adminhtml/ui_component/blog_post_form.xml
(in the Novetty version,view/adminhtml/ui_component/blog_post_form.xml
in this repository) which is a match for thehtmlContent
section in the m22 branch. I tried uncommenting the section as per the suggestion in the first line of the comment but it did nothing as far as solving the issue.