} if (this._titleChangeValue==6) { this.core.execInstanceCommand(editor_id, "FormatBlock", false, "<div>"); var selectedBlock = tinyMCE.selectedInstance.selection.getFocusElement(); selectedBlock.setAttribute("class", "code"); var b = tinyMCE.selectedInstance.selection.getBookmark(); var preNode = tinyMCE.selectedInstance.getDoc().createElement("<pre>"); var childsBlock = selectedBlock.childNodes;  for (var i=0; i<childsBlock.length; i++){ preNode.appendChild(childsBlock[i].cloneNode(true)); selectedBlock.removeChild(childsBlock[i], true); }  selectedBlock.appendChild(preNode); tinyMCE.selectedInstance.selection.moveToBookmark(b); 
WikiEditor.prototype.fixTitle = function(editor_id, node) {    var value = "";    if (this._titleChangeValue==0) {        this.core.execInstanceCommand(editor_id, "mceRemoveNode", false, node);    } else {        value = "<h" + this._titleChangeValue + ">";        this.core.execInstanceCommand(editor_id, "FormatBlock", false, value);        var childs = tinyMCE.selectedInstance.contentDocument.body.childNodes;        if (childs) {         for( var x = 0; childs[x]; x++ ) {            var child = childs[x];            var nn = child.nodeName;            if ((nn.length == 2) && (nn.charAt(0) == "H")) {                 var level = parseInt(nn.charAt(1));                 var cn = "heading" + this.buildString("-1", level);                 child.className = cn;            }         }        }    }    tinyMCE.triggerNodeChange();}
6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6184/c310aec82a62b39a411dc3a635723c11f278c7f6/core.js/clean/xwiki-platform-web/standard/src/main/webapp/wiki_editor/plugins/core.js