From 1390e2e13c961fa52ae53fc124dfe1ef492d5c23 Mon Sep 17 00:00:00 2001 From: valentine195 <38669521+valentine195@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:48:18 -0500 Subject: [PATCH] feat: adds classes to container and parent element in postprocessor --- src/main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.ts b/src/main.ts index 547fd9ee..71477ad3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -441,6 +441,9 @@ export default class StatBlockPlugin extends Plugin { layout.name == toBuild?.statblock ) ?? this.defaultLayout; + el.addClass("statblock-plugin-container"); + el.parentElement?.addClass("statblock-plugin-parent"); + let statblock = new StatBlockRenderer( el, toBuild,