Skip to content

Add font size support to editor. #2

@Sachin1395

Description

@Sachin1395

Description

The editor currently supports basic text formatting (bold, italic, underline, headings),
but does not provide font size control.

Adding font size support would improve document formatting flexibility and usability.

Proposed Approach

  • Use TipTap extension(s) to support custom font sizes
  • Provide a UI control (dropdown or input) for selecting font size
  • Apply font size to selected text only

Tasks

  • Investigate TipTap support for font-size (e.g., TextStyle + custom commands)
  • Implement font size extension
  • Update toolbar UI with font size selector
  • Ensure compatibility with collaborative editing (Yjs)
  • Add basic documentation or usage notes

Acceptance Criteria

  • Users can change font size for selected text
  • Existing formatting remains unaffected
  • Works correctly in collaborative sessions
  • No regressions in editor behavior

Difficulty

Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions