Skip to content

Create simple ramp layout#92

Open
eomine wants to merge 13 commits into
FontBureau:mainfrom
eomine:create-simple-ramp-layout
Open

Create simple ramp layout#92
eomine wants to merge 13 commits into
FontBureau:mainfrom
eomine:create-simple-ramp-layout

Conversation

@eomine

@eomine eomine commented May 8, 2026

Copy link
Copy Markdown
Collaborator

The "Simple Ramp" layout basically removes all sidebar panels except "Font" and "TypeSpec Properties". The "Editor" panel is still there for now, but it will probably be removed. The idea is to make the bold/italic menu a floating menu that shows up near the selected text.

Two new features implemented in the "Simple Ramp":

  • Automatically set the "TypeSpec Properties" panel to the properties of the focused block of text;
  • Simplified style menu, with only 2 toggle buttons for bold and italic. The "bold italic" style should be applied when the user toggles both buttons on.

Note: the bold/italic menu is not working properly yet. In fact, the style buttons in the existing "Ramp" layout don't work as expected. For example:

  • Select a word and click "bold": the word becomes bold;
  • Then click "italic":
    • Expected result: the word should become italic instead of bold;
    • Actual result: the bold style is removed, but the italic style is not added.

@eomine eomine force-pushed the create-simple-ramp-layout branch from 2b32166 to 50d9a0b Compare May 8, 2026 17:26
@eomine eomine requested a review from graphicore May 8, 2026 17:43
@eomine eomine marked this pull request as ready for review May 8, 2026 17:43
@eomine eomine force-pushed the create-simple-ramp-layout branch from f32770e to facfbcd Compare May 13, 2026 17:54
@eomine

eomine commented May 13, 2026

Copy link
Copy Markdown
Collaborator Author

@graphicore Updated the PR with the changes to the typespec detection moved to _prosemirrorDispatchTransaction as we discussed yesterday.

@graphicore graphicore mentioned this pull request Jun 17, 2026
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.

1 participant