<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Developer edit -  editor widget (remove parts of imported widget) in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/developer-edit-editor-widget-remove-parts-of/m-p/1297036#M7174</link>
    <description>&lt;P&gt;Hi, I can't get my head around this, and I think it's simple enough, if you know how to.&lt;/P&gt;&lt;P&gt;I need the top part to be removed from the Editor widget:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethLindhardt1_0-1686219288196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72631iC681FE3F5B5EC037/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KennethLindhardt1_0-1686219288196.png" alt="KennethLindhardt1_0-1686219288196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I got my experience builder dev edition installed.&lt;/P&gt;&lt;P&gt;I have my custom Editor widget&lt;/P&gt;&lt;P&gt;and I have an idea that I could go in an remove the class part of the editor widget, that I'm loading in. Actually I could just call the hight 0 px, but I can't figure out which names I need to call and how to set it up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const css = `
    .esri-editor__scroller {
        overflow-y: auto;
        padding-top: 200px;
        padding-bottom: $cap-spacing;
      }
      .esri-editor__content-group {
        max-height: 1em;
      }
      .esri-editor__panel-toolbar {
        --divider-border: 0px solid var(--calcite-ui-border-2);
        background-color: Blue;
        border-bottom: var(--divider-border);
        display: flex;
        max-height: 0em;
        flex-direction: row;
    }
    .header {
      border-block-end-width: 1px;
      border-block-end-style: solid;
      position: sticky;
      inset-block-start: 0px;
      z-index: 400;
      inline-size: 0px;
      align-items: stretch;
      background-color: Red;
      justify-content: flex-start;
      background-color: var(--calcite-ui-foreground-1);
      border-block-end-color: var(--calcite-ui-border-3);
      flex: 0 0 auto;
      max-height: 1em;
    

      `
    if (
      this.props.hasOwnProperty("useMapWidgetIds") &amp;amp;&amp;amp;
      this.props.useMapWidgetIds &amp;amp;&amp;amp;
      this.props.useMapWidgetIds[0]
    ) {
      mvc = (
        &amp;lt;JimuMapViewComponent
          useMapWidgetId={this.props.useMapWidgetIds?.[0]}
          onActiveViewChange={this.activeViewChangeHandler}
        /&amp;gt;
      );
    }

 //   &amp;lt;div
   // className="header"
    //style={{ height: "0px", overflow: "auto", objectPosition: "500px"}}
