Skip to content

Commit

Permalink
fix: changing editor block formats options
Browse files Browse the repository at this point in the history
  • Loading branch information
nubsthead committed Jul 25, 2022
1 parent 39a8aa5 commit 06de72e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/integrations/composer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ const Composer: FC<ComposerProps> = ({
: 'quicklink',
contextmenu: inline ? '' : '',
toolbar_mode: 'wrap',
forced_root_block: 'pre'
block_formats:
'Paragraph=p;Header 1=h1;Header 2=h2;Header 3=h3;Header 4=h4;Header 5=h5;Header 6=h6;Div=div;Preformatted=pre'
}}
onEditorChange={_onEditorChange}
{...rest}
Expand Down

0 comments on commit 06de72e

Please sign in to comment.