Skip to content

Commit

Permalink
fix: add link in toolbar and use link instead of quicklink
Browse files Browse the repository at this point in the history
Found display: flex breaks quicklink menu visualization.
Added "link" item in toolbar to allow inserting a link

Refs: CO-1146 (#432)
  • Loading branch information
frisonisland authored Jun 12, 2024
1 parent 4cefa09 commit 48e6dea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/store/integrations/composer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,14 @@ const Composer: FC<ComposerProps> = ({
'forecolor backcolor',
'bullist numlist outdent indent',
'ltr rtl',
'link',
'insertfile image',
'imageSelector'
].join(' | '),
quickbars_insert_toolbar: inline ? 'bullist numlist' : '',
quickbars_selection_toolbar: inline
? 'bold italic underline | forecolor backcolor | removeformat | quicklink'
: 'quicklink',
? 'bold italic underline | forecolor backcolor | removeformat | link'
: 'link',
contextmenu: '',
toolbar_mode: 'wrap',
content_style: `body { color: ${defaultStyle?.color}; font-size: ${defaultStyle?.fontSize}; font-family: ${defaultStyle?.font}; }`,
Expand Down

0 comments on commit 48e6dea

Please sign in to comment.