Welcome to vbmods.rocks! Get FREE and paid vBulletin mods, plugins, addons, API extensions, custom modules, custom BB Codes, vBCloud mods, CORE hacks, JS hacks, custom coding by Glenn, an ex-vBulletin Developer. You must register before you can post, download the files or copy the code from the free plugins.
I have replaced the readme file with HTML format. I confirmed that copying and pasting the code now preserves the correct linebreaks. Buyers of this mod have been emailed with the new download link.
Glad you sorted it out. Those comments should be in one line. Are they not in one line in the readme? They may wrap with soft line breaks due to space limitation but when copy pasted in the editor, it shouldn't insert hard line breaks when the line wraps.
Got it sorted
The problem was the way the edits were parsed as seen below
Code:
[COLOR=#006400]// the image inserts (<img> element in the editor body & hidden inputs in the[/COLOR]
[COLOR=#FF0000]form) are handled as part of closeFileDialog() (normally would be handled by
the onOk handler of the dialog)
echo "window.parent.vBulletin.ckeditor.closeFileDialog('$editorId', " .
json_encode($info) . ");";[/COLOR]
Green commented out
Red not commented out
Just commented all out and that sorted it
Leave a comment: