Plugin Directory

Changeset 3281726


Ignore:
Timestamp:
04/25/2025 10:16:17 AM (11 months ago)
Author:
nikitahl
Message:

Add version 2.2

Location:
sidebar-navigation-for-wpbakery
Files:
16 added
4 edited

Legend:

Unmodified
Added
Removed
  • sidebar-navigation-for-wpbakery/trunk/assets/dist/css/editor.min.css

    r3263404 r3281726  
    1 @media screen and (min-width:961px){:root{--vc-navbar-width:50px;--vc-min-panel-width:440px}#wpbody,#wpcontent{height:0;padding:0}#vc_navbar{bottom:0;box-shadow:1px 1px 4px rgba(0,0,0,.25);left:0;position:fixed;right:auto;top:0;width:var(--vc-navbar-width);z-index:99999}#vc_navbar .vc_navbar-header,#vc_navbar li{float:none!important;height:auto}#vc_navbar .vc_navbar-brand{padding:25px}#vc_navbar .vc_save-buttons{flex-direction:column;gap:4px;margin:0 2px}#vc_navbar .vc_save-buttons .vc_btn{margin:2px;width:70%}#vc_navbar .vc_save-buttons .vc_btn p{font-size:10px}#vc_navbar a.vc_icon-btn{font-size:20px;height:45px;padding:24px;width:var(--vc-navbar-width)}#vc_navbar .vc_navbar-nav{align-items:center;bottom:0;display:flex;flex-direction:column;left:0;position:absolute;top:56px;width:100%}#vc_navbar .vc_navbar-nav>li:not(.vc_save-buttons){height:48px}#vc_navbar .vc_dropdown-list{left:100%;right:auto;top:-75px;z-index:999999}#vc_navbar #vc_screen-size-control .vc_dropdown-list{top:-145px}#vc_navbar .vc_icon-btn.vc_active{background-color:#00447f}.ui-resizable-handle,.vc_hide-description .vc_element-description{display:none!important}#vc_inline-frame-wrapper{height:100vh!important;left:var(--vc-navbar-width);right:0;top:0!important;width:auto!important}#vc_inline-frame{height:100%!important}.vc_ui-panel.vc_ui-panel-window{bottom:0!important;height:100%!important;left:var(--vc-navbar-width)!important;margin:0!important;max-height:100%!important;padding:0!important;top:0!important;width:var(--vc-min-panel-width)!important}.vc_ui-minimize-button{display:none!important}.vc_ui-panel-header-actions,.vc_ui-search-box{width:100%}.vc_message{top:0!important;z-index:99999!important}.vc_add-element-container .wpb-content-layouts{gap:1px}.vc_ui-panel-content{margin-top:0!important}.vc_ui-panel-content.vc_properties-list-init{margin:auto!important}.sidebar-position-right #vc_inline-frame-wrapper{left:0;right:var(--vc-navbar-width)}.sidebar-position-right #vc_navbar{left:auto;right:0}.sidebar-position-right .vc_ui-panel.vc_ui-panel-window{left:auto!important;right:var(--vc-navbar-width)!important}.sidebar-position-right #vc_navbar .vc_dropdown-list{left:auto;right:100%}}@media screen and (min-width:961px)and (max-height:540px){.vc_pull-right.vc_show-mobile{display:block!important;margin-top:auto!important}.vc_pull-right.vc_show-mobile .vc_dropdown-list{bottom:0!important;top:auto!important;width:270px}.vc_hide-mobile{display:none!important}.vc_save-buttons{margin:0!important}.vc_show-mobile .vc_dropdown-list .vc_hide-desktop,.vc_show-mobile .vc_dropdown-list .vc_hide-desktop-more,.vc_show-mobile .vc_dropdown-list .vc_hide-desktop-more .vc_hide-mobile{display:block!important}#vc_navbar-redo.vc_icon-btn,#vc_navbar-undo.vc_icon-btn,.vc_dropdown-list .vc_dropdown-list-item a,.vc_dropdown-list .vc_hide-mobile a.vc_icon-btn,.vc_save-buttons a.vc_icon-btn{align-items:center;display:flex!important;height:56px!important;justify-content:flex-start;padding:18px!important;width:100%!important}.vc_dropdown-list .vc_dropdown-list-item .vc-composer-icon,.vc_dropdown-list a.vc_icon-btn .vc-composer-icon{font-size:24px;left:unset;position:relative;top:unset;transform:unset}.vc_dropdown-list .vc_dropdown-list-item p,.vc_dropdown-list a.vc_icon-btn p{margin:0 0 0 18px!important}}.vc_compact-view .wpb-content-layouts-container h4{margin:0 0 10px!important}.vc_compact-view .wpb-content-layouts{grid-template-columns:repeat(auto-fit,96px)!important;margin:0!important}.vc_compact-view .vc_element-description{font-size:12px!important}.vc_compact-view .vc_shortcode-link{font-size:13px}.vc_compact-view .vc_element-icon{margin-bottom:10px}.vc_compact-view .vc_css-editor .vc_settings label,.vc_compact-view .wpb_element_label{font-size:13px;font-weight:500}.vc_compact-view .vc_description{font-size:12px;margin-top:5px}.vc_compact-view .wpb-param-heading{margin-bottom:3px}.vc_compact-view .vc_edit_form_elements input,.vc_compact-view .vc_edit_form_elements select{font-size:13px;height:34px;line-height:1}.vc_compact-view .vc_checkbox input[type=checkbox]:checked:before,.vc_compact-view .vc_edit_form_elements input[type=checkbox],.vc_compact-view .vc_edit_form_elements input[type=radio]{height:16px;width:16px}.vc_compact-view .vc_edit_form_elements .vc_ui-button.vc_param-animation-style-trigger{height:34px;line-height:34px;margin-top:8px}.vc_compact-view .vc_css-editor input{font-size:10px;height:20px;line-height:1;width:30px}.vc_compact-view .gallery_widget_add_images,.vc_compact-view .gallery_widget_attached_images_list .added,.vc_compact-view .gallery_widget_attached_images_list .inner,.vc_compact-view .vc_css-editor .vc_settings .vc_background-image .vc_add-image{height:60px!important;width:60px!important}.vc_compact-view .gallery_widget_attached_images_list li img{max-height:60px!important;vertical-align:initial}.vc_compact-view .wpb_el_type_attach_image .vc_icon-remove{right:12px;width:12px}.vc_compact-view .title-label,.vc_compact-view .url-label,.vc_compact-view .vc_link_label,.vc_compact-view .wpb_el_type_attach_image .vc_icon-remove .vc-c-icon-close,.vc_compact-view .wpb_el_type_attach_images .vc_icon-remove .vc-composer-icon{font-size:12px}.vc_compact-view .vc-icons-selector .selector{height:30px;width:90px}.vc_compact-view .vc-icons-selector .selected-icon{width:50px}.vc_compact-view .vc-icons-selector .selected-icon i,.vc_compact-view .vc-icons-selector .selector-button i,.vc_compact-view .vc_shortcode-param[data-param_type=iconpicker] .vc-icons-selector .selected-icon{font-size:16px;line-height:32px}.vc_compact-view .vc-icons-selector .selector-button i{font-size:12px}.vc_compact-view .vc_simplified .vc_layout-onion label{left:38px}.vc_compact-view .vc_css-editor .vc_layout-onion .vc_border,.vc_compact-view .vc_css-editor .vc_layout-onion .vc_content,.vc_compact-view .vc_css-editor .vc_layout-onion .vc_padding{margin:36px}.vc_compact-view .vc_css-editor .vc_layout-onion input.vc_bottom{bottom:3px}.vc_compact-view .vc_css-editor .vc_layout-onion input.vc_top{top:3px}.vc_compact-view .vc_css-editor .vc_layout-onion input.vc_left{left:3px}.vc_compact-view .vc_css-editor .vc_layout-onion input.vc_right{right:3px}.vc_compact-view .pickr .pcr-button{height:26px;width:26px}.vc_navbar.vc_navbar-frontend:not(.vc_post-custom-layout-selected) #vc_page-structure{opacity:.2;pointer-events:none}#vc_ui-panel-page-structure{height:auto;left:0;margin-left:auto;margin-right:auto;max-height:90vh;right:0;top:5vh;width:80%}.page-structure-list{margin:0}.page-structure-item{background:#fff;border-radius:3px;padding:5px 12px 12px 5px}#page-structure-container>.page-structure-list>.page-structure-item{margin:0 0 10px}.page-structure-item--section{background:#f8f8f8}.page-structure-item--inner-row,.page-structure-item--row{background:#eee}.page-structure-item--column,.page-structure-item--inner-column{background:#e7e7e7}.page-structure-children{margin:10px 0 0 10px}.element-controls{margin-left:auto;opacity:0;transition:opacity .2s ease-in-out;visibility:hidden}.element-controls .vc_btn-content{padding:3px}.element-controls .vc_control-btn .vc-composer-icon{color:#5e5e5e}.element-controls .vc_control-btn .vc_btn-content:hover{background:transparent}.element-controls .vc-c-icon-search{font-size:18px}.page-structure-label{align-items:center;cursor:default;display:flex;font-size:14px;font-weight:500;padding:7px 5px 0}.page-structure-label:before{content:"";display:inline-block;font-family:vcpb-plugin-icons,sans-serif!important;width:16px;speak:never;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-right:5px}.page-structure-label:hover .element-controls{opacity:1;visibility:visible}.page-structure-label>span{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.page-structure-children:hover{position:relative}.page-structure-label--children{cursor:pointer}.page-structure-label--children:before{content:""}.page-structure-label--children.expanded:before{content:""}
     1@media screen and (min-width:961px){:root{--vc-navbar-width:50px;--vc-min-panel-width:440px}#wpbody,#wpcontent{height:0;padding:0}#vc_navbar{bottom:0;box-shadow:1px 1px 4px rgba(0,0,0,.25);left:0;position:fixed;right:auto;top:0;width:var(--vc-navbar-width);z-index:99999}#vc_navbar .vc_navbar-header,#vc_navbar li{float:none!important;height:auto}#vc_navbar .vc_navbar-brand{padding:25px}#vc_navbar .vc_save-buttons{flex-direction:column;gap:4px;margin:0 2px}#vc_navbar .vc_save-buttons .vc_btn{margin:2px;width:70%}#vc_navbar .vc_save-buttons .vc_btn p{font-size:10px}#vc_navbar a.vc_icon-btn{font-size:20px;height:45px;padding:24px;width:var(--vc-navbar-width)}#vc_navbar .vc_navbar-nav{align-items:center;bottom:0;display:flex;flex-direction:column;left:0;position:absolute;top:56px;width:100%}#vc_navbar .vc_navbar-nav>li:not(.vc_save-buttons){height:48px}#vc_navbar .vc_dropdown-list{left:100%;right:auto;top:-75px;z-index:999999}#vc_navbar #vc_screen-size-control .vc_dropdown-list{top:-145px}#vc_navbar .vc_icon-btn.vc_active{background-color:#00447f}.ui-resizable-handle,.vc_hide-description .vc_element-description{display:none!important}.vc_resizable-handle{cursor:ew-resize;height:100%;position:absolute;top:0;width:10px;z-index:9999}.vc_resizable-handle--left{right:-5px}.vc_resizable-handle--right{left:-5px}#vc_inline-frame-wrapper{height:100vh!important;left:var(--vc-navbar-width);right:0;top:0!important;width:auto!important}#vc_inline-frame{height:100%!important}.vc_ui-panel.vc_ui-panel-window{bottom:0!important;height:100%!important;left:var(--vc-navbar-width)!important;margin:0!important;max-height:100%!important;padding:0!important;top:0!important;width:var(--vc-min-panel-width)!important}.vc_ui-minimize-button{display:none!important}.vc_ui-panel-header-actions,.vc_ui-search-box{width:100%}.vc_message{top:0!important;z-index:99999!important}.vc_add-element-container .wpb-content-layouts{gap:1px}.vc_ui-panel-content{margin-top:0!important}.vc_ui-panel-content.vc_properties-list-init{margin:auto!important}.sidebar-position-right #vc_inline-frame-wrapper{left:0;right:var(--vc-navbar-width)}.sidebar-position-right #vc_navbar{left:auto;right:0}.sidebar-position-right .vc_ui-panel.vc_ui-panel-window{left:auto!important;right:var(--vc-navbar-width)!important}.sidebar-position-right #vc_navbar .vc_dropdown-list{left:auto;right:100%}}@media screen and (min-width:961px)and (max-height:540px){.vc_pull-right.vc_show-mobile{display:block!important;margin-top:auto!important}.vc_pull-right.vc_show-mobile .vc_dropdown-list{bottom:0!important;top:auto!important;width:270px}.vc_hide-mobile{display:none!important}.vc_save-buttons{margin:0!important}.vc_show-mobile .vc_dropdown-list .vc_hide-desktop,.vc_show-mobile .vc_dropdown-list .vc_hide-desktop-more,.vc_show-mobile .vc_dropdown-list .vc_hide-desktop-more .vc_hide-mobile{display:block!important}#vc_navbar-redo.vc_icon-btn,#vc_navbar-undo.vc_icon-btn,.vc_dropdown-list .vc_dropdown-list-item a,.vc_dropdown-list .vc_hide-mobile a.vc_icon-btn,.vc_save-buttons a.vc_icon-btn{align-items:center;display:flex!important;height:56px!important;justify-content:flex-start;padding:18px!important;width:100%!important}.vc_dropdown-list .vc_dropdown-list-item .vc-composer-icon,.vc_dropdown-list a.vc_icon-btn .vc-composer-icon{font-size:24px;left:unset;position:relative;top:unset;transform:unset}.vc_dropdown-list .vc_dropdown-list-item p,.vc_dropdown-list a.vc_icon-btn p{margin:0 0 0 18px!important}}@media screen and (min-width:961px){.vc_frame-size-helper{height:auto;position:absolute;top:10px;width:100%}.vc_frame-size-helper--left{left:calc(100% + 10px)}.vc_frame-size-helper--right{right:calc(100% + 10px);text-align:right}.vc_frame-size-helper-text{align-items:center;background:rgba(0,68,127,.9);border-radius:3px;color:#fff;display:inline-flex;font-size:12px;height:auto;justify-content:center;min-width:70px;padding:1px 6px;width:auto}}.vc_compact-view .wpb-content-layouts-container h4{margin:0 0 10px!important}.vc_compact-view .wpb-content-layouts{grid-template-columns:repeat(auto-fit,96px)!important;margin:0!important}.vc_compact-view .vc_element-description{font-size:12px!important}.vc_compact-view .vc_shortcode-link{font-size:13px}.vc_compact-view .vc_element-icon{margin-bottom:10px}.vc_compact-view .vc_css-editor .vc_settings label,.vc_compact-view .wpb_element_label{font-size:13px;font-weight:500}.vc_compact-view .vc_description{font-size:12px;margin-top:5px}.vc_compact-view .wpb-param-heading{margin-bottom:3px}.vc_compact-view .vc_edit_form_elements input,.vc_compact-view .vc_edit_form_elements select{font-size:13px;height:34px;line-height:1}.vc_compact-view .vc_checkbox input[type=checkbox]:checked:before,.vc_compact-view .vc_edit_form_elements input[type=checkbox],.vc_compact-view .vc_edit_form_elements input[type=radio]{height:16px;width:16px}.vc_compact-view .vc_edit_form_elements .vc_ui-button.vc_param-animation-style-trigger{height:34px;line-height:34px;margin-top:8px}.vc_compact-view .vc_css-editor input{font-size:10px;height:20px;line-height:1;width:30px}.vc_compact-view .gallery_widget_add_images,.vc_compact-view .gallery_widget_attached_images_list .added,.vc_compact-view .gallery_widget_attached_images_list .inner,.vc_compact-view .vc_css-editor .vc_settings .vc_background-image .vc_add-image{height:60px!important;width:60px!important}.vc_compact-view .gallery_widget_attached_images_list li img{max-height:60px!important;vertical-align:initial}.vc_compact-view .wpb_el_type_attach_image .vc_icon-remove{right:12px;width:12px}.vc_compact-view .title-label,.vc_compact-view .url-label,.vc_compact-view .vc_link_label,.vc_compact-view .wpb_el_type_attach_image .vc_icon-remove .vc-c-icon-close,.vc_compact-view .wpb_el_type_attach_images .vc_icon-remove .vc-composer-icon{font-size:12px}.vc_compact-view .vc-icons-selector .selector{height:30px;width:90px}.vc_compact-view .vc-icons-selector .selected-icon{width:50px}.vc_compact-view .vc-icons-selector .selected-icon i,.vc_compact-view .vc-icons-selector .selector-button i,.vc_compact-view .vc_shortcode-param[data-param_type=iconpicker] .vc-icons-selector .selected-icon{font-size:16px;line-height:32px}.vc_compact-view .vc-icons-selector .selector-button i{font-size:12px}.vc_compact-view .vc_simplified .vc_layout-onion label{left:38px}.vc_compact-view .vc_css-editor .vc_layout-onion .vc_border,.vc_compact-view .vc_css-editor .vc_layout-onion .vc_content,.vc_compact-view .vc_css-editor .vc_layout-onion .vc_padding{margin:36px}.vc_compact-view .vc_css-editor .vc_layout-onion input.vc_bottom{bottom:3px}.vc_compact-view .vc_css-editor .vc_layout-onion input.vc_top{top:3px}.vc_compact-view .vc_css-editor .vc_layout-onion input.vc_left{left:3px}.vc_compact-view .vc_css-editor .vc_layout-onion input.vc_right{right:3px}.vc_compact-view .pickr .pcr-button{height:26px;width:26px}.vc_navbar.vc_navbar-frontend:not(.vc_post-custom-layout-selected) #vc_page-structure{opacity:.2;pointer-events:none}#vc_ui-panel-page-structure{height:auto;left:0;margin-left:auto;margin-right:auto;max-height:90vh;right:0;top:5vh;width:80%}.page-structure-list{margin:0}.page-structure-item{background:#fff;border-radius:3px;padding:5px 12px 12px 5px}#page-structure-container>.page-structure-list>.page-structure-item{margin:0 0 10px}.page-structure-item--section{background:#f8f8f8}.page-structure-item--inner-row,.page-structure-item--row{background:#eee}.page-structure-item--column,.page-structure-item--inner-column{background:#e7e7e7}.page-structure-children{margin:10px 0 0 10px}.element-controls{margin-left:auto;opacity:0;transition:opacity .2s ease-in-out;visibility:hidden}.element-controls .vc_btn-content{padding:3px}.element-controls .vc_control-btn .vc-composer-icon{color:#5e5e5e}.element-controls .vc_control-btn .vc_btn-content:hover{background:transparent}.element-controls .vc-c-icon-search{font-size:18px}.page-structure-label{align-items:center;cursor:default;display:flex;font-size:14px;font-weight:500;padding:7px 5px 0}.page-structure-label:before{content:"";display:inline-block;font-family:vcpb-plugin-icons,sans-serif!important;width:16px;speak:never;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-right:5px}.page-structure-label:hover .element-controls{opacity:1;visibility:visible}.page-structure-label>span{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.page-structure-children:hover{position:relative}.page-structure-label--children{cursor:pointer}.page-structure-label--children:before{content:""}.page-structure-label--children.expanded:before{content:""}
  • sidebar-navigation-for-wpbakery/trunk/assets/dist/js/editor.min.js

    r3263404 r3281726  
    1 (()=>{"use strict";const e=window.jQuery;class t{constructor(){this.pluginUrl=window.sidebar_for_wpb_js.pluginUrl,this.disableDescription=window.sidebar_for_wpb_js.disableDescription,this.compactView=window.sidebar_for_wpb_js.compactView,this.compactViewEditForm=window.sidebar_for_wpb_js.compactViewEditForm,this.responsiveView=window.sidebar_for_wpb_js.responsiveView,this.sidebarPostion=window.sidebar_for_wpb_js.sidebarPostion,this.$window=e(window),this.$body=e("body"),this.$screenSizeControls=e("#vc_screen-size-control .vc_screen-width"),this.$addElementPanel=e("#vc_ui-panel-add-element"),this.$editElementPanel=e("#vc_ui-panel-edit-element"),this.$settingsPanel=e("#vc_ui-panel-post-settings"),this.$navbar=e("#vc_navbar"),this.$frameWrapper=e("#vc_inline-frame-wrapper"),this.$iframe=e("#vc_inline-frame"),this.$navbarItems=this.$navbar.find(".vc_navbar-nav li"),this.$panelWindow=e(".vc_ui-panel-window"),this.$navbarBtns=this.$navbar.find(".vc_icon-btn"),this.panelsSettings=[{panelId:"panel-add-element",navbarBtnId:"vc_add-new-element"},{panelId:"panel-templates",navbarBtnId:"vc_templates-editor-button"},{panelId:"panel-post-seo",navbarBtnId:"vc_seo-button"},{panelId:"panel-post-settings",navbarBtnId:"vc_post-settings-button"},{panelId:"panel-page-structure",navbarBtnId:"vc_page-structure"}],this.init()}init(){this.$body.addClass(`sidebar-position-${this.sidebarPostion}`),e.each(this.$navbarItems,this.setNavbarItems.bind(this)),this.$body.append(`<link rel="stylesheet" href="${this.pluginUrl}/assets/dist/css/editor.min.css" type="text/css" />`);const t=new MutationObserver(this.mutationHandler.bind(this)),s={attributes:!0};this.$panelWindow.each((function(){t.observe(this,s)})),this.setActiveBtn(this.$panelWindow.filter(".vc_active")),this.handleWindowResize(),this.setSettings(),this.$window.on("resize",this.handleWindowResize.bind(this))}mutationHandler(t){t.forEach((t=>{window.innerWidth>960&&"attributes"===t.type&&"class"===t.attributeName&&(this.setFrameWrapperPosition(),this.setActiveBtn(e(t.target)))}))}handleWindowResize(){this.setFrameWrapperPosition()}setFrameWrapperPosition(){const e=this.getCurrentView();if(window.innerWidth>960){const t=this.$panelWindow.filter(".vc_active");t.length?(this.$frameWrapper.css(this.sidebarPostion,"490px"),this.setIframeWidth(e,`${window.innerWidth}px`,"auto"),t.is("#vc_ui-panel-templates")&&t.hasClass("vc_media-xs")&&(t.removeClass("vc_media-xs"),t.addClass("vc_media-sm"))):(this.$frameWrapper.css(this.sidebarPostion,"50px"),this.setIframeWidth(e,"100%","none"))}else this.$frameWrapper.css(this.sidebarPostion,"0"),this.setIframeWidth(e,"100%","none")}setIframeWidth(e,t,s){"0"===this.responsiveView&&(100===e?(this.$frameWrapper.css("overflow-x",s),this.$iframe.css("width",t)):(this.$frameWrapper.css("overflow-x","auto"),this.$iframe.css("width",`${e}px`)))}getCurrentView(){return parseInt(this.$screenSizeControls.filter(".active").attr("data-size"))}setActiveBtn(e){if(this.$navbarBtns.removeClass("vc_active"),e.hasClass("vc_active")){const t=e.attr("data-vc-ui-element"),s=this.panelsSettings.find((e=>e.panelId===t));if(s){const e=s.navbarBtnId;this.$navbar.find(`.vc_navbar-nav > li > #${e}`).addClass("vc_active")}}}setSettings(){"1"===this.disableDescription&&this.$addElementPanel.find(".wpb-elements-list").addClass("vc_hide-description"),"1"===this.compactView&&this.$addElementPanel.find(".wpb-elements-list").addClass("vc_compact-view"),"1"===this.compactViewEditForm&&(this.$editElementPanel.find(".vc_ui-panel-content").addClass("vc_compact-view"),this.$settingsPanel.find(".vc_ui-panel-content-container").addClass("vc_compact-view"))}setNavbarItems(t,s){const i=e(s),n=i.children();n.hasClass("vc_back-button")?i.css("order","10"):n.hasClass("vc_dropdown-more")?i.css({order:"9"}):n.hasClass("vc_btn-save")?i.css({order:"8"}):"vc_screen-size-control"===n.attr("id")?i.css("order","7"):n.hasClass("vc_post-settings")?i.css("order","6"):n.hasClass("vc_seo-button")&&i.css({order:"5","margin-top":"auto"})}}const s=jQuery,{vc:i}=window;class n{constructor(){this.$wpbodyContent=s("#wpbody-content"),this.$navbar=s("#vc_navbar"),this.$navbarItems=this.$navbar.find(".vc_navbar-nav li"),this.structureIconHtml='\n      <svg width="27" height="27" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">\n        <rect x="10" y="40" width="44" height="12" rx="2" stroke="white" stroke-width="2" fill="transparent"/>\n        <rect x="10" y="26" width="44" height="12" rx="2" stroke="white" stroke-width="2" fill="transparent"/>\n        <rect x="10" y="12" width="44" height="12" rx="2" stroke="white" stroke-width="2" fill="transparent"/>\n      </svg>\n    ',this.pageStructureHtml=window.sidebar_for_wpb_js.pageStructureHtml,this.pageStructureTitle=window.sidebar_for_wpb_js.pageStructureTitle,this.pageStructureFind=window.sidebar_for_wpb_js.pageStructureFind,this.$pageStructurePanel=null,this.pageStructurePanel=null,this.$pageStructureContainer=null,this.$elementHelper=null,this.structuredData=[],this.expandedNodes={},this.debouncedRender=_.debounce(this.renderPageStructure.bind(this),500),this.init()}init(){this.addPageStructurePanel(),this.addNavbarIcon(),this.createElementOutlineHelper()}addNavbarIcon(){const e=s("<li></li>");e.html(`\n      <a class="vc_icon-btn" id="vc_page-structure" title="Page Structure">\n        <i class="vc-composer-icon vc-icon-structure">${this.structureIconHtml}</i>\n      </a>\n    `),this.$navbarItems.eq(1).after(e);const t=s("#vc_page-structure");t.length&&t.on("click",this.handlePageStructureClick.bind(this))}addPageStructurePanel(){this.$wpbodyContent.append(this.pageStructureHtml),this.$pageStructurePanel=s("#vc_ui-panel-page-structure"),this.$pageStructureContainer=this.$pageStructurePanel.find("#page-structure-container"),this.$pageStructurePanel.length&&this.$pageStructurePanel.find("h3").text(this.pageStructureTitle),this.createPanelView()}handlePageStructureClick(){this.pageStructurePanel.render()}createPanelView(){i.PageStructurePanel||(i.PageStructurePanelView=i.PanelView.extend({}),i.PageStructurePanel=i.PageStructurePanelView.vcExtendUI(i.HelperPanelViewHeaderFooter).extend({panelName:"page_structure",isRendered:!1,initialize:()=>{this.isRendered||(this.isRendered=!0,this.renderPageStructure(),i.events.on("afterLoadShortcode",this.debouncedRender),i.events.on("afterRemoveShortcode",this.debouncedRender))},render:function(){this.$el.is(":hidden")&&i.closeActivePanel(),i.active_panel=this,this.show()},show:function(){this.$el.hasClass("vc_active")||(this.$el.addClass("vc_active"),this.trigger("show"))}}),this.pageStructurePanel=new i.PageStructurePanel({el:"#vc_ui-panel-page-structure"}))}buildTree(e){const t=new Map,s=[];return e.forEach((e=>t.set(e.id,{...e,children:[]}))),e.forEach((e=>{if(e.attributes.parent_id){const s=t.get(e.attributes.parent_id);s&&s.children.push(t.get(e.id))}else s.push(t.get(e.id))})),s}renderPageStructure(){this.structuredData=this.buildTree(i.shortcodes.models),this.$pageStructureContainer.empty(),this.$pageStructureContainer.append(this.createTreeHTML(this.structuredData)),this.$pageStructureContainer.off("click mouseenter mouseleave",".page-structure-label"),this.$pageStructureContainer.off("click",".vc_control-btn"),this.$pageStructureContainer.on("click",".page-structure-label",(e=>{if(s(e.target).closest(".element-controls").length)return;const t=s(e.currentTarget),i=`node-${t.attr("id")}`;this.expandedNodes[i]=!Object.prototype.hasOwnProperty.call(this.expandedNodes,i)||!this.expandedNodes[i],t.toggleClass("expanded"),t.next().slideToggle(200)})),this.$pageStructurePanel.on("click",".vc_control-btn",(e=>{e.preventDefault(),e.stopPropagation();const t=s(e.currentTarget),i=t.closest(".page-structure-label").attr("id");switch(t.data("control")){case"inspect":this.scrollToElement(i);break;case"edit":this.editElement(i)}}))}createTreeHTML(e){if(!e?.length)return"";const t=s('<ul class="page-structure-list"></ul>');return e.forEach((e=>{const i=e?.id||"",n=`node-${i}`,r=this.expandedNodes[n]||!1;let a=e?.settings?.name;if("Row"===a){const t=e?.attributes?.params?.row_title;a+=t?` (${t})`:""}a=a||"Unnamed Element";const c=s(`\n        <li class="page-structure-item ${this.createNodeClasses(e)||""}">\n          <div class="page-structure-label" title="${a}" id="${i}">\n            <span>\n              ${a}\n            </span>\n            <div class="element-controls">\n              <a class="vc_control-btn vc_control-btn-inspect" data-control="inspect" href="#" title="${this.pageStructureFind} ${a}" target="_blank"><span class="vc_btn-content"><i class="vc-composer-icon vc-c-icon-search"></i></span></a>\n              <a class="vc_control-btn vc_control-btn-edit" data-control="edit" href="#" title="${window.i18nLocale.edit} ${a}" target="_blank"><span class="vc_btn-content"><i class="vc-composer-icon vc-c-icon-mode_edit"></i></span></a>\n            </div>\n          </div>\n        </li>\n      `);if(e?.children?.length){const t=s('<div class="page-structure-children"></div>').append(this.createTreeHTML(e.children));r||t.hide(),c.find(".page-structure-label").addClass("page-structure-label--children"),c.append(t)}t.append(c)})),t}createNodeClasses(e){switch(e?.settings?.name){case"Section":return"page-structure-item--section";case"Row":return"page-structure-item--row";case"Column":return"page-structure-item--column";case"Inner Row":return"page-structure-item--inner-row";case"Inner Column":return"page-structure-item--inner-column";default:return}}editElement(e){if("edit_element"!==i.activePanelName()||!i.active_panel.model||i.active_panel.model.get("id")!==e){const t=i.shortcodes.get(e);i.closeActivePanel(),i.edit_element_block_view.render(t)}}scrollToElement(e){const t=i.$frame_body.find(`[data-model-id="${e}"]`);t.length&&this.scrollToElementAndWait(t[0],(()=>{this.showElementHelper(t)}))}scrollToElementAndWait(e,t){if(!e)return;new IntersectionObserver(((e,s)=>{e.forEach((e=>{e.isIntersecting&&(s.unobserve(e.target),t(e.target))}))}),{threshold:.1}).observe(e),e.scrollIntoView({behavior:"smooth",block:"start"})}createElementOutlineHelper(){const e=s('<div class="sfw-element-helper"><div>');e.css({position:"absolute",opacity:"0",visibility:"hidden",zIndex:-1,boxShadow:"0 0 4px 2px rgb(10, 130, 240, 0.5)",background:"rgba(10, 130, 240, 0.2)",pointerEvents:"none",transition:"box-shadow 0.8s ease-in-out, background 0.8s ease-in-out"}),i.$frame_body.append(e),this.$elementHelper=i.$frame_body.find(".sfw-element-helper")}showElementHelper(e){e.append(this.$elementHelper),this.$elementHelper.css({zIndex:9999,opacity:"1",visibility:"visible",top:0,left:0,width:"100%",height:"100%"}),setTimeout((()=>this.$elementHelper.css({opacity:"0",visibility:"hidden",zIndex:-1})),1800)}}const{vc:r}=window;const a=jQuery;a(document).ready((()=>{!function(){const e=window.InlineShortcodeView.prototype.removeView;window.InlineShortcodeView.prototype.removeView=function(t){e.call(this,t),r.events.trigger("afterRemoveShortcode")}}(),a(window).on("vc_build",(()=>{"1"===window.sidebar_for_wpb_js.pageStructure&&new n,new t}))}))})();
     1(()=>{"use strict";const e=window.jQuery;class t{constructor(){this.panelMinWidth=440,this.navbarWidth=50,this.currentPanelWidth=this.panelMinWidth,this.pluginUrl=window.sidebar_for_wpb_js.pluginUrl,this.disableDescription=window.sidebar_for_wpb_js.disableDescription,this.compactView=window.sidebar_for_wpb_js.compactView,this.compactViewEditForm=window.sidebar_for_wpb_js.compactViewEditForm,this.responsiveView=window.sidebar_for_wpb_js.responsiveView,this.sidebarPostion=window.sidebar_for_wpb_js.sidebarPostion,this.$window=e(window),this.$body=e("body"),this.$screenSizeControls=e("#vc_screen-size-control .vc_screen-width"),this.$addElementPanel=e("#vc_ui-panel-add-element"),this.$editElementPanel=e("#vc_ui-panel-edit-element"),this.$settingsPanel=e("#vc_ui-panel-post-settings"),this.$navbar=e("#vc_navbar"),this.$frameWrapper=e("#vc_inline-frame-wrapper"),this.$iframe=e("#vc_inline-frame"),this.$navbarItems=this.$navbar.find(".vc_navbar-nav li"),this.$panelWindow=e(".vc_ui-panel-window"),this.$navbarBtns=this.$navbar.find(".vc_icon-btn"),this.$frameSizeHelper=null,this.isPanelResizing=!1,this.panelsSettings=[{panelId:"panel-add-element",navbarBtnId:"vc_add-new-element"},{panelId:"panel-templates",navbarBtnId:"vc_templates-editor-button"},{panelId:"panel-post-seo",navbarBtnId:"vc_seo-button"},{panelId:"panel-post-settings",navbarBtnId:"vc_post-settings-button"},{panelId:"panel-page-structure",navbarBtnId:"vc_page-structure"}],this.init()}init(){this.$body.addClass(`sidebar-position-${this.sidebarPostion}`),e.each(this.$navbarItems,this.setNavbarItems.bind(this)),this.$body.append(`<link rel="stylesheet" href="${this.pluginUrl}/assets/dist/css/editor.min.css" type="text/css" />`);const t=new MutationObserver(this.mutationHandler.bind(this)),i={attributes:!0};this.$panelWindow.append(`<div class="vc_resizable-handle vc_resizable-handle--${this.sidebarPostion}"></div>`),this.$panelWindow.each((function(){t.observe(this,i)})),this.setActiveBtn(this.$panelWindow.filter(".vc_active")),this.handleWindowResize(),this.setSettings(),this.$window.on("resize",this.handleWindowResize.bind(this)),this.$panelWindow.on("mousedown",".vc_resizable-handle",this.handlePanelResize.bind(this))}mutationHandler(t){t.forEach((t=>{window.innerWidth>960&&"attributes"===t.type&&"class"===t.attributeName&&(this.setFrameWrapperPosition(),this.setActiveBtn(e(t.target)))}))}handleWindowResize(){this.isPanelResizing||this.setFrameWrapperPosition()}setFrameWrapperPosition(){const e=this.getCurrentView();if(window.innerWidth>960){const t=this.$panelWindow.filter(".vc_active");t.length?(this.$frameWrapper.css(this.sidebarPostion,`${this.currentPanelWidth+this.navbarWidth}px`),this.setIframeWidth(e,`${window.innerWidth}px`,"auto"),t.attr("style",`width: ${this.currentPanelWidth}px !important;`),t.is("#vc_ui-panel-templates")&&t.hasClass("vc_media-xs")&&(t.removeClass("vc_media-xs"),t.addClass("vc_media-sm"))):(this.$frameWrapper.css(this.sidebarPostion,this.navbarWidth),this.setIframeWidth(e,"100%","none"))}else this.$frameWrapper.css(this.sidebarPostion,"0"),this.setIframeWidth(e,"100%","none")}setIframeWidth(e,t,i){"0"===this.responsiveView&&(100===e?(this.$frameWrapper.css("overflow-x",i),this.$iframe.css("width",t)):(this.$frameWrapper.css("overflow-x","auto"),this.$iframe.css("width",`${e}px`)))}getCurrentView(){return parseInt(this.$screenSizeControls.filter(".active").attr("data-size"))}setActiveBtn(e){if(this.$navbarBtns.removeClass("vc_active"),e.hasClass("vc_active")){const t=e.attr("data-vc-ui-element"),i=this.panelsSettings.find((e=>e.panelId===t));if(i){const e=i.navbarBtnId;this.$navbar.find(`.vc_navbar-nav > li > #${e}`).addClass("vc_active")}}}setSettings(){"1"===this.disableDescription&&this.$addElementPanel.find(".wpb-elements-list").addClass("vc_hide-description"),"1"===this.compactView&&this.$addElementPanel.find(".wpb-elements-list").addClass("vc_compact-view"),"1"===this.compactViewEditForm&&(this.$editElementPanel.find(".vc_ui-panel-content").addClass("vc_compact-view"),this.$settingsPanel.find(".vc_ui-panel-content-container").addClass("vc_compact-view"))}setNavbarItems(t,i){const s=e(i),n=s.children();n.hasClass("vc_back-button")?s.css("order","10"):n.hasClass("vc_dropdown-more")?s.css({order:"9"}):n.hasClass("vc_btn-save")?s.css({order:"8"}):"vc_screen-size-control"===n.attr("id")?s.css("order","7"):n.hasClass("vc_post-settings")?s.css("order","6"):n.hasClass("vc_seo-button")&&s.css({order:"5","margin-top":"auto"})}handlePanelResize(t){const i=e(t.target).closest(".vc_ui-panel-window"),s=this.panelMinWidth;let n="";n="left"===this.sidebarPostion?i.position().left:i.position().left+i.width(),this.$iframe.css("pointer-events","none"),this.$body.css({cursor:"ew-resize","user-select":"none"}),this.$body.on("mousemove",(e=>{const t=e.pageX;this.isPanelResizing=!0;const r=this.getCurrentView();if("left"===this.sidebarPostion&&t>n+s){const e=t-n,s=t;this.setFrameSizeOnPanelResize(e,r,i,s)}else if("right"===this.sidebarPostion&&t<n-s){const e=n-t,s=e+this.navbarWidth+"px";this.setFrameSizeOnPanelResize(e,r,i,s)}})),this.$body.on("mouseup",(()=>{this.isPanelResizing=!1,this.$frameSizeHelper.hide(),this.$body.off("mousemove"),this.$body.css({cursor:"auto","user-select":"auto"}),this.$iframe.css("pointer-events","auto")}))}showFrameSizeHelper(t){let i=t.find(".vc_frame-size-helper");0===i.length?(i=e(`<div class="vc_frame-size-helper vc_frame-size-helper--${this.sidebarPostion}"></div>`),i.append('<span class="vc_frame-size-helper-text"></span>'),this.$frameSizeHelper=i,t.append(i)):i.show(),this.$frameSizeHelper=i;const s=this.$frameSizeHelper.find(".vc_frame-size-helper-text"),n=this.$iframe[0].contentWindow.innerWidth,r=this.$iframe[0].contentWindow.innerHeight;s.text(`${n}px × ${r}px`)}setFrameSizeOnPanelResize(e,t,i){this.currentPanelWidth=e,this.$panelWindow.attr("style",`width: ${e}px !important;`),this.$frameWrapper.css(this.sidebarPostion,e+this.navbarWidth+"px"),this.showFrameSizeHelper(i),"0"===this.responsiveView?this.setIframeWidth(t,`${window.innerWidth}px`,"auto"):this.$window.trigger("resize")}}const i=jQuery,{vc:s}=window;class n{constructor(){this.$wpbodyContent=i("#wpbody-content"),this.$navbar=i("#vc_navbar"),this.$navbarItems=this.$navbar.find(".vc_navbar-nav li"),this.structureIconHtml='\n      <svg width="27" height="27" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">\n        <rect x="10" y="40" width="44" height="12" rx="2" stroke="white" stroke-width="2" fill="transparent"/>\n        <rect x="10" y="26" width="44" height="12" rx="2" stroke="white" stroke-width="2" fill="transparent"/>\n        <rect x="10" y="12" width="44" height="12" rx="2" stroke="white" stroke-width="2" fill="transparent"/>\n      </svg>\n    ',this.pageStructureHtml=window.sidebar_for_wpb_js.pageStructureHtml,this.pageStructureTitle=window.sidebar_for_wpb_js.pageStructureTitle,this.pageStructureFind=window.sidebar_for_wpb_js.pageStructureFind,this.$pageStructurePanel=null,this.pageStructurePanel=null,this.$pageStructureContainer=null,this.$elementHelper=null,this.structuredData=[],this.expandedNodes={},this.debouncedRender=_.debounce(this.renderPageStructure.bind(this),500),this.init()}init(){this.addPageStructurePanel(),this.addNavbarIcon(),this.createElementOutlineHelper()}addNavbarIcon(){const e=i("<li></li>");e.html(`\n      <a class="vc_icon-btn" id="vc_page-structure" title="Page Structure">\n        <i class="vc-composer-icon vc-icon-structure">${this.structureIconHtml}</i>\n      </a>\n    `),this.$navbarItems.eq(1).after(e);const t=i("#vc_page-structure");t.length&&t.on("click",this.handlePageStructureClick.bind(this))}addPageStructurePanel(){this.$wpbodyContent.append(this.pageStructureHtml),this.$pageStructurePanel=i("#vc_ui-panel-page-structure"),this.$pageStructureContainer=this.$pageStructurePanel.find("#page-structure-container"),this.$pageStructurePanel.length&&this.$pageStructurePanel.find("h3").text(this.pageStructureTitle),this.createPanelView()}handlePageStructureClick(){this.pageStructurePanel.render()}createPanelView(){s.PageStructurePanel||(s.PageStructurePanelView=s.PanelView.extend({}),s.PageStructurePanel=s.PageStructurePanelView.vcExtendUI(s.HelperPanelViewHeaderFooter).extend({panelName:"page_structure",isRendered:!1,initialize:()=>{this.isRendered||(this.isRendered=!0,this.renderPageStructure(),s.events.on("afterLoadShortcode",this.debouncedRender),s.events.on("afterRemoveShortcode",this.debouncedRender))},render:function(){this.$el.is(":hidden")&&s.closeActivePanel(),s.active_panel=this,this.show()},show:function(){this.$el.hasClass("vc_active")||(this.$el.addClass("vc_active"),this.trigger("show"))}}),this.pageStructurePanel=new s.PageStructurePanel({el:"#vc_ui-panel-page-structure"}))}buildTree(e){const t=new Map,i=[];return e.forEach((e=>t.set(e.id,{...e,children:[]}))),e.forEach((e=>{if(e.attributes.parent_id){const i=t.get(e.attributes.parent_id);i&&i.children.push(t.get(e.id))}else i.push(t.get(e.id))})),i}renderPageStructure(){this.structuredData=this.buildTree(s.shortcodes.models),this.$pageStructureContainer.empty(),this.$pageStructureContainer.append(this.createTreeHTML(this.structuredData)),this.$pageStructureContainer.off("click mouseenter mouseleave",".page-structure-label"),this.$pageStructureContainer.off("click",".vc_control-btn"),this.$pageStructureContainer.on("click",".page-structure-label",(e=>{if(i(e.target).closest(".element-controls").length)return;const t=i(e.currentTarget),s=`node-${t.attr("id")}`;this.expandedNodes[s]=!Object.prototype.hasOwnProperty.call(this.expandedNodes,s)||!this.expandedNodes[s],t.toggleClass("expanded"),t.next().slideToggle(200)})),this.$pageStructurePanel.on("click",".vc_control-btn",(e=>{e.preventDefault(),e.stopPropagation();const t=i(e.currentTarget),s=t.closest(".page-structure-label").attr("id");switch(t.data("control")){case"inspect":this.scrollToElement(s);break;case"edit":this.editElement(s)}}))}createTreeHTML(e){if(!e?.length)return"";const t=i('<ul class="page-structure-list"></ul>');return e.forEach((e=>{const s=e?.id||"",n=`node-${s}`,r=this.expandedNodes[n]||!1;let a=e?.settings?.name;if("Row"===a){const t=e?.attributes?.params?.row_title;a+=t?` (${t})`:""}a=a||"Unnamed Element";const o=i(`\n        <li class="page-structure-item ${this.createNodeClasses(e)||""}">\n          <div class="page-structure-label" title="${a}" id="${s}">\n            <span>\n              ${a}\n            </span>\n            <div class="element-controls">\n              <a class="vc_control-btn vc_control-btn-inspect" data-control="inspect" href="#" title="${this.pageStructureFind} ${a}" target="_blank"><span class="vc_btn-content"><i class="vc-composer-icon vc-c-icon-search"></i></span></a>\n              <a class="vc_control-btn vc_control-btn-edit" data-control="edit" href="#" title="${window.i18nLocale.edit} ${a}" target="_blank"><span class="vc_btn-content"><i class="vc-composer-icon vc-c-icon-mode_edit"></i></span></a>\n            </div>\n          </div>\n        </li>\n      `);if(e?.children?.length){const t=i('<div class="page-structure-children"></div>').append(this.createTreeHTML(e.children));r||t.hide(),o.find(".page-structure-label").addClass("page-structure-label--children"),o.append(t)}t.append(o)})),t}createNodeClasses(e){switch(e?.settings?.name){case"Section":return"page-structure-item--section";case"Row":return"page-structure-item--row";case"Column":return"page-structure-item--column";case"Inner Row":return"page-structure-item--inner-row";case"Inner Column":return"page-structure-item--inner-column";default:return}}editElement(e){if("edit_element"!==s.activePanelName()||!s.active_panel.model||s.active_panel.model.get("id")!==e){const t=s.shortcodes.get(e);s.closeActivePanel(),s.edit_element_block_view.render(t)}}scrollToElement(e){const t=s.$frame_body.find(`[data-model-id="${e}"]`);t.length&&this.scrollToElementAndWait(t[0],(()=>{this.showElementHelper(t)}))}scrollToElementAndWait(e,t){if(!e)return;new IntersectionObserver(((e,i)=>{e.forEach((e=>{e.isIntersecting&&(i.unobserve(e.target),t(e.target))}))}),{threshold:.1}).observe(e),e.scrollIntoView({behavior:"smooth",block:"start"})}createElementOutlineHelper(){const e=i('<div class="sfw-element-helper"><div>');e.css({position:"absolute",opacity:"0",visibility:"hidden",zIndex:-1,boxShadow:"0 0 4px 2px rgb(10, 130, 240, 0.5)",background:"rgba(10, 130, 240, 0.2)",pointerEvents:"none",transition:"box-shadow 0.8s ease-in-out, background 0.8s ease-in-out"}),s.$frame_body.append(e),this.$elementHelper=s.$frame_body.find(".sfw-element-helper")}showElementHelper(e){e.append(this.$elementHelper),this.$elementHelper.css({zIndex:9999,opacity:"1",visibility:"visible",top:0,left:0,width:"100%",height:"100%"}),setTimeout((()=>this.$elementHelper.css({opacity:"0",visibility:"hidden",zIndex:-1})),1800)}}const{vc:r}=window;const a=jQuery;a(document).ready((()=>{!function(){const e=window.InlineShortcodeView.prototype.removeView;window.InlineShortcodeView.prototype.removeView=function(t){e.call(this,t),r.events.trigger("afterRemoveShortcode")}}(),a(window).on("vc_build",(()=>{"1"===window.sidebar_for_wpb_js.pageStructure&&new n,new t}))}))})();
  • sidebar-navigation-for-wpbakery/trunk/readme.txt

    r3263527 r3281726  
    44Tags: wpbakery, wpbakery-extension, wpbakery-addon, sidebar, navigation
    55Requires at least: 6.4
    6 Tested up to: 6.7.2
    7 Stable tag: 2.1
     6Tested up to: 6.8
     7Stable tag: 2.2
    88Requires PHP: 7.0
    99License: GPLv3 or later
     
    2626* Sidebar navigation bar for quick access to panels.
    2727* Panels as a sidebar for easy access to settings.
     28* Resizable sidebar panels width for a personalized experience.
    2829* Settings page for customizing the sidebar's appearance and behavior.
    2930 * Hide the description under elements in the Add Element panel.
     
    3940* PHP 7.0 or later
    4041* WordPress 6.4 or later
     42
     43== Contribute ==
     44
     45This plugin is open-source! You can contribute, report issues, or suggest improvements on GitHub:
     46[GitHub Repository](https://github.com/nikitahl/sidebar-navigation-for-wpbakery)
    4147
    4248== Installation ==
     
    7884Deactivate the plugin via the WordPress **Plugins** page.
    7985
    80 == Contribute ==
     86== Changelog ==
    8187
    82 This plugin is open-source! You can contribute, report issues, or suggest improvements on GitHub:
    83 [GitHub Repository](https://github.com/nikitahl/sidebar-navigation-for-wpbakery)
    84 
    85 == Changelog ==
     88= 2.2 =
     89* Update: Added the ability to resize the sidebar width in the editor.
    8690
    8791= 2.1 =
  • sidebar-navigation-for-wpbakery/trunk/sidebar-navigation-for-wpbakery.php

    r3263404 r3281726  
    33 * Plugin Name: Sidebar for WPBakery Page Builder
    44 * Description: Customizable UI for WPBakery Page Builder with sidebar navigation and panels.
    5  * Version: 2.1
     5 * Version: 2.2
    66 * Author: Nikita Hlopov
    77 * Author URI: https://nikitahl.com
Note: See TracChangeset for help on using the changeset viewer.