Univer
Univer Sheet
Features
Hyperlink

HyperLink

📊 Univer Sheet📝 Univer Doc

Insert hyperlinks, support click to jump to specified link, cell, or worksheet.

Installation

pnpm add @univerjs/sheets-hyper-link @univerjs/sheets-hyper-link-ui

Import

import '@univerjs/sheets-hyper-link-ui/lib/index.css';
 
import { UniverSheetsHyperLinkPlugin } from '@univerjs/sheets-hyper-link';
import { UniverSheetsHyperLinkUIPlugin } from '@univerjs/sheets-hyper-link-ui';

Internationalization

import { LocaleType, Tools } from '@univerjs/core';
import SheetsHyperLinkUIEnUS from '@univerjs/sheets-hyper-link-ui/locale/en-US';
 
const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: Tools.deepMerge(
      SheetsHyperLinkUIEnUS
    ),
  },
});

Register

univer.registerPlugin(UniverSheetsHyperLinkPlugin);
univer.registerPlugin(UniverSheetsHyperLinkUIPlugin);

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.