Skip to content

Editor Enhancements & Fixes#53

Open
jaainil wants to merge 14 commits intoerlandv:mainfrom
jaainil:main
Open

Editor Enhancements & Fixes#53
jaainil wants to merge 14 commits intoerlandv:mainfrom
jaainil:main

Conversation

@jaainil
Copy link

@jaainil jaainil commented Dec 22, 2025

Summary

This PR expands the Code Block functionality in both the main Writenex app and the Astro package, fixing UI issues and ensuring consistency across the monorepo.


Changes

🚀 Features

  • Expanded Language Support: Added support for txt (Plain Text), mermaid, java, cpp, php, python, rust, go, and more to the Code Block language selector.
  • Consistent Labeling: Synced language display names between @writenex/astro and apps/writenex, using concise short forms (e.g., "JS", "TS", "MD", "Txt").

🐛 Bug Fixes

  • Scrollable Dropdowns: Fixed an issue where long dropdown lists (like the language selector) were not scrollable. Added max-height: 300px and overflow-y: auto to dropdown containers in both Editor.css and MarkdownEditor.tsx styles.

🛠️ Technical Details

Files Modified:

  • apps/writenex/lib/editor/MarkdownEditor.tsx: Updated language list and added inline styles for dropdowns.
  • packages/astro/src/client/components/Editor/Editor.tsx: Updated language list.
  • packages/astro/src/client/components/Editor/Editor.css: Added scrolling rules for dropdown components.

@vercel
Copy link

vercel bot commented Dec 22, 2025

@jaainil is attempting to deploy a commit to the Erland's projects Team on Vercel.

A member of the Team first needs to authorize it.

jaainil and others added 13 commits January 19, 2026 02:39
…tor with updated display names and an empty string fallback.
…_TOKEN` environment variables from the release workflow.
# 1.0.0 (2026-01-18)

### Bug Fixes

* remove duplicate pnpm version specification ([7d76b70](7d76b70))
* update package name to @imjp/writenex-astro ([64e5fe1](64e5fe1))

### Features

* add @writenex/astro - CMS integration for Astro content collections ([4223c4b](4223c4b))
* Add new Vercel React best practice rules and skill definitions. ([5ac16f0](5ac16f0))
* Add numerous code block languages and implement dropdown scrolling to prevent overflow. ([5e83a81](5e83a81))
* **astro:** v0.2.0 - Major UI/UX improvements and new features ([29a7188](29a7188))
* **astro:** v0.2.2 - Enhanced editor with accessibility and version history ([427a1b8](427a1b8))
* **astro:** v0.2.4 - UI refinements and collection selection modal ([74b4766](74b4766))
* **astro:** v0.2.5 - Image strategies, file patterns, and brand color system ([8787c8c](8787c8c))
* **astro:** v0.3.0 - Monorepo restructuring and package consolidation ([274d651](274d651))
* **astro:** v0.3.1 - Remove customizable basePath option ([0a52e80](0a52e80))
* expand and categorize supported code block languages in the editor with updated display names and an empty string fallback. ([eee0e13](eee0e13))
* migrate to monorepo structure with pnpm workspaces ([erlandv#3](https://github.com/jaainil/writenex/issues/3)) ([6d0c62a](6d0c62a))
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