enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 323 forks source link

Add formatting toolbars to documentation editor #9969

Closed kazcw closed 2 months ago

kazcw commented 4 months ago

Add two toolbars to the Lexical-based markdown editor:

The Lexical playground's toolbar and LexicalMenu in lexical-react can be used as the primary references; there is also a Vue port in lexical-vue, but it is out of date.

Design

Similar to the Lexical playground, but without any formatting options that are unrepresentable in markdown, and in the Enso visual style (fully-rounded elements, 16x16 icons, DropdownWidget, collection of side by side bars instead of single divided bar).

Top bar

[^1]: Not in initial implementation, no specific plans. [^2]: Will be added as part of #10059. [^3]: Will be added as part of #9970. [^4]: Will be added as part of #9907 or later follow-up for link editing.

Floating selection toolbar

(All icons same as top bar)

enso-bot[bot] commented 4 months ago

Keziah Wesley reports a new STANDUP for today (2024-05-21):

Progress: Implemented selection formatting toolbar. Implemented copy button (#9878). Debugged suggestion db issue (#9831). It should be finished by 2024-05-24.

Next Day: Next day I will be working on the #9969 task. Format toolbar icons; top formatting bar.

enso-bot[bot] commented 4 months ago

Keziah Wesley reports a new STANDUP for yesterday (2024-05-22):

Progress: Implementing top bar UI components. It should be finished by 2024-05-24.

Next Day: Next day I will be working on the #9969 task. Formatting logic.

enso-bot[bot] commented 4 months ago

Keziah Wesley reports a new STANDUP for today (2024-05-23):

Progress: Implemented top bar formatting logic. It should be finished by 2024-05-24.

Next Day: Next day I will be working on the #9969 task. Pick a 1-point issue.