Skip to content

Commit

Permalink
fix: using pre as editor block format
Browse files Browse the repository at this point in the history
  • Loading branch information
nubsthead committed Jul 11, 2022
1 parent 625424a commit 1e2c5c9
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 @@ -134,7 +134,8 @@ const Composer: FC<ComposerProps> = ({
? 'bold italic underline | forecolor backcolor | removeformat | quicklink'
: 'quicklink',
contextmenu: inline ? '' : '',
toolbar_mode: 'wrap'
toolbar_mode: 'wrap',
forced_root_block: 'pre'
}}
onEditorChange={_onEditorChange}
{...rest}
Expand Down

0 comments on commit 1e2c5c9

Please sign in to comment.