id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 3168,Unknown script code appears in the editor,Prabha,,"Steps to replicate:[[BR]] 1. Have some default content in the form field which uses editor.[[BR]] 2. After the page is loaded with the editor, select all the content in the editor and press delete button on the keyboard[[BR]] 3. Press delete button once again, script code will appear in the editor. [[BR]] Example: 1. Visit the link http://www.sustainlane.com [[BR]] 2. Click on the link 'Post to Sustainlane' which is on the right side of the page below a search box. [[BR]] 3. On the next page click on the link Blog[[BR]] 4. A radio button selection appears on the right side of the page[[BR]] 5. Select 'Recipe' and click on the next button.[[BR]] 6. A form with FCKEditor as one of the form fields appears, which has some template text. [[BR]] 7. Select this text and press delete button and remove the content.[[BR]] 8. Press delete button once again. [[BR]] 9. The script appears in the editor.[[BR]] Note: No signin/registration is required to try the above steps on sustainlane.com. Following is the script code that appears in the editor: -- function __RP_Callback_Helper(str, strCallbackEvent, splitSize, func){var event = null;if (strCallbackEvent){event = document.createEvent('Events');event.initEvent(strCallbackEvent, true, true);}if (str && str.length > 0){var splitList = str.split('|');var strCompare = str;if (splitList.length == splitSize)strCompare = splitList[splitSize-1];var pluginList = document.plugins;for (var count = 0; count < pluginList.length; count++){var sSrc = '';if (pluginList[count] && pluginList[count].src)sSrc = pluginList[count].src;if (strCompare.length >= sSrc.length){if (strCompare.indexOf(sSrc) != -1){func(str, count, pluginList, splitList);break;}}}}if (strCallbackEvent)document.body.dispatchEvent(event);}function __RP_Coord_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Coord_Callback = str;pluginList[index].__RP_Coord_Callback_Left = splitList[0];pluginList[index].__RP_Coord_Callback_Top = splitList[1];pluginList[index].__RP_Coord_Callback_Right = splitList[2];pluginList[index].__RP_Coord_Callback_Bottom = splitList[3];};__RP_Callback_Helper(str, 'rp-js-coord-callback', 5, func);}function __RP_Url_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Url_Callback = str;pluginList[index].__RP_Url_Callback_Vid = splitList[0];pluginList[index].__RP_Url_Callback_Parent = splitList[1];};__RP_Callback_Helper(str, 'rp-js-url-callback', 3, func);}function __RP_TotalBytes_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_TotalBytes_Callback = str;pluginList[index].__RP_TotalBytes_Callback_Bytes = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}function __RP_Connection_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Connection_Callback = str;pluginList[index].__RP_Connection_Callback_Url = splitList[0];};__RP_Callback_Helper(str, null, 2, func);} //--> ",Bug,closed,Normal,,General,FCKeditor 2.6.2,duplicate,Pending WorksForMe,vsprabha@…