MCPcopy Create free account
hub / github.com/docusealco/docuseal / addCommands

Function addCommands

app/javascript/template_builder/dynamic_editor.js:364–368  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362 return ['strong', 0]
363 },
364 addCommands () {
365 return {
366 toggleBold: () => ({ commands }) => commands.toggleMark(this.name)
367 }
368 },
369 addKeyboardShortcuts () {
370 return {
371 'Mod-b': () => this.editor.commands.toggleBold()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected