Topic: HTML editor does not allow cut, copy, paste

Serif WebPlus X8

In my current document I can view the HTML code, but it does not allow me to actually edit anything. When I right click in the HTML page, the cut-copy-paste options are greyed out. Is there anything I can do to allow actual editing of the text? In other words, the HTML editor won't allow me to actually edit the HTML source of the page.

The image below shows the HTML lines I want to select and delete. I can select, but can't delete (cut).
Click image to expand.


https://i.postimg.cc/m1R5xs3n/HTML-lines-to-select-and-delete.png

Re: HTML editor does not allow cut, copy, paste

The fact that it say ‘Clipboard’ indicates that you added it (inadvertently!) by pasting it from the Windows clipboard. There should be a corresponding object visible in ‘Design’ view, in which case you should be able to select it there and delete it.

If you have to work in ‘Source’ view, you can only edit the white bits. Try changing

__AddCode="here"

to

style="display:none"

which should leave the <img> tag element in the HTML code but set it not to be displayed. A potential problem with this approach is that some browsers might override that ‘style’ attribute with the unchangeable one that follows it, which would mean that you’re back to square one.

"Has it ever struck you that life is all memory, except for the one present moment that goes by you so quick you hardly catch it going?"
― Tennessee Williams

Re: HTML editor does not allow cut, copy, paste

I've asked him to post his file on his next post on his other thread but seems to have fallen on deaf ears. Whats the point in trying to help someone who doesn't help themselves?

I used to be indecisive, now I'm not so sure.

4 (edited by APoster 2024-12-17 17:45:09)

Re: HTML editor does not allow cut, copy, paste

Alfred wrote:

The fact that it say ‘Clipboard’ indicates that you added it (inadvertently!) by pasting it from the Windows clipboard. There should be a corresponding object visible in ‘Design’ view, in which case you should be able to select it there and delete it.

Alfred, thanks for the response. Unfortunately, there is no "corresponding object visible in ‘Design’ view". That's why I tried to find and delete the extraneous code in the HTML view. I found it, but can't change it.

I have already fixed the "duplicate image" problem without editing the HTML. But for future reference, I'd like to know why I can't "cut, copy, paste" in the HTML window. Is there some setting that I'm not aware of? I vaguely remember, years ago, being able to edit the HTML window as WYSIWYG.

The bottom line here is that WebPlus' HTML Editor is nothing more than a Code Viewer. For future reference, is there another HTML Editor in which I could actually Cut, Copy, and Paste line items in the code?

PROBLEM SOLVED