Skip to content

Commit

Permalink
Merge pull request #134 from jacquesbh/feature/horizontal-rule
Browse files Browse the repository at this point in the history
Add an action in the WYSIWYG to insert a <hr>
  • Loading branch information
maximehuran authored Feb 19, 2021
2 parents 697eec2 + a1a3c9c commit 11499c9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Resources/views/Admin/app.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,13 @@
title: 'Heading 3',
result: () => wysiwyg.exec('formatBlock', '<h3>')
},
'link'
'link',
{
name: 'hr',
icon: '<b>—</b>',
title: 'Horizontal rule',
result: () => wysiwyg.exec('insertHorizontalRule')
},
]
});
Expand Down

0 comments on commit 11499c9

Please sign in to comment.