看到“layout-1c”之前的“...”了吗? Firefox 似乎为何时应该折叠冗长的元素属性定义了一些规则。我想禁用它。总是向我展示一切。如何?
编辑双击属性不够好。它会丢失包装并让您手动滚动一吨。 Firebug 从一开始就做所有事情,我希望内置检查器具有相同的行为。
最佳答案
这是一个老问题,但有人可能仍然需要这个。
在官方mozilla docs它解释了我们如何调整是否截断,以及在截断之前将显示多少个字符:
Truncate DOM attributes
By default, the Inspector truncates DOM attributes that are more than 120 characters long. Uncheck this box to prevent this behavior. This setting works by toggling the about:config preference "devtools.markup.collapseAttributes". To change the threshold at which attributes are truncated, you can edit the about:config preference "devtools.markup.collapseAttributeLength".
开发人员工具中有一个方便的复选框。
要找到它,请单击右上角的三个点,然后转到“设置”:
关于firefox - 如何阻止 Firefox 开发人员工具检查器折叠省略号后面的 HTML 元素?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32127238/