<p>This guide will walk you through creating a basic widget inside Trilium.
  By following these steps, you'll learn how to build a simple UI element
  that interacts with the user.</p>
<h3>Step 1: The Basic Widget Structure</h3>
<p>To start, we'll create the most basic widget possible. Here's a simple
  example:</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.BasicWidget {
    get position() { return 1; }
    get parentWidget() { return "left-pane"; }
    
    doRender() {
   