Skip to content

Conversation

@krassowski
Copy link
Member

References

Fixes #17917

Code changes

  • Adds optional emptyPlaceholder?: string to MarkdownCell.IOptions. It uses emptyPlaceholder because placeholder is already in use and indicates whether a cell should start as a placeholder cell (this is not fully rendered/without editor).
  • Adds a translation wrapper around the default palceholder.

User-facing changes

  • Better extensions!
  • The placeholder will be translated!

Backwards-incompatible changes

None. Since this adds to API tagging for 4.5.0.

@krassowski krassowski added this to the 4.5.0 milestone Sep 23, 2025
@jupyterlab-probot
Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

Copy link
Member

@jtpio jtpio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@krassowski krassowski merged commit 2b1ebb7 into jupyterlab:main Sep 25, 2025
89 of 91 checks passed
@krassowski krassowski deleted the allow-custom-empty-placeholder branch September 29, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default empty markdown cell placeholder should be configurable

2 participants