WordPress WordPress Theme Development Finishing Your WordPress Theme Adding Shortcodes to Your Theme

shareyourpeace
shareyourpeace
3,244 Points

How do you copy raw html in chromeDevTools?

Time :30 in the video.

I tried he normal ways and could not do it ?

Thanks.

4 Answers

More than one line? Click again and select edit as HTML. This will let you select all the lines you want to copy.

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

The way I am able to accomplish that is to left-click on the starting line of code and while holding the button down move through the HTML to the last/first line I am interested in copying. Then (on a PC) I do a CTRL-C.

Ken

shareyourpeace
shareyourpeace
3,244 Points

Thanks. I am on a Mac.
Press is a left click and a drop down let's me select the current line of code. Still working out more than one line.

Thanks,

Hi, I saw the video! Go to your browser, inspect the element, right click or command click on mac and select copy. Then paste the element in your WordPress Page. This is how you do it but its not showing up in the video. You should also check this: http://anti-code.com/devtools-cheatsheet/

shareyourpeace
shareyourpeace
3,244 Points

Hi. Yes. I have done as you suggested but this only allows me to select the One Line of code.

I cannot find the keystroke combination to select more than the one line.

Oh. And than you for that cheatsheet !