PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.01
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.01
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
← All changes | Modules/Gutenberg/build/index.js +1 -1 2.7.0 → 2.10.01 View file →
@@ -1 +1 @@
1 -(()=>{"use strict";const e=window.wp.blocks,t=window.wp.blockEditor,l=window.wp.i18n,n=window.wp.components,o=(window.wp.serverSideRender,window.ReactJSXRuntime);(0,e.registerBlockType)("fluent-community/page-layout",{title:(0,l.__)("FluentCommunity Page Layout"),icon:"layout",category:"layout",apiVersion:3,attributes:{showPageHeader:{type:"boolean",default:!0},useFullWidth:{type:"boolean",default:!1},hideCommunityHeader:{type:"boolean",default:!1},disableDarkMode:{type:"boolean",default:!1},useBuildInTheme:{type:"boolean",default:!0}},edit:function(e){const{attributes:a,setAttributes:s}=e,i=(0,t.useBlockProps)();return(0,o.jsxs)("div",{...i,children:[(0,o.jsx)(t.InspectorControls,{children:(0,o.jsxs)(n.PanelBody,{title:(0,l.__)("Layout Settings"),children:[(0,o.jsx)(n.RadioControl,{label:(0,l.__)("Width Setting"),selected:a.useFullWidth?"full":"default",options:[{label:"Default Width",value:"default"},{label:"Full Width",value:"full"}],onChange:e=>s({useFullWidth:"full"===e})}),(0,o.jsx)(n.ToggleControl,{label:(0,l.__)("Disable Dark Mode"),checked:a.disableDarkMode,onChange:e=>s({disableDarkMode:e})})]})}),(0,o.jsx)("div",{className:"fluent-content-frame",children:(0,o.jsxs)("div",{className:"fluent-content-frame__inner",children:[(0,o.jsx)("div",{className:"fluent-content-frame__header"}),(0,o.jsxs)("div",{className:"fluent-content-frame-body",children:[(0,o.jsx)("div",{className:"fluent-content-frame-sidebar"}),(0,o.jsx)("div",{className:"fluent-content-frame__content",children:(0,o.jsx)(t.InnerBlocks,{templateLock:!1,template:[["core/post-title"],["core/post-content"]]})})]})]})})]})},save:function(){return(0,o.jsx)(t.InnerBlocks.Content,{})}})})();
1 +(()=>{"use strict";const e=window.wp.blocks,t=window.wp.blockEditor,l=window.wp.i18n,n=window.wp.components,o=window.ReactJSXRuntime;(0,e.registerBlockType)("fluent-community/page-layout",{title:(0,l.__)("FluentCommunity Page Layout"),icon:"layout",category:"layout",apiVersion:3,attributes:{showPageHeader:{type:"boolean",default:!0},useFullWidth:{type:"boolean",default:!1},hideCommunityHeader:{type:"boolean",default:!1},disableDarkMode:{type:"boolean",default:!1},useBuildInTheme:{type:"boolean",default:!0}},edit:function(e){const{attributes:a,setAttributes:s}=e,i=(0,t.useBlockProps)();return(0,o.jsxs)("div",{...i,children:[(0,o.jsx)(t.InspectorControls,{children:(0,o.jsxs)(n.PanelBody,{title:(0,l.__)("Layout Settings"),children:[(0,o.jsx)(n.RadioControl,{label:(0,l.__)("Width Setting"),selected:a.useFullWidth?"full":"default",options:[{label:"Default Width",value:"default"},{label:"Full Width",value:"full"}],onChange:e=>s({useFullWidth:"full"===e})}),(0,o.jsx)(n.ToggleControl,{label:(0,l.__)("Disable Dark Mode"),checked:a.disableDarkMode,onChange:e=>s({disableDarkMode:e})})]})}),(0,o.jsx)("div",{className:"fluent-content-frame",children:(0,o.jsxs)("div",{className:"fluent-content-frame__inner",children:[(0,o.jsx)("div",{className:"fluent-content-frame__header"}),(0,o.jsxs)("div",{className:"fluent-content-frame-body",children:[(0,o.jsx)("div",{className:"fluent-content-frame-sidebar"}),(0,o.jsx)("div",{className:"fluent-content-frame__content",children:(0,o.jsx)(t.InnerBlocks,{templateLock:!1,template:[["core/post-title"],["core/post-content"]]})})]})]})})]})},save:function(){return(0,o.jsx)(t.InnerBlocks.Content,{})}})})();