hi
i try to make some modification to the function
function CuteEditor_FilterHTML(editor,code)
{
var sHTML;
sHTML=code.replace(/(<a[^\>]*\>)([\s\S]*)(\<\/a\>)/i, "$2");
editor.setHTML(sHTML);
}
function CuteEditor_FilterCode(editor,code)
{
var sHTML;
sHTML=code.replace(/(<a[^\>]*\>)([\s\S]*)(\<\/a\>)/i, "$2");
editor.setHTML(sHTML);
}
but everytime i add/select a layer, it will lost focus to that layer.....it unable me to change the text inside the layer (maybe is cause by i reset the HTML)
thanks