Quote from: donshakespeare at Sep 07, 2017, 06:51 AMI need you to paste the very exact list of plugins you have on the working sites.
COPY exactly, without mistake, the exact thing and let me see. I have a hunch about something very sneaky going on.
You already pasted here what you have on the problematic site ...
Both sites have exactly the same code. The linked CSS file is fine.
Common Code:
skin_url: MODx.config.assets_url+'components/tinymcelocal/skins/lightgray',
link_list:[
[[-$TinymceWrapperLinkList]]
],
relative_urls: false,
remove_script_host: true,
content_css : "/css/styles.user2.css?v=13",
elementpath: true,
modxMagicHoverLinkSettings: {
stripMODXurl: false,
},
allow_script_urls: true,
convert_urls: false,
document_base_url: MODx.config.site_url,
rel_list: [
{title: 'None', value: ''},
{title: 'FancyBox', value: 'fancybox'}
],
link_class_list: [
{title: 'None', value: ''},
{title: 'FancyBox', value: 'fancybox'}
],
image_class_list: [
{title: 'None', value: ''},
{title: 'photoright', value: 'photoright'},
{title: 'photoleft', value: 'photoleft'}
],
table_class_list: [
{title: 'None', value: ''},
{title: 'table-list', value: 'table-list'},
{title: 'table-outlined', value: 'table-outlined'},
{title: 'table-fees', value: 'table-fees'},
{title: 'formtable', value: 'formtable'}
],
style_formats: [
{title: 'Heads', items: [
{title: 'Head 2', block: 'h2'},
{title: 'Head 3', block: 'h3'},
{title: 'Head 4', block: 'h4'},
{title: 'Head 5', block: 'h5'}
]},
{title: 'Blocks', items: [
{title: 'paragraph', block: 'p'},
{title: 'division', block: 'div'}
]},
],
element_format : 'html',
cleanup : true,
formats: {
alignleft: {selector: 'img,table', collapsed: false, classes: 'align-left'},
alignright: [ {selector: 'img,table', collapsed: false, classes: 'align-right'},
{selector: 'figure', collapsed: false, classes: 'align-right', ceFalseOverride: true},
]
},
image_caption: true,
browser_spellcheck: true,
gecko_spellcheck: true,
paste_data_images: false,
menubar: false,
statusbar: true,
image_advtab: true,
setup: function(editor) {
editor.on('keydown', function(evt) {
if (evt.keyCode == 83 && evt.ctrlKey && !evt.shiftKey && !evt.altKey && !evt.metaKey) {//ctrl + s = save
evt.preventDefault();
$('#modx-abtn-save button').trigger("click");
}
if (evt.keyCode == 27) { //escape key = remove fullscreen
evt.preventDefault();
if ($('.mce-fullscreen').length) {
tinymce.activeEditor.execCommand("mceFullscreen")
}
}
});
editor.on("init",function() { //float fullscreen link
containerId = $(editor.getContainer()).attr("id");
$("#"+containerId+" .mce-i-fullscreen").parent().parent().parent().parent().css("float","right");
});
},
external_plugins:{
twAceEditor: "[[++assets_url]]components/tinymcewrapper/tinymceplugins/twAceEditor.js",
// twCodeMirror: "[[++assets_url]]components/tinymcewrapper/tinymceplugins/twCodeMirror.js",
// bubbleBar: "[[++assets_url]]components/tinymcewrapper/tinymceplugins/tinymceBubbleBar.js",
// twExoticMarkdownEditor: "[[++assets_url]]components/tinymcewrapper/tinymceplugins/twExoticMarkdownEditor.js",
modxMagicHoverLink: "[[++assets_url]]components/tinymcewrapper/tinymceplugins/modxMagicHoverLink.js",
jsplus_image_editor: "[[++assets_url]]components/tinymcelocal/plugins/jsplus_image_editor/plugin.min.js",
},
file_browser_callback : autoFileBrowser,
cssFiles: [
'/assets/components/tinymcewrapper/tinymceplugins/codemirror/neat.css'
],
//leave trailing comma
Content:
tinymce.init({
selector: "#ta",
[[+commonTinyMCECode]]
statusbar: true,
fontsize_formats: '10px 11px 12px 13px 14px 16px 18px 20px 22px 24px 28px 32px',
plugins: "autoresize,preview,paste,contextmenu,image,fullscreen,code,charmap,searchreplace,textpattern,importcss,table,anchor,nonbreaking,lists,media,hr,template",
importcss_groups: [
{title: 'Table styles', filter: /^(td|tr|th|table)\./}, // td.class and tr.class
{title: 'Block styles', filter: /^(div|p|h2|h3|h4|h5)\./}, // div.class and p.class
{title: 'Bullet styles', filter: /^(ul|ol|li)\./}, //
{title: 'Link styles', filter: /^(a)\./}, //
{title: 'Image styles', filter: /^(img|figure)\./}, //
{title: 'Inline styles'} // The rest
],
templates: [
{title: 'Two Columns', description: 'Mobile-friendly two-column setup', content: '<div class="row"><div class="col6"><p>text</p></div><div class="col6"><p>text</p></div></div>'},
{title: 'Three Columns', description: 'Mobile-friendly three-column setup', content: '<div class="row"><div class="col4"><p>text</p></div><div class="col4"><p>text</p></div><div class="col4"><p>text</p></div></div>'}
],
importcss_append: true,
resize: true,
autoresize_min_height: 100,
autoresize_max_height: 600,
toolbar1: "fullscreen | code | undo redo | blockquote | nonbreaking hr charmap | bold italic superscript subscript alignleft aligncenter alignright | bubbleBarOptionsButton",
toolbar2: "bullist numlist indent outdent | link unlink anchor | image media jsplus_image_editor | table | searchreplace | removeformat | template | styleselect",
contextmenu: "table | removeformat | link | image"
});