feat(pastebin): dark theme syntax highlighting & tooltip improvments - #550
Open
Cassolette wants to merge 4 commits into
Open
feat(pastebin): dark theme syntax highlighting & tooltip improvments#550Cassolette wants to merge 4 commits into
Cassolette wants to merge 4 commits into
Conversation
JammingBen
requested changes
Sep 8, 2026
Comment on lines
+252
to
+260
| <style lang="scss" scoped> | ||
| .highlight-light-theme :deep { | ||
| @import 'highlight.js/styles/github'; | ||
| } | ||
|
|
||
| .highlight-dark-theme :deep { | ||
| @import 'highlight.js/styles/github-dark'; | ||
| } | ||
| </style> |
Member
There was a problem hiding this comment.
OpenCloud won't support scss in the future. I guess you need to solve this programmatically, similar to how the core app does it in the text editor: https://github.com/opencloud-eu/web/blob/main/packages/web-pkg/src/editor/components/TextEditorContent.vue#L73
Cassolette
force-pushed
the
patch/feat-pastebin-dark-tooltip
branch
from
September 8, 2026 21:39
4016f21 to
2f14771
Compare
…ew` and `pastebin-edit` When navigating in such manner (i.e. cancel edit button), the routes lose link to their prior parent context. This fixes the missing context required to restore the link back to pastebin or other context as specified.
Cassolette
force-pushed
the
patch/feat-pastebin-dark-tooltip
branch
from
September 8, 2026 22:29
2f14771 to
f5cc922
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
1) Support highlight.js dark theme as required.
Before: bad contrast with Opencloud dark theme. highlight.js light theme was being used unconditionally
Fix inspired by the approach used in tiptap editor.
2) Move to UI tooltips instead of browser native tooltip for consistency
Also show a toast when a paste link is copied successfully.
3) Fixed missing parent context when navigating back to
pastebin-viewfrompastebin-edit. Cancel button and breadcrumb navigation were affected.Related Issue
How Has This Been Tested?
Types of changes