mirror of
https://github.com/enso-org/enso.git
synced 2024-11-05 03:59:38 +03:00
parent
87864bf564
commit
8423f31884
@ -9,12 +9,12 @@ const blockType = defineModel<BlockType>({ required: true })
|
||||
const TODO: Icon = 'text'
|
||||
const blockTypeIcon: Record<keyof typeof blockTypeToBlockName, Icon> = {
|
||||
paragraph: 'text',
|
||||
bullet: TODO,
|
||||
bullet: 'bullet-list',
|
||||
code: TODO,
|
||||
h1: TODO,
|
||||
h2: TODO,
|
||||
h3: TODO,
|
||||
number: TODO,
|
||||
number: 'numbered-list',
|
||||
quote: TODO,
|
||||
}
|
||||
const blockTypesOrdered: BlockType[] = [
|
||||
|
@ -77,7 +77,7 @@ const close = () => (menuOpen.value = false)
|
||||
@click="close"
|
||||
/>
|
||||
<SvgButton
|
||||
:name="TODO"
|
||||
name="remove-textstyle"
|
||||
label="Clear Formatting"
|
||||
@click.stop="clearFormatting"
|
||||
@click="close"
|
||||
|
Loading…
Reference in New Issue
Block a user