observablehq / inspector

The Observable standard inspector.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable Title Attribute for Inspector Values

radames opened this issue · comments

Here is a simple idea inspired by the Chrome dev tools inspector.
I understand why very long string values need to be truncated. However, sometimes, you want to inspect its total value quickly. On Chrome, you can do that by hovering the inspector object values.Here is an example and a hack.

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/title

a

b

Here is Chrome dev tools strategy for a long string, using your 10MB string example.

c