feat: Native video display (#5866)

This commit is contained in:
Tom Moor
2023-09-28 20:28:09 -04:00
committed by GitHub
parent bd06e03b1e
commit f4fd9dae5f
24 changed files with 840 additions and 344 deletions

View File

@@ -20,6 +20,7 @@ import {
CalendarIcon,
MathIcon,
DoneIcon,
EmbedIcon,
} from "outline-icons";
import * as React from "react";
import styled from "styled-components";
@@ -101,6 +102,12 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] {
shortcut: `${metaDisplay} k`,
keywords: "link url uri href",
},
{
name: "video",
title: dictionary.video,
icon: <EmbedIcon />,
keywords: "mov avi upload player",
},
{
name: "attachment",
title: dictionary.file,