//&amp;gt;&amp;lt;/div&amp;gt;

    return (
      &amp;lt;div
        className="widget-js-api-editor"
        style={{ height: "auto",objectPosition: "200px"}}

      &amp;gt;
        &amp;lt;div ref={this.myRef}&amp;gt;
          &amp;lt;style&amp;gt;
            {css}
          &amp;lt;/style&amp;gt;
        &amp;lt;/div&amp;gt;
        {mvc}
      &amp;lt;/div&amp;gt;
    );
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example I can call the CSS of the&amp;nbsp;&lt;SPAN&gt;.esri-editor__panel-toolbar and edit the styling, but to kill that box, I'm lost.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do I remove those part within my custom widget?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethLindhardt1_1-1686220027196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72632iBA33611383038117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KennethLindhardt1_1-1686220027196.png" alt="KennethLindhardt1_1-1686220027196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethLindhardt1_2-1686220033307.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72633i9B1E609D1327E9D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KennethLindhardt1_2-1686220033307.png" alt="KennethLindhardt1_2-1686220033307.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethLindhardt1_3-1686220038157.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72634iE10A147490FEB4BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KennethLindhardt1_3-1686220038157.png" alt="KennethLindhardt1_3-1686220038157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 10:28:16 GMT</pubDate>
    <dc:creator>KennethLindhardt1</dc:creator>
    <dc:date>2023-06-08T10:28:16Z</dc:date>
    <item>
      <title>Developer edit -  editor widget (remove parts of imported widget)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/developer-edit-editor-widget-remove-parts-of/m-p/1297036#M7174</link>
      <description>&lt;P&gt;Hi, I can't get my head around this, and I think it's simple enough, if you know how to.&lt;/P&gt;&lt;P&gt;I need the top part to be removed from the Editor widget:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethLindhardt1_0-1686219288196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72631iC681FE3F5B5EC037/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KennethLindhardt1_0-1686219288196.png" alt="KennethLindhardt1_0-1686219288196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I got my experience builder dev edition installed.&lt;/P&gt;&lt;P&gt;I have my custom Editor widget&lt;/P&gt;&lt;P&gt;and I have an idea that I could go in an remove the class part of the editor widget, that I'm loading in. Actually I could just call the hight 0 px, but I can't figure out which names I need to call and how to set it up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const css = `
    .esri-editor__scroller {
        overflow-y: auto;
        padding-top: 200px;
        padding-bottom: $cap-spacing;
      }
      .esri-editor__content-group {
        max-height: 1em;
      }
      .esri-editor__panel-toolbar {
        --divider-border: 0px solid var(--calcite-ui-border-2);
        background-color: Blue;
        border-bottom: var(--divider-border);
        display: flex;
        max-height: 0em;
        flex-direction: row;
    }
    .header {
      border-block-end-width: 1px;
      border-block-end-style: solid;
      position: sticky;
      inset-block-start: 0px;
      z-index: 400;
      inline-size: 0px;
      align-items: stretch;
      background-color: Red;
      justify-content: flex-start;
      background-color: var(--calcite-ui-foreground-1);
      border-block-end-color: var(--calcite-ui-border-3);
      flex: 0 0 auto;
      max-height: 1em;
    

      `
    if (
      this.props.hasOwnProperty("useMapWidgetIds") &amp;amp;&amp;amp;
      this.props.useMapWidgetIds &amp;amp;&amp;amp;
      this.props.useMapWidgetIds[0]
    ) {
      mvc = (
        &amp;lt;JimuMapViewComponent
          useMapWidgetId={this.props.useMapWidgetIds?.[0]}
          onActiveViewChange={this.activeViewChangeHandler}
        /&amp;gt;
      );
    }

 //   &amp;lt;div
   // className="header"
    //style={{ height: "0px", overflow: "auto", objectPosition: "500px"}}
//&amp;gt;&amp;lt;/div&amp;gt;

    return (
      &amp;lt;div
        className="widget-js-api-editor"
        style={{ height: "auto",objectPosition: "200px"}}

      &amp;gt;
        &amp;lt;div ref={this.myRef}&amp;gt;
          &amp;lt;style&amp;gt;
            {css}
          &amp;lt;/style&amp;gt;
        &amp;lt;/div&amp;gt;
        {mvc}
      &amp;lt;/div&amp;gt;
    );
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example I can call the CSS of the&amp;nbsp;&lt;SPAN&gt;.esri-editor__panel-toolbar and edit the styling, but to kill that box, I'm lost.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do I remove those part within my custom widget?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethLindhardt1_1-1686220027196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72632iBA33611383038117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KennethLindhardt1_1-1686220027196.png" alt="KennethLindhardt1_1-1686220027196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethLindhardt1_2-1686220033307.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72633i9B1E609D1327E9D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KennethLindhardt1_2-1686220033307.png" alt="KennethLindhardt1_2-1686220033307.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KennethLindhardt1_3-1686220038157.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72634iE10A147490FEB4BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KennethLindhardt1_3-1686220038157.png" alt="KennethLindhardt1_3-1686220038157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 10:28:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/developer-edit-editor-widget-remove-parts-of/m-p/1297036#M7174</guid>
      <dc:creator>KennethLindhardt1</dc:creator>
      <dc:date>2023-06-08T10:28:16Z</dc:date>
    </item>
  </channel>
</rss>

