1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Resolves #9468: Add support for changing text colors in rich text editor (#9578)

This commit is contained in:
Henry Heino
2024-01-04 05:51:26 -08:00
committed by GitHub
parent 4e09b6f2a4
commit 7e8c87e908
9 changed files with 56 additions and 4 deletions

View File

@ -60,6 +60,9 @@ export default function(editor: any) {
const items: string[] = definitions.filter(d => !!d.grouped).map(d => d.name);
// Additional built-in buttons to show in the formatting sub-menu:
items.push('forecolor');
editor.ui.registry.addGroupToolbarButton('formattingExtras', {
icon: 'image-options',
items: items.join(' '),