chrome devtools:资源修订不起作用(chrome devtools: Revisions of resources not working)

编程入门 行业动态 更新时间:2024-10-23 21:35:38
chrome devtools:资源修订不起作用(chrome devtools: Revisions of resources not working)

在Chrome中,您可以在线编辑资源,Chrome会生成该资源的修订版。 这里是文档: http : //code.google.com/intl/en-US/chrome/devtools/docs/elements-styles.html#persist

可悲的是,它不在这里工作,我不知道如何启用它。 无法在资源选项卡中展开文件以查看修订。

在MacOS上使用Chrome 15.0.874.121。 我的一位同事尝试了开发者频道,但它仍然没有。 但我在Google开发者日看到了它的演示。

In Chrome, you can edit your resources in line and Chrome will generate revisions of that resource. Here the documentation: http://code.google.com/intl/en-US/chrome/devtools/docs/elements-styles.html#persist

Sadly, it's not working here, and I don't know how to enable it. It is not possible to expand the file in the resource tab to see the revisions.

Using Chrome 15.0.874.121 on MacOS here. A colleague of mine tried the developer channel, but it's still not there. But I saw a demo of it at the Google Developer Day.

最满意答案

这也适用于15.0.874.121 - 只需在“资源”面板中双击CSS或JS文件的文本内容,键入内容并按Cmd + Enter。 您将看到添加的行以绿色背景显示,左侧的编辑资源将变为可扩展。

This works in 15.0.874.121 as well -- just double-click on a text content of a CSS or JS file in the Resources panel, type something and press Cmd+Enter. You will see the lines that you added displayed with a green background, and the edited resource on the left will become expandable.

更多推荐

本文发布于:2023-08-01 04:09:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1353875.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不起作用   资源   devtools   chrome   resources

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!