Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@eduardoadmdev
Copy link

Summary

This PR adds a "Line Height" button to the editor toolbar, allowing users to adjust the line spacing of text blocks.

Changes

  • Added a new LineHeightButton component to the editor toolbar.
  • Implemented the selection menu using DropdownItem within a Popover to create a vertical list layout (1.0, 1.15, 1.5, 2.0), providing a familiar UX similar to other text editors.
  • Added the necessary icon to icons.ts and translation string to editing.ftl.
  • Added my name to CONTRIBUTORS.

Testing

  • Verified visually in the editor.
  • Ran ./ninja check:svelte (Passed).
  • Ran ./ninja format and ./ninja fix to ensure code style compliance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants