Skip to content
MediaBrowse media components
ComponentsMediaNew in 0.2

Rich text toolbar

Formatting bar for editors with pressed-state indicators and dividers.

Live preview

Usage

Adapters:React stableVue stable
index.html
<div class="lm-rt-toolbar" role="toolbar">
  <button class="lm-rt-button" aria-pressed="true">B</button>
</div>

CSS classes (3)

ClassDescription
lm-rt-toolbarWrapper bar
lm-rt-buttonEach formatting button
lm-rt-divider1px vertical divider

Accessibility

  • Use role='toolbar' on wrapper.
  • Active formatting: aria-pressed='true'.

Spotted something wrong? Edit this entry on GitHub.