Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Print monaco editor whole content #4787

Open
2 tasks done
sytolk opened this issue Dec 17, 2024 · 0 comments
Open
2 tasks done

[Feature Request] Print monaco editor whole content #4787

sytolk opened this issue Dec 17, 2024 · 0 comments
Labels
feature-request Request for new features or functionality

Comments

@sytolk
Copy link

sytolk commented Dec 17, 2024

Context

  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

I try window.print(); to print the whole content of monaco-editor but it print only the first page (visible with scoll page). I have try to remove scroll with:

@media print {
    .monaco-editor, .monaco-editor div { /*.editor-scrollable*/
        overflow: visible;
    }
}

but without success.. Can we write css for @media print and maybe it's better to include it in library?

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

@sytolk sytolk added the feature-request Request for new features or functionality label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

1 participant