Update the tinyMce for nopCommerce
To fix the bug of table css in product full description, I add a plugin in tinyMCE as below:
To add the Fullpage Plugin to the tinyMCE editor just edit:
/Administration/Views/Shared/EditorTemplates/RichEditor.cshtml
And add “fullpage” to plugins: [..] and also to toolbar: “..”
inymce.init({
selector: "#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)",
height: 350,
width: 790,
valid_children : "+body[style],-body[div],p[strong|a|#text]",
plugins: [
"advlist autolink lists link image charmap print preview anchor",
"searchreplace visualblocks code fullscreen fullpage",
"insertdatetime media table contextmenu paste@(canUploadPictures ? " jbimages" : null)"
],
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image@(canUploadPictures ? " jbimages" : null) | fullpage",
//"relative_urls" required by jbimages plugin to be set to "false"
//but in this case it'll break existing links (e.g. message template tokens)
relative_urls: true