|
I'm using IE's design mode for a WYSIWYG editor I'm assembling. The execCommand dialog for insert image places the absolute file path in the HTML for images. This has to be manually deleted before uploading the saved page to the web host, which isn't at all WYSIWYG.
For weeks I've been looking for a script to eliminate the file path from the image src tag, but I can't find anything that works client-side. I understand why it's necessary for an editor to use the file path to display an inserted image on the page under construction, but other WYSIWYG editors eliminate the path if the page is saved in the same folder/directory as the image. How is this done? I assume the script would have to be added to the execCommand(Save As) function.
|
|
|
|
|
|
|
|