Class: Maglev::Uikit::Form::Richtext::BlockButtonComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Maglev::Uikit::Form::Richtext::BlockButtonComponent
- Defined in:
- app/components/maglev/uikit/form/richtext/block_button_component.rb
Instance Method Summary collapse
Instance Method Details
#choices ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'app/components/maglev/uikit/form/richtext/block_button_component.rb', line 8 def choices [ { name: 'paragraph', icon: 'text_paragraph' }, { name: 'heading_2', icon: 'text_heading_2' }, { name: 'heading_3', icon: 'text_heading_3' }, { name: 'heading_4', icon: 'text_heading_4' }, { name: 'blockquote', icon: 'text_quote' }, { name: 'code_block', icon: 'text_code' } ] end |