How to use the @edtr-io/ui.edtrTextControls.close function in @edtr-io/ui

To help you get started, we’ve selected a few @edtr-io/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github edtr-io / edtr-io / packages / plugins / text / src / controls / colors.tsx View on Github external
.moveToEnd()
              .focus()
            props.switchControls(VisibleControls.All)
            props.onChange(props.editor)
          }}
          title="Einfärben"
        >
          
        
      ))}
      <button name="{props.name}"> props.switchControls(VisibleControls.All)}
        title="Untermenü schließen"
      &gt;
        
      </button>
    
  )
}
github edtr-io / edtr-io / packages / plugins / text / src / controls / headings.tsx View on Github external
props.editor.focus()
              props.onChange(props.editor)
              props.switchControls(VisibleControls.All)
            }}
            title={`Überschrift ${level}`}
          &gt;
            H{level}
          
        )
      }, 3)}
      <button> props.switchControls(VisibleControls.All)}
        title="Untermenü schließen"
      &gt;
        
      </button>
    
  )
}
github edtr-io / edtr-io / packages / plugins / text / src / controls / lists.tsx View on Github external
toggleList(unorderedListNode)(props.editor).focus()
          if (!isList(unorderedListNode)(props.editor)) {
            props.switchControls(VisibleControls.All)
          }
          props.onChange(props.editor)
        }}
        title="Aufzählung"
      &gt;
        
      
      <button> props.switchControls(VisibleControls.All)}
        title="Untermenü schließen"
      &gt;
        
      </button>
    
  )
}