Refactoring: remove AsMarkdown() from the old BaseUIElement

This commit is contained in:
Pieter Vander Vennet 2025-07-12 13:19:03 +02:00
parent 54265ba0c6
commit fb48c57e42
5 changed files with 2 additions and 49 deletions

View file

@ -18,14 +18,6 @@ export default class Combine extends BaseUIElement {
})
}
AsMarkdown(): string {
let sep = " "
if (this.HasClass("flex-col")) {
sep = "\n\n"
}
return this.uiElements.map((el) => el.AsMarkdown()).join(sep)
}
Destroy() {
super.Destroy()
for (const uiElement of this.uiElements) {