Merge branch 'main' into bugfix/unify-email-sending
This commit is contained in:
commit
bd28636af5
13 files changed
+168
-92
No files matched your search
@@ -88,4 +88,13 @@ export default class CalEventParser {
|
||||
eventCopy.description = this.getRichDescriptionHtml();
|
||||
return eventCopy;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a calendar event with rich description as plain text.
|
||||
*/
|
||||
public asRichEventPlain(): CalendarEvent {
|
||||
const eventCopy: CalendarEvent = { ...this.calEvent };
|
||||
eventCopy.description = this.getRichDescription();
|
||||
return eventCopy;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user