M
M
max10212018-01-12 15:54:45
css
max1021, 2018-01-12 15:54:45

Clean code in WYSIWYG?

Gentlemen, the question arose, what, in your opinion, is the best WYSIWYG program that would produce pure html and css code that could be taken from the program or made its own adjustments in the course of work.
We all know that there are a lot of such programs, like adobe muse, but they have the most terrible, dirty code. I know that there are WYSIWYG programs with clean code, but I could not find it yet.
Thanks in advance for your replies

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Korobkov, 2018-01-12
@BorisKorobkov

The basis of the WYSIWYG editor is the browser's contenteditable, which is the same in all editors. If you copy-paste from Word, there will be a lot of left attributes and styles everywhere. If you type from the keyboard or paste from notepad, there will be pure html everywhere.
And then each editor has his own bells and whistles, beautiful buttons, various replacements with regular expressions. But personally, I prefer not to depend on the wysiwyg editor on the client side, but to do these replacements myself on the server. For example, htmlpurifier.org or https://word-to-html.ru/

A
Anton Filippov, 2018-01-12
@vicodin

Atom, VSCode, Webstorm.. If you don't feel like typing code, you can use the on-screen keyboard, a kind of wysiwyg emulation
. Seriously, it's hard to find a person who writes acceptable code, and you want software to do it. Use muse or webflow with export to html, but don't look at the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question