Skip to content

Suppress hydrogen tooltips? #1582

Open
Open
@ghost

Description

Is there any way to suppress the "Click to copy, Cmd+Click to open in editor" tooltip that keeps appearing in the Hydrogen output?

hydrogen/lib/components/result-view/result-view.js:

  addCopyTooltip = (element: ?HTMLElement, comp: atom$CompositeDisposable) => {
    if (!element || !comp.disposables || comp.disposables.size > 0) return;
    comp.add(
      atom.tooltips.add(element, {
        title: `Click to copy,
          ${
            process.platform === "darwin" ? "Cmd" : "Ctrl"
          }+Click to open in editor`
      })
    );
  };

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions