I've noticed that something is stripping out HTML code "just because". I tried to use this: <script src="https://apis.google.com/js/platform.js" async defer></script>
But the HTML Widget keeps stripping out the <g:plusone></g:plusone>
Nop Version: 3.5
The HTML Widgets use the default text editor (tinyMCE
) that comes from the nopCommerce platform. It is the one which strips the <g:plusone> tag, because this is the way it works.
You can try modifying the tinyMCE editor, by going to this file: \Administration\Views\Shared\EditorTemplates\RichEditor.cshtml
Looking at the tinyMCE documentation
, it has an option "extended_valid_elements
", which might be of help.