improves: Make command menu larger, darken toolbar, order image + link higher up menu
This commit is contained in:
@@ -614,7 +614,7 @@ export const Wrapper = styled.div<{
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
max-height: 224px;
|
max-height: 324px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,19 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] {
|
|||||||
{
|
{
|
||||||
name: "separator",
|
name: "separator",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "image",
|
||||||
|
title: dictionary.image,
|
||||||
|
icon: ImageIcon,
|
||||||
|
keywords: "picture photo",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "link",
|
||||||
|
title: dictionary.link,
|
||||||
|
icon: LinkIcon,
|
||||||
|
shortcut: `${metaDisplay} k`,
|
||||||
|
keywords: "link url uri href",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "table",
|
name: "table",
|
||||||
title: dictionary.table,
|
title: dictionary.table,
|
||||||
@@ -104,19 +117,6 @@ export default function blockMenuItems(dictionary: Dictionary): MenuItem[] {
|
|||||||
keywords: "page print break line",
|
keywords: "page print break line",
|
||||||
attrs: { markup: "***" },
|
attrs: { markup: "***" },
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "image",
|
|
||||||
title: dictionary.image,
|
|
||||||
icon: ImageIcon,
|
|
||||||
keywords: "picture photo",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "link",
|
|
||||||
title: dictionary.link,
|
|
||||||
icon: LinkIcon,
|
|
||||||
shortcut: `${metaDisplay} k`,
|
|
||||||
keywords: "link url uri href",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "separator",
|
name: "separator",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ export const light = {
|
|||||||
inputBorderFocused: colors.slate,
|
inputBorderFocused: colors.slate,
|
||||||
listItemHoverBackground: colors.warmGrey,
|
listItemHoverBackground: colors.warmGrey,
|
||||||
toolbarHoverBackground: colors.black,
|
toolbarHoverBackground: colors.black,
|
||||||
toolbarBackground: colors.lightBlack,
|
toolbarBackground: colors.almostBlack,
|
||||||
toolbarInput: colors.white10,
|
toolbarInput: colors.white10,
|
||||||
toolbarItem: colors.white,
|
toolbarItem: colors.white,
|
||||||
tableDivider: colors.smokeDark,
|
tableDivider: colors.smokeDark,
|
||||||
|
|||||||
Reference in New Issue
Block a user