mirror of
https://github.com/docmost/docmost.git
synced 2025-11-15 16:21:21 +10:00
feat: nested toggle block (#671)
* feat: nested toggle block * fix: md export * fix detailsButton icon alignment --------- Co-authored-by: Philipinho <16838612+Philipinho@users.noreply.github.com>
This commit is contained in:
@ -247,7 +247,7 @@ const CommandGroups: SlashMenuGroupedItemsType = {
|
||||
searchTerms: ["collapsible", "block", "toggle", "details", "expand"],
|
||||
icon: IconCaretRightFilled,
|
||||
command: ({ editor, range }: CommandProps) =>
|
||||
editor.chain().focus().deleteRange(range).toggleDetails().run(),
|
||||
editor.chain().focus().deleteRange(range).setDetails().run(),
|
||||
},
|
||||
{
|
||||
title: "Callout",
|
||||
|
||||
Reference in New Issue
Block a user