Skip to content

Fix the default language style for newly created code blocks#2999

Merged
antsgar merged 1 commit into
standardnotes:mainfrom
micl2e2:main
Jul 6, 2026
Merged

Fix the default language style for newly created code blocks#2999
antsgar merged 1 commit into
standardnotes:mainfrom
micl2e2:main

Conversation

@micl2e2

@micl2e2 micl2e2 commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

It seems that most code in CodeOptions.tsx that tries to set default language as 'empty' provides little help, and somehow always fallback to JS (https://github.com/facebook/lexical/blob/5dd93a7c8b4b23d2b00a547c2d860cb17aed1e52/packages/lexical-code-core/src/CodeNode.ts#L52).

I marked this as a "fix" is because line 18 suggests that the plain text type was needed at the very beginning.

@micl2e2

micl2e2 commented May 3, 2026

Copy link
Copy Markdown
Contributor Author

May I ask, as paying customers, specifically "Professional" ones, how long could we expect our contributions to get responded from the team?

@antsgar

antsgar commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Hi @micl2e2! Thank you for your contribution, changes look good. Apologies for the delay in reviewing your PR 🙏 we try to review all contributor PRs as soon as possible, but response times can vary depending on the team's current priorities and workload. We appreciate your patience and your help.

@antsgar antsgar merged commit 9d026df into standardnotes:main Jul 6, 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.

2 participants