Skip to content
Snippets Groups Projects

RVK Tree 23552 - Lösung des CSS Überschneidungsproblems zwischen RVK und JSTree in ähnliche Bände

Closed Jean-Pascal Kanter requested to merge main into issue/23552

CSS Datei so erweitern das alle Styles Nachfolger von #rvk-tree sein müssen.

Veränderungen vorgenommen mit Python Script `python import pyperclip

if name == "main": """ Takes all text from clipboard (in this case an entire css file) and formats it accordingly / adds the specific text that is hardcoded into this """ entry_filter = [".j", "#js", ".vakata"] all_is_text = pyperclip.paste() lines = str(all_is_text).split("\n") bloated = "" for line in lines: insert = False for check in entry_filter: if line.lstrip().startswith(check): insert = True if not insert: bloated += line + "\n" continue lead = len(line) - len(line.lstrip(' ')) to_add = f"{' '*lead}#rvk-tree {line.lstrip()}" bloated += to_add + "\n" pyperclip.copy(bloated)

`

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply