When I save the content of the editor while in preview mode, all links have target="_blank". If I go back to design or html mode, the targets are reset to their original values.
I understand that the target attribute is added in preview mode so that links always open in a new window. But when I access the content for saving, the links should revert to their original targets.
I can't reproduce this in the demo, because I can't click a 'save' button and see the content
My workaround will be to hide my save button while in preview mode, but I would prefer not to have to do this.
I had a post last year where a similar issue was discussed, and you gave me a solution - can I remove this code now?