P
P
Paul_Morte2018-04-20 18:38:05
Google Chrome
Paul_Morte, 2018-04-20 18:38:05

How to save html page after editing Developer tool chrome?

It is convenient to edit some elements when using the Developer tool in the chrome browser.
The question is how to save changes in the HTML code in the chrome element editor after the change.
When I try to save the page from the browser using ctrl+s I get the following:
Here I made the only change - changed the color to red

spoiler
5ada08c08cd73418937126.jpeg

ctrl+s and there are two choices, saving "only HTML" saves nothing
spoiler
5ada08f8241a6436066414.jpeg

And when you save the full page, an incomprehensible garbage is added to the code for the links
spoiler
5ada092e05d63588828544.jpeg

How to save the modified code correctly

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
supertrolyaso, 2018-04-20
@supertrolyaso

The developer tool is not used as an editor for html pages and code, it is used for debugging.
But if you want to edit files through it, so that everything is saved on the PC, you should go to the sources -> filesystem tab and specify the folder with the files to be edited, after which the changes will be saved correctly, it will be enough to press ctrl + s;

L
lam0x86, 2018-04-20
@lam0x86

Right click on the <html> tag and select Copy -> Copy element from the menu.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question