Description:
Text blocks and sticky notes only use the default font. We should allow basic text formatting.
How to Implement:
- Font Loading: Import a few Google Fonts via CSS or
WebFontLoader.
- Fabric Properties: Update the
fontFamily and textAlign properties on the selected fabric.IText or fabric.Textbox object.
- UI Updates: Add a font-family dropdown menu and alignment toggle buttons (Left/Center/Right) to the text properties toolbar.
- Sync: Add these properties to the Yjs sync payload for text objects.
Description:
Text blocks and sticky notes only use the default font. We should allow basic text formatting.
How to Implement:
WebFontLoader.fontFamilyandtextAlignproperties on the selectedfabric.ITextorfabric.Textboxobject.