chore: fix super icons
This commit is contained in:
@@ -29,7 +29,7 @@ export function BlockPickerMenuItem({
|
||||
onMouseEnter={onMouseEnter}
|
||||
onClick={onClick}
|
||||
>
|
||||
<Icon type={option.iconName} className="mt-1.5 h-5 w-5" />
|
||||
<Icon type={option.iconName} className="h-5 w-5" />
|
||||
<div className="text-editor">{option.title}</div>
|
||||
</li>
|
||||
)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { LexicalEditor } from 'lexical'
|
||||
import { INSERT_COLLAPSIBLE_COMMAND } from '../../Plugins/CollapsiblePlugin'
|
||||
import { LexicalIconName } from '@/Components/Icon/LexicalIcons'
|
||||
import { IconType } from '@standardnotes/snjs'
|
||||
|
||||
export function GetCollapsibleBlock(editor: LexicalEditor) {
|
||||
return {
|
||||
name: 'Collapsible',
|
||||
iconName: 'caret-right-fill' as LexicalIconName,
|
||||
iconName: 'caret-right' as IconType,
|
||||
keywords: ['collapse', 'collapsible', 'toggle'],
|
||||
onSelect: () => editor.dispatchCommand(INSERT_COLLAPSIBLE_COMMAND, undefined),
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export function GetRemoteImageBlock(onSelect: () => void) {
|
||||
return {
|
||||
name: 'Image from URL',
|
||||
iconName: 'file-image',
|
||||
iconName: 'image',
|
||||
keywords: ['image', 'url'],
|
||||
onSelect,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user