diff -r c433348f3628 -r 31c23016ab62 includes/clientside/tinymce/plugins/paste/editor_plugin_src.js --- a/includes/clientside/tinymce/plugins/paste/editor_plugin_src.js Fri Feb 22 12:51:53 2008 -0500 +++ b/includes/clientside/tinymce/plugins/paste/editor_plugin_src.js Sun Feb 24 12:50:52 2008 -0500 @@ -1,5 +1,5 @@ /** - * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $ + * $Id: editor_plugin_src.js 615 2008-02-20 23:18:01Z spocke $ * * @author Moxiecode * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. @@ -160,12 +160,11 @@ // Cleanup Word content var bull = String.fromCharCode(8226); var middot = String.fromCharCode(183); - var cb; - if ((cb = this.editor.getParam("paste_insert_word_content_callback", "")) != "") - content = eval(cb + "('before', content)"); + if (ed.getParam('paste_insert_word_content_callback')) + content = ed.execCallback('paste_insert_word_content_callback', 'before', content); - var rl = this.editor.getParam("paste_replace_list", '\u2122,TM,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(','); + var rl = ed.getParam("paste_replace_list", '\u2122,TM,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(','); for (var i=0; i