File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
packages/rte/src/components/RichTextEditor/Plugins/FontColorPlugin Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @frontify/fondue-rte " : patch
3+ ---
4+
5+ Fix building FontColorPlugin, module name could not be resolved.
Original file line number Diff line number Diff line change 11/* (c) Copyright Frontify Ltd., all rights reserved. */
22
3+ import { type PlatePlugin } from '@udecode/plate-core' ;
34import { createFontColorPlugin } from '@udecode/plate-font' ;
45
56import { Plugin , type PluginProps } from '../Plugin' ;
@@ -11,5 +12,7 @@ export class FontColorPlugin extends Plugin {
1112 super ( 'font-color-plugin' , { button : FontColorButton , ...props } ) ;
1213 }
1314
14- plugins = ( ) => [ createFontColorPlugin ( ) ] ;
15+ plugins ( ) : PlatePlugin [ ] {
16+ return [ createFontColorPlugin ( ) ] ;
17+ }
1518}
You can’t perform that action at this time.
0 commit comments