Ask Your Question
0

html editing in Writer ... added html disappears

asked 2016-03-21 21:59:34 +0100

juergen.rotter gravatar image

updated 2016-03-22 11:34:51 +0100

when adding code to an HTML-source some code disappears when I switch to (wysiwyg) weblayout and back to HTML-source.

example: <style>
a:link {color:green; background-color:transparent; text-decoration:none}
a:visited {color:pink; background-color:transparent; text-decoration:none}
a:hover {color:red; background-color:transparent; text-decoration:underline}
a:active {color:yellow; background-color:transparent; text-decoration:underline}
</style>

of this style-block the link and visited lines would remain, hover and active disappear.

I made the same experience with adding

img src="exmpl.jpg"

which is just deleted. Libreoffice forces me to embed the image file in the html, what is not that great.

Does anybody know a way to avoid this loss of code? LibreOffice Writer would be a real nice wysiwyg editor, if this problem could be somehow switched off or worked around. Juergen

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-01-31 22:01:37 +0100

JEDIMASTER gravatar image

updated 2019-01-31 22:02:17 +0100

LibreOffice is an Office Suite in it's Primary Design that can make simple HTML Documents. For a real nice wysiwyg editor go to http://bluegriffon.org/. If this helps then please tick the answer (✔) ...and/or show you like it with an uptick (∧)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-03-21 21:59:34 +0100

Seen: 591 times

Last updated: Jan 31